From 90617f2f1764ea72eb85b2f942847bab05558019 Mon Sep 17 00:00:00 2001 From: "Costa Tsaousis (ktsaou)" Date: Tue, 20 May 2014 00:57:07 +0300 Subject: support for non-interpolated dimensions for both incremental and absolute values; fixed json date and number generation for smaller length; nonzero mode now generates at least a dimension without any data to allow proper chart rendering; when exiting the memory structures are not destroied so that other threads will not crash the server --- charts.d/squid.chart.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'charts.d/squid.chart.sh') diff --git a/charts.d/squid.chart.sh b/charts.d/squid.chart.sh index a9f757f91d..71f8bd0425 100755 --- a/charts.d/squid.chart.sh +++ b/charts.d/squid.chart.sh @@ -23,17 +23,17 @@ DIMENSION client_http_kbytes_out out incremental -8 1 DIMENSION client_http_hit_kbytes_out hits incremental -8 1 CHART squid.clients_requests '' "Squid Client Requests" "requests/s" squid '' line 20003 $update_every -DIMENSION client_http_requests requests incremental 1 1 -DIMENSION client_http_hits hits incremental 1 1 -DIMENSION client_http_errors errors incremental -1 1 +DIMENSION client_http_requests requests incremental-no-interpolation 1 1 +DIMENSION client_http_hits hits incremental-no-interpolation 1 1 +DIMENSION client_http_errors errors incremental-no-interpolation -1 1 CHART squid.servers_net '' "Squid Server Bandwidth" "kilobits/s" squid '' area 20002 $update_every DIMENSION server_all_kbytes_in in incremental 8 1 DIMENSION server_all_kbytes_out out incremental -8 1 CHART squid.servers_requests '' "Squid Server Requests" "requests/s" squid '' line 20004 $update_every -DIMENSION server_all_requests requests incremental 1 1 -DIMENSION server_all_errors errors incremental -1 1 +DIMENSION server_all_requests requests incremental-no-interpolation 1 1 +DIMENSION server_all_errors errors incremental-no-interpolation -1 1 EOF return 0 -- cgit v1.2.3