installer: include go.d.plugin version v0.13.0 (#7574)
* web/gui: add squidlog to the dashboard_info.js * web/gui: dashboard_info.js auto format * web/gui: dashboard_info.js minor * packaging: update go.d.plugin version to 0.13.0 * packaging: update go.d.checksums * web/gui: squidlog.type_requests minor in dashboard_info.js * web/gui: squidlog.type_requests minor in dashboard_info.js
Ilya Mashchenko committed
Dec 20, 2019 at 12:57 UTC
91a8e3bb23b879e8312f848ffef560299bcbe43b
3 files changed
+210
-73
packaging/go.d.checksums
+16
-16
@@ -1,16 +1,16 @@
1
-5c7fbeb4321daa1ba480caf3b052b9f11431e75f1128183101f90a51c065fbb2 *config.tar.gz
2
-a7b8eba795e8dbd64c6849596fc1b7a551dcd69b50adc0cc5b9ace98df5077a5 *go.d.plugin-v0.12.0.darwin-386.tar.gz
3
-9f7caa226da6902fba7d48ab468185ac4d83bc2ec1fc69006ef4237c350cfcce *go.d.plugin-v0.12.0.darwin-amd64.tar.gz
4
-50c4f749ba1964bec37174586e441de57e2d3b054f1b87486101233e9460dbae *go.d.plugin-v0.12.0.freebsd-386.tar.gz
5
-f54861033b07c849375161b027c40177ea761c3f7e6ec04e0018e65f47744966 *go.d.plugin-v0.12.0.freebsd-amd64.tar.gz
6
-96d633709fde81b6e1107a40981246e1cd777667eced31937756133dc32771f7 *go.d.plugin-v0.12.0.freebsd-arm.tar.gz
7
-8abf079757c9b8cab5361a5aec67338ee67668e2f08957d0669edbff8ec56b91 *go.d.plugin-v0.12.0.linux-386.tar.gz
8
-8eb6a11009c122d735785ad4a6612ee197c490234146d7b4a64141e6a8e47140 *go.d.plugin-v0.12.0.linux-amd64.tar.gz
9
-8d9b730f98732dbe9dc23edecb4711eace00ac442e3e36d7d901ebfa26f527ad *go.d.plugin-v0.12.0.linux-arm.tar.gz
10
-b351ff5edd8728d8e16de55faf06a15f35bc110bd7cc4a1979a6c35e690eeb1b *go.d.plugin-v0.12.0.linux-arm64.tar.gz
11
-2385827ab86a4adc8d988b2da43d568a8a9a063e40ff7f19c811aa677e94b6ad *go.d.plugin-v0.12.0.linux-mips.tar.gz
12
-88264491f351c2917e8ea629af5dd3610c3de4964ff5eaa7f4e929640b7712fb *go.d.plugin-v0.12.0.linux-mips64.tar.gz
13
-66cc4e86ab0b5ab7b21389a3f48cffd5ada26f373b14bc70ff2eba90ee4e7e4a *go.d.plugin-v0.12.0.linux-mips64le.tar.gz
14
-85736839fe519dd3a8aed01acd28591b31e5fa711cb8f1a050b2e485bb20019a *go.d.plugin-v0.12.0.linux-mipsle.tar.gz
15
-07e5ab676dc51c4c76b34bd08eeec5aa236711f7634d0bbe0abeeb5c8697d12e *go.d.plugin-v0.12.0.linux-ppc64.tar.gz
16
-9f0b1ffc60e3d8e11cf4baa5e5e092e13549a3316d90895ac97599ed3627bdfe *go.d.plugin-v0.12.0.linux-ppc64le.tar.gz
1
+40dc0bfa08cebbd4e1c927bf219c7d7fd912405eb45f56bcabba32323e82510f *config.tar.gz
2
+ac49ce759af01206c48551b78fbeda655bd5099657a70b2c218be9e366aefe24 *go.d.plugin-v0.13.0.darwin-386.tar.gz
3
+31c734a11edd794726f1e3181ecce10a5146e4d21e8e3068c3a7a2936ab4687d *go.d.plugin-v0.13.0.darwin-amd64.tar.gz
4
+d9a6e711d5df52162cad26e0d2dc4818f5a2633166df14b894bc3d5216669d87 *go.d.plugin-v0.13.0.freebsd-386.tar.gz
5
+dc7cbf0f55f5605359d26a1fdbe704d16a8a0171a51ae6760cd6b430feeb369b *go.d.plugin-v0.13.0.freebsd-amd64.tar.gz
6
+ee65ef178a9785dc54697bcb174359d851e94e8c92d1baf9e92b47229acbbe66 *go.d.plugin-v0.13.0.freebsd-arm.tar.gz
7
+eb7b383846f138ac29ef3649b3b0668ff0bba3958c374a4801024e7e3211c025 *go.d.plugin-v0.13.0.linux-386.tar.gz
8
+8cbc21b8482bd21f077f9e32cf13dfdd2b2e3434f516b38cf5e0fba7ead58cd4 *go.d.plugin-v0.13.0.linux-amd64.tar.gz
9
+a3a09fb5cc292ae949bc6cd06601e4a37a48d8c3617f1c7bb70db5e2cb01cf2e *go.d.plugin-v0.13.0.linux-arm.tar.gz
10
+704b73797fd12532e01995def1b88b25a67f7e580cd74519c33e3934aa146814 *go.d.plugin-v0.13.0.linux-arm64.tar.gz
11
+ccad5f25bb637dbb743d7cc74f06e0668669c15becf71d3cf979dd0872dbbefd *go.d.plugin-v0.13.0.linux-mips.tar.gz
12
+2b5e300d23323aff8f4e1dcfcff4cd5a128b4ca42ba83d05e2df76d0e0aa7849 *go.d.plugin-v0.13.0.linux-mips64.tar.gz
13
+6224420b61d66d9de9399ec97622dd03acba51cd4f1c008779dd17aa96848ba8 *go.d.plugin-v0.13.0.linux-mips64le.tar.gz
14
+acf6c134b39afd9008fceef0a7447fe1b59a5146ef62674d168477446efa093a *go.d.plugin-v0.13.0.linux-mipsle.tar.gz
15
+160f0b873546b4c9063bb4d61febafd99532f42e9612845aa21239a0b6d10b59 *go.d.plugin-v0.13.0.linux-ppc64.tar.gz
16
+2754e41d03ca8e37b6272dd6a66f5052d222bd5a0d14d2c70d991f17dd555adc *go.d.plugin-v0.13.0.linux-ppc64le.tar.gz
packaging/go.d.version
+1
-1
@@ -1 +1 @@
1
-v0.12.0
1
+v0.13.0
web/gui/dashboard_info.js
+193
-56
@@ -54,7 +54,7 @@ netdataDashboard.menu = {
54
title: 'Networking Stack',
55
icon: '<i class="fas fa-cloud"></i>',
56
info: function (os) {
57
- if(os === "linux")
57
+ if (os === "linux")
58
return 'Metrics for the networking stack of the system. These metrics are collected from <code>/proc/net/netstat</code>, apply to both IPv4 and IPv6 traffic and are related to operation of the kernel networking stack.';
59
else
60
return 'Metrics for the networking stack of the system.';
@@ -517,7 +517,7 @@ netdataDashboard.menu = {
517
icon: '<i class="fas fa-folder-open"></i>',
518
info: 'Provides <b><a href="https://hadoop.apache.org/docs/r3.2.0/hadoop-project-dist/hadoop-hdfs/HdfsDesign.html">Hadoop Distributed File System</a></b> performance statistics. Module collects metrics over <code>Java Management Extensions</code> through the web interface of an <code>HDFS</code> daemon.'
519
},
520
-
520
+
521
'am2320': {
522
title: 'AM2320 Sensor',
523
icon: '<i class="fas fa-thermometer-half"></i>',
@@ -528,6 +528,12 @@ netdataDashboard.menu = {
528
title: 'ScaleIO',
529
icon: '<i class="fas fa-database"></i>',
530
info: 'Performance and health statistics for various ScaleIO components. Data collected via VxFlex OS Gateway REST API.'
531
+ },
532
+
533
+ 'squidlog': {
534
+ title: 'Squid log',
535
+ icon: '<i class="fas fa-file-alt"></i>',
536
+ info: undefined
537
}
538
539
};
@@ -711,7 +717,7 @@ var cgroupMemLimitIsSet = 0;
717
netdataDashboard.context = {
718
'system.cpu': {
719
info: function (os) {
714
- void(os);
720
+ void (os);
721
return 'Total CPU utilization (all cores). 100% here means there is no CPU idle time at all. You can get per core usage at the <a href="#menu_cpu">CPUs</a> section and per application usage at the <a href="#menu_apps">Applications Monitoring</a> section.'
722
+ netdataDashboard.sparkline('<br/>Keep an eye on <b>iowait</b> ', 'system.cpu', 'iowait', '%', '. If it is constantly high, your disks are a bottleneck and they slow your system down.')
723
+ netdataDashboard.sparkline('<br/>An important metric worth monitoring, is <b>softirq</b> ', 'system.cpu', 'softirq', '%', '. A constantly high percentage of softirq may indicate network driver issues.');
@@ -878,7 +884,7 @@ netdataDashboard.context = {
884
'mem.ksm_ratios': {
885
heads: [
886
function (os, id) {
881
- void(os);
887
+ void (os);
888
return '<div data-netdata="' + id + '"'
889
+ ' data-gauge-max-value="100"'
890
+ ' data-chart-library="gauge"'
@@ -1111,7 +1117,7 @@ netdataDashboard.context = {
1117
'tc.qos': {
1118
heads: [
1119
function (os, id) {
1114
- void(os);
1120
+ void (os);
1121
1122
if (id.match(/.*-ifb$/))
1123
return netdataDashboard.gaugeChart('Inbound', '12%', '', '#5555AA');
@@ -1127,46 +1133,42 @@ netdataDashboard.context = {
1133
'net.net': {
1134
mainheads: [
1135
function (os, id) {
1130
- void(os);
1136
+ void (os);
1137
if (id.match(/^cgroup_.*/)) {
1138
var iface;
1139
try {
1140
iface = ' ' + id.substring(id.lastIndexOf('.net_') + 5, id.length);
1135
- }
1136
- catch (e) {
1141
+ } catch (e) {
1142
iface = '';
1143
}
1144
return netdataDashboard.gaugeChart('Received' + iface, '12%', 'received');
1140
- }
1141
- else
1145
+ } else
1146
return '';
1147
},
1148
function (os, id) {
1145
- void(os);
1149
+ void (os);
1150
if (id.match(/^cgroup_.*/)) {
1151
var iface;
1152
try {
1153
iface = ' ' + id.substring(id.lastIndexOf('.net_') + 5, id.length);
1150
- }
1151
- catch (e) {
1154
+ } catch (e) {
1155
iface = '';
1156
}
1157
return netdataDashboard.gaugeChart('Sent' + iface, '12%', 'sent');
1155
- }
1156
- else
1158
+ } else
1159
return '';
1160
}
1161
],
1162
heads: [
1163
function (os, id) {
1162
- void(os);
1164
+ void (os);
1165
if (!id.match(/^cgroup_.*/))
1166
return netdataDashboard.gaugeChart('Received', '12%', 'received');
1167
else
1168
return '';
1169
},
1170
function (os, id) {
1169
- void(os);
1171
+ void (os);
1172
if (!id.match(/^cgroup_.*/))
1173
return netdataDashboard.gaugeChart('Sent', '12%', 'sent');
1174
else
@@ -1418,7 +1420,7 @@ netdataDashboard.context = {
1420
'apache.workers': {
1421
mainheads: [
1422
function (os, id) {
1421
- void(os);
1423
+ void (os);
1424
return '<div data-netdata="' + id + '"'
1425
+ ' data-dimensions="busy"'
1426
+ ' data-append-options="percentage"'
@@ -1479,7 +1481,7 @@ netdataDashboard.context = {
1481
'lighttpd.workers': {
1482
mainheads: [
1483
function (os, id) {
1482
- void(os);
1484
+ void (os);
1485
return '<div data-netdata="' + id + '"'
1486
+ ' data-dimensions="busy"'
1487
+ ' data-append-options="percentage"'
@@ -1570,7 +1572,7 @@ netdataDashboard.context = {
1572
info: 'Number of (connected) RetroShare friends.',
1573
mainheads: [
1574
function (os, id) {
1573
- void(os);
1575
+ void (os);
1576
return '<div data-netdata="' + id + '"'
1577
+ ' data-dimensions="peers_connected"'
1578
+ ' data-append-options="friends"'
@@ -1610,7 +1612,7 @@ netdataDashboard.context = {
1612
valueRange: "[0, null]",
1613
mainheads: [
1614
function (os, id) {
1613
- void(os);
1615
+ void (os);
1616
cgroupCPULimitIsSet = 1;
1617
return '<div data-netdata="' + id + '"'
1618
+ ' data-dimensions="used"'
@@ -1632,7 +1634,7 @@ netdataDashboard.context = {
1634
'cgroup.cpu': {
1635
mainheads: [
1636
function (os, id) {
1635
- void(os);
1637
+ void (os);
1638
if (cgroupCPULimitIsSet === 0) {
1639
return '<div data-netdata="' + id + '"'
1640
+ ' data-chart-library="gauge"'
@@ -1645,8 +1647,7 @@ netdataDashboard.context = {
1647
+ ' data-points="CHART_DURATION"'
1648
+ ' data-colors="' + NETDATA.colors[4] + '"'
1649
+ ' role="application"></div>';
1648
- }
1649
- else
1650
+ } else
1651
return '';
1652
}
1653
]
@@ -1655,7 +1656,7 @@ netdataDashboard.context = {
1656
'cgroup.mem_usage_limit': {
1657
mainheads: [
1658
function (os, id) {
1658
- void(os);
1659
+ void (os);
1660
cgroupMemLimitIsSet = 1;
1661
return '<div data-netdata="' + id + '"'
1662
+ ' data-dimensions="used"'
@@ -1678,7 +1679,7 @@ netdataDashboard.context = {
1679
'cgroup.mem_usage': {
1680
mainheads: [
1681
function (os, id) {
1681
- void(os);
1682
+ void (os);
1683
if (cgroupMemLimitIsSet === 0) {
1684
return '<div data-netdata="' + id + '"'
1685
+ ' data-chart-library="gauge"'
@@ -1691,8 +1692,7 @@ netdataDashboard.context = {
1692
+ ' data-points="CHART_DURATION"'
1693
+ ' data-colors="' + NETDATA.colors[1] + '"'
1694
+ ' role="application"></div>';
1694
- }
1695
- else
1695
+ } else
1696
return '';
1697
}
1698
]
@@ -1701,7 +1701,7 @@ netdataDashboard.context = {
1701
'cgroup.throttle_io': {
1702
mainheads: [
1703
function (os, id) {
1704
- void(os);
1704
+ void (os);
1705
return '<div data-netdata="' + id + '"'
1706
+ ' data-dimensions="read"'
1707
+ ' data-chart-library="gauge"'
@@ -1716,7 +1716,7 @@ netdataDashboard.context = {
1716
+ ' role="application"></div>';
1717
},
1718
function (os, id) {
1719
- void(os);
1719
+ void (os);
1720
return '<div data-netdata="' + id + '"'
1721
+ ' data-dimensions="write"'
1722
+ ' data-chart-library="gauge"'
@@ -1856,7 +1856,7 @@ netdataDashboard.context = {
1856
info: 'Web server responses by type. <code>success</code> includes <b>1xx</b>, <b>2xx</b>, <b>304</b> and <b>401</b>, <code>error</code> includes <b>5xx</b>, <code>redirect</code> includes <b>3xx</b> except <b>304</b>, <code>bad</code> includes <b>4xx</b> except <b>401</b>, <code>other</code> are all the other responses.',
1857
mainheads: [
1858
function (os, id) {
1859
- void(os);
1859
+ void (os);
1860
return '<div data-netdata="' + id + '"'
1861
+ ' data-dimensions="success"'
1862
+ ' data-chart-library="gauge"'
@@ -1874,7 +1874,7 @@ netdataDashboard.context = {
1874
},
1875
1876
function (os, id) {
1877
- void(os);
1877
+ void (os);
1878
return '<div data-netdata="' + id + '"'
1879
+ ' data-dimensions="redirect"'
1880
+ ' data-chart-library="gauge"'
@@ -1892,7 +1892,7 @@ netdataDashboard.context = {
1892
},
1893
1894
function (os, id) {
1895
- void(os);
1895
+ void (os);
1896
return '<div data-netdata="' + id + '"'
1897
+ ' data-dimensions="bad"'
1898
+ ' data-chart-library="gauge"'
@@ -1910,7 +1910,7 @@ netdataDashboard.context = {
1910
},
1911
1912
function (os, id) {
1913
- void(os);
1913
+ void (os);
1914
return '<div data-netdata="' + id + '"'
1915
+ ' data-dimensions="error"'
1916
+ ' data-chart-library="gauge"'
@@ -1943,7 +1943,7 @@ netdataDashboard.context = {
1943
'web_log.response_time': {
1944
mainheads: [
1945
function (os, id) {
1946
- void(os);
1946
+ void (os);
1947
return '<div data-netdata="' + id + '"'
1948
+ ' data-dimensions="avg"'
1949
+ ' data-chart-library="gauge"'
@@ -1989,7 +1989,7 @@ netdataDashboard.context = {
1989
'<code>other</code> are all the other responses.',
1990
mainheads: [
1991
function (os, id) {
1992
- void(os);
1992
+ void (os);
1993
return '<div data-netdata="' + id + '"'
1994
+ ' data-dimensions="success"'
1995
+ ' data-chart-library="gauge"'
@@ -2007,7 +2007,7 @@ netdataDashboard.context = {
2007
},
2008
2009
function (os, id) {
2010
- void(os);
2010
+ void (os);
2011
return '<div data-netdata="' + id + '"'
2012
+ ' data-dimensions="redirect"'
2013
+ ' data-chart-library="gauge"'
@@ -2025,7 +2025,7 @@ netdataDashboard.context = {
2025
},
2026
2027
function (os, id) {
2028
- void(os);
2028
+ void (os);
2029
return '<div data-netdata="' + id + '"'
2030
+ ' data-dimensions="bad"'
2031
+ ' data-chart-library="gauge"'
@@ -2043,7 +2043,7 @@ netdataDashboard.context = {
2043
},
2044
2045
function (os, id) {
2046
- void(os);
2046
+ void (os);
2047
return '<div data-netdata="' + id + '"'
2048
+ ' data-dimensions="error"'
2049
+ ' data-chart-library="gauge"'
@@ -2078,7 +2078,7 @@ netdataDashboard.context = {
2078
'web_log.squid_duration': {
2079
mainheads: [
2080
function (os, id) {
2081
- void(os);
2081
+ void (os);
2082
return '<div data-netdata="' + id + '"'
2083
+ ' data-dimensions="avg"'
2084
+ ' data-chart-library="gauge"'
@@ -2475,33 +2475,33 @@ netdataDashboard.context = {
2475
2476
'proxysql.pool_status': {
2477
info: 'The status of the backend servers. ' +
2478
- '<code>1=ONLINE</code> backend server is fully operational, ' +
2479
- '<code>2=SHUNNED</code> backend sever is temporarily taken out of use because of either too many connection errors in a time that was too short, or replication lag exceeded the allowed threshold, ' +
2480
- '<code>3=OFFLINE_SOFT</code> when a server is put into OFFLINE_SOFT mode, new incoming connections aren\'t accepted anymore, while the existing connections are kept until they became inactive. In other words, connections are kept in use until the current transaction is completed. This allows to gracefully detach a backend, ' +
2481
- '<code>4=OFFLINE_HARD</code> when a server is put into OFFLINE_HARD mode, the existing connections are dropped, while new incoming connections aren\'t accepted either. This is equivalent to deleting the server from a hostgroup, or temporarily taking it out of the hostgroup for maintenance work, ' +
2482
- '<code>-1</code> Unknown status.'
2478
+ '<code>1=ONLINE</code> backend server is fully operational, ' +
2479
+ '<code>2=SHUNNED</code> backend sever is temporarily taken out of use because of either too many connection errors in a time that was too short, or replication lag exceeded the allowed threshold, ' +
2480
+ '<code>3=OFFLINE_SOFT</code> when a server is put into OFFLINE_SOFT mode, new incoming connections aren\'t accepted anymore, while the existing connections are kept until they became inactive. In other words, connections are kept in use until the current transaction is completed. This allows to gracefully detach a backend, ' +
2481
+ '<code>4=OFFLINE_HARD</code> when a server is put into OFFLINE_HARD mode, the existing connections are dropped, while new incoming connections aren\'t accepted either. This is equivalent to deleting the server from a hostgroup, or temporarily taking it out of the hostgroup for maintenance work, ' +
2482
+ '<code>-1</code> Unknown status.'
2483
},
2484
2485
'proxysql.pool_net': {
2486
info: 'The amount of data sent to/received from the backend ' +
2487
- '(This does not include metadata (packets\' headers, OK/ERR packets, fields\' description, etc).'
2487
+ '(This does not include metadata (packets\' headers, OK/ERR packets, fields\' description, etc).'
2488
},
2489
2490
'proxysql.pool_overall_net': {
2491
info: 'The amount of data sent to/received from the all backends ' +
2492
- '(This does not include metadata (packets\' headers, OK/ERR packets, fields\' description, etc).'
2492
+ '(This does not include metadata (packets\' headers, OK/ERR packets, fields\' description, etc).'
2493
},
2494
2495
'proxysql.questions': {
2496
info: '<code>questions</code> total number of queries sent from frontends, ' +
2497
- '<code>slow_queries</code> number of queries that ran for longer than the threshold in milliseconds defined in global variable <code>mysql-long_query_time</code>. '
2497
+ '<code>slow_queries</code> number of queries that ran for longer than the threshold in milliseconds defined in global variable <code>mysql-long_query_time</code>. '
2498
},
2499
2500
'proxysql.connections': {
2501
info: '<code>aborted</code> number of frontend connections aborted due to invalid credential or max_connections reached, ' +
2502
- '<code>connected</code> number of frontend connections currently connected, ' +
2503
- '<code>created</code> number of frontend connections created, ' +
2504
- '<code>non_idle</code> number of frontend connections that are not currently idle. '
2502
+ '<code>connected</code> number of frontend connections currently connected, ' +
2503
+ '<code>created</code> number of frontend connections created, ' +
2504
+ '<code>non_idle</code> number of frontend connections that are not currently idle. '
2505
},
2506
2507
'proxysql.pool_latency': {
@@ -2565,7 +2565,7 @@ netdataDashboard.context = {
2565
2566
'vsphere.host_mem_usage': {
2567
info:
2568
- '<code>granted</code> is amount of machine memory that is mapped for a host, '+
2568
+ '<code>granted</code> is amount of machine memory that is mapped for a host, ' +
2569
'it equals sum of all granted metrics for all powered-on virtual machines, plus machine memory for vSphere services on the host. ' +
2570
'<code>consumed</code> is amount of machine memory used on the host, it includes memory used by the Service Console, the VMkernel, vSphere services, plus the total consumed metrics for all running virtual machines. ' +
2571
'<code>consumed</code> = <code>total host memory</code> - <code>free host memory</code>.' +
@@ -2660,7 +2660,7 @@ netdataDashboard.context = {
2660
'<code>2</code>: one or more components in the appliance might be degraded; ' +
2661
'<code>3</code>: one or more components might be in an unusable status and the appliance might become unresponsive soon; ' +
2662
'<code>4</code>: no health data is available.'
2663
- },
2663
+ },
2664
2665
'vcsa.components_health': {
2666
info:
@@ -2670,7 +2670,7 @@ netdataDashboard.context = {
2670
'<code>2</code>: degraded, and may have serious problems; ' +
2671
'<code>3</code>: unavailable, or will stop functioning soon; ' +
2672
'<code>4</code>: no health data is available.'
2673
- },
2673
+ },
2674
2675
'vcsa.software_updates_health': {
2676
info:
@@ -2680,7 +2680,7 @@ netdataDashboard.context = {
2680
'<code>2</code>: non-security updates are available; ' +
2681
'<code>3</code>: security updates are available; ' +
2682
'<code>4</code>: an error retrieving information on software updates.'
2683
- },
2683
+ },
2684
2685
// ------------------------------------------------------------------------
2686
// Zookeeper
@@ -2692,5 +2692,142 @@ netdataDashboard.context = {
2692
'<code>2</code>: follower, ' +
2693
'<code>3</code>: observer, ' +
2694
'<code>4</code>: standalone.'
2695
- }
2695
+ },
2696
+
2697
+ // ------------------------------------------------------------------------
2698
+ // Squidlog
2699
+
2700
+ 'squidlog.requests': {
2701
+ info: 'Total number of requests (log lines read). It includes <code>unmatched</code>.'
2702
+ },
2703
+
2704
+ 'squidlog.excluded_requests': {
2705
+ info: '<code>unmatched</code> counts the lines in the log file that are not matched by the plugin parser (<a href="https://github.com/netdata/netdata/issues/new?title=squidlog%20reports%20unmatched%20lines&body=squidlog%20plugin%20reports%20unmatched%20lines.%0A%0AThis%20is%20my%20log:%0A%0A%60%60%60txt%0A%0Aplease%20paste%20your%20squid%20server%20log%20here%0A%0A%60%60%60" target="_blank">let us know</a> if you have any unmatched).'
2706
+ },
2707
+
2708
+ 'squidlog.type_requests': {
2709
+ info: 'Requests by response type:<br>' +
2710
+ '<ul>' +
2711
+ ' <li><code>success</code> includes 1xx, 2xx, 0, 304, 401.</li>' +
2712
+ ' <li><code>error</code> includes 5xx and 6xx.</li>' +
2713
+ ' <li><code>redirect</code> includes 3xx except 304.</li>' +
2714
+ ' <li><code>bad</code> includes 4xx except 401.</li>' +
2715
+ ' </ul>'
2716
+ },
2717
+
2718
+ 'squidlog.http_status_code_class_responses': {
2719
+ info: 'The HTTP response status code classes. According to <a href="https://tools.ietf.org/html/rfc7231" target="_blank">rfc7231</a>:<br>' +
2720
+ ' <li><code>1xx</code> is informational responses.</li>' +
2721
+ ' <li><code>2xx</code> is successful responses.</li>' +
2722
+ ' <li><code>3xx</code> is redirects.</li>' +
2723
+ ' <li><code>4xx</code> is bad requests.</li>' +
2724
+ ' <li><code>5xx</code> is internal server errors.</li>' +
2725
+ ' </ul>' +
2726
+ 'Squid also uses <code>0</code> for a result code being unavailable, and <code>6xx</code> to signal an invalid header, a proxy error.'
2727
+ },
2728
+
2729
+ 'squidlog.http_status_code_responses': {
2730
+ info: 'Number of responses for each http response status code individually.'
2731
+ },
2732
+
2733
+ 'squidlog.uniq_clients': {
2734
+ info: 'Unique clients (requesting instances), within each data collection iteration. If data collection is <b>per second</b>, this chart shows <b>unique clients per second</b>.'
2735
+ },
2736
+
2737
+ 'squidlog.bandwidth': {
2738
+ info: 'The size is the amount of data delivered to the clients. Mind that this does not constitute the net object size, as headers are also counted. ' +
2739
+ 'Also, failed requests may deliver an error page, the size of which is also logged here.'
2740
+ },
2741
+
2742
+ 'squidlog.response_time': {
2743
+ info: 'The elapsed time considers how many milliseconds the transaction busied the cache. It differs in interpretation between TCP and UDP:' +
2744
+ '<ul>' +
2745
+ ' <li><code>TCP</code> this is basically the time from having received the request to when Squid finishes sending the last byte of the response.</li>' +
2746
+ ' <li><code>UDP</code> this is the time between scheduling a reply and actually sending it.</li>' +
2747
+ ' </ul>' +
2748
+ 'Please note that <b>the entries are logged after the reply finished being sent</b>, not during the lifetime of the transaction.'
2749
+ },
2750
+
2751
+ 'squidlog.cache_result_code_requests': {
2752
+ info: 'The Squid result code is composed of several tags (separated by underscore characters) which describe the response sent to the client. ' +
2753
+ 'Check the <a href="https://wiki.squid-cache.org/SquidFaq/SquidLogs#Squid_result_codes">squid documentation</a> about them.'
2754
+ },
2755
+
2756
+ 'squidlog.cache_result_code_transport_tag_requests': {
2757
+ info: 'These tags are always present and describe delivery method.<br>' +
2758
+ '<ul>' +
2759
+ ' <li><code>TCP</code> requests on the HTTP port (usually 3128).</li>' +
2760
+ ' <li><code>UDP</code> requests on the ICP port (usually 3130) or HTCP port (usually 4128).</li>' +
2761
+ ' <li><code>NONE</code> Squid delivered an unusual response or no response at all. Seen with cachemgr requests and errors, usually when the transaction fails before being classified into one of the above outcomes. Also seen with responses to CONNECT requests.</li>' +
2762
+ ' </ul>'
2763
+ },
2764
+
2765
+ 'squidlog.cache_result_code_handling_tag_requests': {
2766
+ info: 'These tags are optional and describe why the particular handling was performed or where the request came from.<br>' +
2767
+ '<ul>' +
2768
+ ' <li><code>CF</code> at least one request in this transaction was collapsed. See <a href="http://www.squid-cache.org/Doc/config/collapsed_forwarding/" target="_blank">collapsed_forwarding</a> for more details about request collapsing.</li>' +
2769
+ ' <li><code>CLIENT</code> usually seen with client issued a "no-cache", or analogous cache control command along with the request. Thus, the cache has to validate the object.</li>' +
2770
+ ' <li><code>IMS</code> the client sent a revalidation (conditional) request.</li>' +
2771
+ ' <li><code>ASYNC</code> the request was generated internally by Squid. Usually this is background fetches for cache information exchanges, background revalidation from <i>stale-while-revalidate</i> cache controls, or ESI sub-objects being loaded.</li>' +
2772
+ ' <li><code>SWAPFAIL</code> the object was believed to be in the cache, but could not be accessed. A new copy was requested from the server.</li>' +
2773
+ ' <li><code>REFRESH</code> a revalidation (conditional) request was sent to the server.</li>' +
2774
+ ' <li><code>SHARED</code> this request was combined with an existing transaction by collapsed forwarding.</li>' +
2775
+ ' <li><code>REPLY</code> the HTTP reply from server or peer. Usually seen on <code>DENIED</code> due to <a href="http://www.squid-cache.org/Doc/config/http_reply_access/" target="_blank">http_reply_access</a> ACLs preventing delivery of servers response object to the client.</li>' +
2776
+ ' </ul>'
2777
+ },
2778
+
2779
+ 'squidlog.cache_code_object_tag_requests': {
2780
+ info: 'These tags are optional and describe what type of object was produced.<br>' +
2781
+ '<ul>' +
2782
+ ' <li><code>NEGATIVE</code> only seen on HIT responses, indicating the response was a cached error response. e.g. <b>404 not found</b>.</li>' +
2783
+ ' <li><code>STALE</code> the object was cached and served stale. This is usually caused by <i>stale-while-revalidate</i> or <i>stale-if-error</i> cache controls.</li>' +
2784
+ ' <li><code>OFFLINE</code> the requested object was retrieved from the cache during <a href="http://www.squid-cache.org/Doc/config/offline_mode/" target="_blank">offline_mode</a>. The offline mode never validates any object.</li>' +
2785
+ ' <li><code>INVALID</code> an invalid request was received. An error response was delivered indicating what the problem was.</li>' +
2786
+ ' <li><code>FAILED</code> only seen on <code>REFRESH</code> to indicate the revalidation request failed. The response object may be the server provided network error or the stale object which was being revalidated depending on stale-if-error cache control.</li>' +
2787
+ ' <li><code>MODIFIED</code> only seen on <code>REFRESH</code> responses to indicate revalidation produced a new modified object.</li>' +
2788
+ ' <li><code>UNMODIFIED</code> only seen on <code>REFRESH</code> responses to indicate revalidation produced a 304 (Not Modified) status. The client gets either a full 200 (OK), a 304 (Not Modified), or (in theory) another response, depending on the client request and other details.</li>' +
2789
+ ' <li><code>REDIRECT</code> Squid generated an HTTP redirect response to this request.</li>' +
2790
+ ' </ul>'
2791
+ },
2792
+
2793
+ 'squidlog.cache_code_load_source_tag_requests': {
2794
+ info: 'These tags are optional and describe whether the response was loaded from cache, network, or otherwise.<br>' +
2795
+ '<ul>' +
2796
+ ' <li><code>HIT</code> the response object delivered was the local cache object.</li>' +
2797
+ ' <li><code>MEM</code> the response object came from memory cache, avoiding disk accesses. Only seen on HIT responses.</li>' +
2798
+ ' <li><code>MISS</code> the response object delivered was the network response object.</li>' +
2799
+ ' <li><code>DENIED</code> the request was denied by access controls.</li>' +
2800
+ ' <li><code>NOFETCH</code> an ICP specific type, indicating service is alive, but not to be used for this request.</li>' +
2801
+ ' <li><code>TUNNEL</code> a binary tunnel was established for this transaction.</li>' +
2802
+ ' </ul>'
2803
+ },
2804
+
2805
+ 'squidlog.cache_code_error_tag_requests': {
2806
+ info: 'These tags are optional and describe some error conditions which occured during response delivery.<br>' +
2807
+ '<ul>' +
2808
+ ' <li><code>ABORTED</code> the response was not completed due to the connection being aborted (usually by the client).</li>' +
2809
+ ' <li><code>TIMEOUT</code> the response was not completed due to a connection timeout.</li>' +
2810
+ ' <li><code>IGNORED</code> while refreshing a previously cached response A, Squid got a response B that was older than A (as determined by the Date header field). Squid ignored response B (and attempted to use A instead).</li>' +
2811
+ ' </ul>'
2812
+ },
2813
+
2814
+ 'squidlog.http_method_requests': {
2815
+ info: 'The request method to obtain an object. Please refer to section <a href="https://wiki.squid-cache.org/SquidFaq/SquidLogs#Request_methods">request-methods</a> for available methods and their description.'
2816
+ },
2817
+
2818
+ 'squidlog.hier_code_requests': {
2819
+ info: 'A code that explains how the request was handled, e.g. by forwarding it to a peer, or going straight to the source. ' +
2820
+ 'Any hierarchy tag may be prefixed with <code>TIMEOUT_</code>, if the timeout occurs waiting for all ICP replies to return from the neighbours. The timeout is either dynamic, if the <a href="http://www.squid-cache.org/Doc/config/icp_query_timeout/" target="_blank">icp_query_timeout</a> was not set, or the time configured there has run up. ' +
2821
+ 'Refer to <a href="https://wiki.squid-cache.org/SquidFaq/SquidLogs#Hierarchy_Codes" target="_blank">Hierarchy Codes</a> for details on hierarchy codes.'
2822
+ },
2823
+
2824
+ 'squidlog.server_address_forwarded_requests': {
2825
+ info: 'The IP address or hostname where the request (if a miss) was forwarded. For requests sent to origin servers, this is the origin server\'s IP address. ' +
2826
+ 'For requests sent to a neighbor cache, this is the neighbor\'s hostname. NOTE: older versions of Squid would put the origin server hostname here.'
2827
+ },
2828
+
2829
+ 'squidlog.mime_type_requests': {
2830
+ info: 'The content type of the object as seen in the HTTP reply header. Please note that ICP exchanges usually don\'t have any content type.'
2831
+ }
2832
+
2833
};