@cryptotaxi247 / netdata-1 / commits / 2daded286

updated dashboard for new web_log chart; #1783

Costa Tsaousis committed Feb 13, 2017 at 17:18 UTC 2daded2861fe4d3bd6ef85d131fbdf85f23132f4
2 files changed +11 -8
web/dashboard_info.js
+10 -7
@@ -847,14 +847,13 @@ netdataDashboard.context = {
847 height: 0.5
848 },
849
850 - 'web_log.response_codes': {
851 - info: 'Break down of web server responses by response code type. <code>1xx</code> are informational responses, <code>2xx</code> are successful responses, <code>3xx</code> are redirects, <code>4xx</code> are bad requests, <code>5xx</code> are internal server errors, <code>other</code> are non-standard responses, <code>unmatched</code> counts the lines in the log file that are not matched by the plugin (please <a href="https://github.com/firehol/netdata/issues/new?title=web_log%20reports%20unmatched%20lines&body=web_log%20plugin%20reports%20unmatched%20lines.%0A%0AThis%20is%20my%20log:%0A%0A%60%60%60txt%0A%0Aplease%20paste%20your%20web%20server%20log%20here%0A%0A%60%60%60" target="_blank">open a github issue</a> to help us fix it, if you have any unmatched lines).',
852 -
850 + 'web_log.response_statuses': {
851 + info: 'Break down of web server responses by response type. <code>success</code> included all <code>1xx</code>, <code>2xx</code> and <code>304</code> (not modified) responses, <code>error</code> are all <code>5xx</code>responses, <code>redirect</code> are all <code>3xx</code> responses, except <code>304</code>, <code>bad</code> are all <code>4xx</code> responses, <code>other</code> are all the other responses.',
852 mainheads: [
853 function(os, id) {
854 void(os);
855 return '<div data-netdata="' + id + '"'
857 - + ' data-dimensions="2xx"'
856 + + ' data-dimensions="success"'
857 + ' data-chart-library="gauge"'
858 + ' data-title="Successful"'
859 + ' data-units="requests/s"'
@@ -872,7 +871,7 @@ netdataDashboard.context = {
871 function(os, id) {
872 void(os);
873 return '<div data-netdata="' + id + '"'
875 - + ' data-dimensions="3xx"'
874 + + ' data-dimensions="redirect"'
875 + ' data-chart-library="gauge"'
876 + ' data-title="Redirects"'
877 + ' data-units="requests/s"'
@@ -890,7 +889,7 @@ netdataDashboard.context = {
889 function(os, id) {
890 void(os);
891 return '<div data-netdata="' + id + '"'
893 - + ' data-dimensions="4xx"'
892 + + ' data-dimensions="bad"'
893 + ' data-chart-library="gauge"'
894 + ' data-title="Bad Requests"'
895 + ' data-units="requests/s"'
@@ -908,7 +907,7 @@ netdataDashboard.context = {
907 function(os, id) {
908 void(os);
909 return '<div data-netdata="' + id + '"'
911 - + ' data-dimensions="5xx"'
910 + + ' data-dimensions="error"'
911 + ' data-chart-library="gauge"'
912 + ' data-title="Server Errors"'
913 + ' data-units="requests/s"'
@@ -925,6 +924,10 @@ netdataDashboard.context = {
924 ]
925 },
926
927 + 'web_log.response_codes': {
928 + info: 'Break down of web server responses by response code family. <code>1xx</code> are informational responses, <code>2xx</code> are successful responses, <code>3xx</code> are redirects (although they include <code>304</code> which means "not modified", <code>4xx</code> are bad requests, <code>5xx</code> are internal server errors, <code>other</code> are non-standard responses, <code>unmatched</code> counts the lines in the log file that are not matched by the plugin (please <a href="https://github.com/firehol/netdata/issues/new?title=web_log%20reports%20unmatched%20lines&body=web_log%20plugin%20reports%20unmatched%20lines.%0A%0AThis%20is%20my%20log:%0A%0A%60%60%60txt%0A%0Aplease%20paste%20your%20web%20server%20log%20here%0A%0A%60%60%60" target="_blank">open a github issue</a> to help us fix it, if you have any unmatched lines).'
929 + },
930 +
931 'web_log.response_time': {
932 mainheads: [
933 function(os, id) {
web/index.html
+1 -1
@@ -2828,7 +2828,7 @@
2828 });
2829
2830 NETDATA.requiredJs.push({
2831 - url: NETDATA.serverDefault + 'dashboard_info.js?v20170211-20',
2831 + url: NETDATA.serverDefault + 'dashboard_info.js?v20170213-1',
2832 async: false,
2833 isAlreadyLoaded: function() { return false; }
2834 });