add timing gauge at web_log overview
Costa Tsaousis (ktsaou) committed
Feb 11, 2017 at 16:11 UTC
6f44ad6ea02e5e5bd316af09756cda740c3c6f56
2 files changed
+21
-1
web/dashboard_info.js
+20
@@ -921,6 +921,26 @@ netdataDashboard.context = {
921
]
922
},
923
924
+ 'web_log.response_time': {
925
+ mainheads: [
926
+ function(os, id) {
927
+ void(os);
928
+ return '<div data-netdata="' + id + '"'
929
+ + ' data-dimensions="avg"'
930
+ + ' data-chart-library="gauge"'
931
+ + ' data-title="Average Response"'
932
+ + ' data-units="milliseconds"'
933
+ + ' data-gauge-adjust="width"'
934
+ + ' data-width="12%"'
935
+ + ' data-before="0"'
936
+ + ' data-after="-CHART_DURATION"'
937
+ + ' data-points="CHART_DURATION"'
938
+ + ' data-colors="' + NETDATA.colors[4] + '"'
939
+ + ' role="application"></div>';
940
+ }
941
+ ]
942
+ },
943
+
944
'web_log.detailed_response_codes': {
945
info: 'Number of responses for each response code.'
946
},
web/index.html
+1
-1
@@ -2800,7 +2800,7 @@
2800
});
2801
2802
NETDATA.requiredJs.push({
2803
- url: NETDATA.serverDefault + 'dashboard_info.js?v20170211-18',
2803
+ url: NETDATA.serverDefault + 'dashboard_info.js?v20170211-19',
2804
async: false,
2805
isAlreadyLoaded: function() { return false; }
2806
});