dashboard_info.js update: lighttpd added
Ilya committed
Jun 13, 2017 at 09:52 UTC
ce9366bcd8dc048dc41b4104f9aa90abf58f75cb
1 file changed
+66
web/dashboard_info.js
+66
@@ -237,6 +237,12 @@ netdataDashboard.menu = {
237
info: undefined
238
},
239
240
+ 'lighttpd': {
241
+ title: 'Lighttpd',
242
+ icon: '<i class="fa fa-eye" aria-hidden="true"></i>',
243
+ info: undefined
244
+ },
245
+
246
'web_log': {
247
title: undefined,
248
icon: '<i class="fa fa-file-text-o" aria-hidden="true"></i>',
@@ -866,6 +872,66 @@ netdataDashboard.context = {
872
},
873
874
875
+ // ------------------------------------------------------------------------
876
+ // LIGHTTPD
877
+
878
+ 'lighttpd.connections': {
879
+ colors: NETDATA.colors[4],
880
+ mainheads: [
881
+ netdataDashboard.gaugeChart('Connections', '12%', '', NETDATA.colors[4])
882
+ ]
883
+ },
884
+
885
+ 'lighttpd.requests': {
886
+ colors: NETDATA.colors[0],
887
+ mainheads: [
888
+ netdataDashboard.gaugeChart('Requests', '12%', '', NETDATA.colors[0])
889
+ ]
890
+ },
891
+
892
+ 'lighttpd.net': {
893
+ colors: NETDATA.colors[3],
894
+ mainheads: [
895
+ netdataDashboard.gaugeChart('Bandwidth', '12%', '', NETDATA.colors[3])
896
+ ]
897
+ },
898
+
899
+ 'lighttpd.workers': {
900
+ mainheads: [
901
+ function(os, id) {
902
+ void(os);
903
+ return '<div data-netdata="' + id + '"'
904
+ + ' data-dimensions="busy"'
905
+ + ' data-append-options="percentage"'
906
+ + ' data-gauge-max-value="100"'
907
+ + ' data-chart-library="gauge"'
908
+ + ' data-title="Servers Utilization"'
909
+ + ' data-units="percentage %"'
910
+ + ' data-gauge-adjust="width"'
911
+ + ' data-width="12%"'
912
+ + ' data-before="0"'
913
+ + ' data-after="-CHART_DURATION"'
914
+ + ' data-points="CHART_DURATION"'
915
+ + ' role="application"></div>';
916
+ }
917
+ ]
918
+ },
919
+
920
+ 'lighttpd.bytesperreq': {
921
+ colors: NETDATA.colors[3],
922
+ height: 0.5
923
+ },
924
+
925
+ 'lighttpd.reqpersec': {
926
+ colors: NETDATA.colors[4],
927
+ height: 0.5
928
+ },
929
+
930
+ 'lighttpd.bytespersec': {
931
+ colors: NETDATA.colors[6],
932
+ height: 0.5
933
+ },
934
+
935
// ------------------------------------------------------------------------
936
// NGINX
937