per minute reporting
Costa Tsaousis (ktsaou) committed
Jun 1, 2014 at 14:21 UTC
2d8d9bd2425e9e1d48316535ab74a71dd73991d2
2 files changed
+19
-19
charts.d/airsearches.chart.sh
+2
-2
@@ -37,10 +37,10 @@ airsearches_check() {
37
airsearches_create() {
38
# create the charts
39
local x=
40
- echo "CHART airsearches.affiliates '' 'Air Searches per affiliate' 'requests/s' airsearches '' stacked 20000 $airsearches_update_every"
40
+ echo "CHART airsearches.affiliates '' 'Air Searches per affiliate' 'requests / min' airsearches '' stacked 20000 $airsearches_update_every"
41
for x in $airsearches_cmds
42
do
43
- echo "DIMENSION $x '' incremental 1 $((1 * airsearches_update_every))"
43
+ echo "DIMENSION $x '' incremental 60 $airsearches_update_every"
44
done
45
46
return 0
charts.d/crsproxy.chart.sh
+17
-17
@@ -33,32 +33,32 @@ CHART crsproxy.connected '' "CRS Proxy Connected Clients" "clients" crsproxy ''
33
DIMENSION web '' absolute 1 1
34
DIMENSION native '' absolute 1 1
35
DIMENSION virtual '' absolute 1 1
36
-CHART crsproxy.requests '' "CRS Proxy Requests Rate" "requests/s" crsproxy '' area 20001 $crsproxy_update_every
37
-DIMENSION web '' incremental 1 $((1 * crsproxy_update_every))
38
-DIMENSION native '' incremental -1 $((1 * crsproxy_update_every))
39
-CHART crsproxy.clients '' "CRS Proxy Clients Rate" "clients/s" crsproxy '' area 20010 $crsproxy_update_every
40
-DIMENSION web '' incremental 1 $((1 * crsproxy_update_every))
41
-DIMENSION native '' incremental -1 $((1 * crsproxy_update_every))
42
-DIMENSION virtual '' incremental 1 $((1 * crsproxy_update_every))
43
-CHART crsproxy.replies '' "CRS Replies Rate" "replies/s" crsproxy '' area 20020 $crsproxy_update_every
44
-DIMENSION ok '' incremental 1 $((1 * crsproxy_update_every))
45
-DIMENSION failed '' incremental -1 $((1 * crsproxy_update_every))
46
-CHART crsproxy.bconnections '' "Back-End Connections Rate" "connections/s" crsproxy '' area 20030 $crsproxy_update_every
47
-DIMENSION ok '' incremental 1 $((1 * crsproxy_update_every))
48
-DIMENSION failed '' incremental -1 $((1 * crsproxy_update_every))
36
+CHART crsproxy.requests '' "CRS Proxy Requests Rate" "requests / min" crsproxy '' area 20001 $crsproxy_update_every
37
+DIMENSION web '' incremental 60 $crsproxy_update_every
38
+DIMENSION native '' incremental -60 $crsproxy_update_every
39
+CHART crsproxy.clients '' "CRS Proxy Clients Rate" "clients / min" crsproxy '' area 20010 $crsproxy_update_every
40
+DIMENSION web '' incremental 60 $crsproxy_update_every
41
+DIMENSION native '' incremental -60 $crsproxy_update_every
42
+DIMENSION virtual '' incremental 60 $crsproxy_update_every
43
+CHART crsproxy.replies '' "CRS Replies Rate" "replies / min" crsproxy '' area 20020 $crsproxy_update_every
44
+DIMENSION ok '' incremental 60 $crsproxy_update_every
45
+DIMENSION failed '' incremental -60 $crsproxy_update_every
46
+CHART crsproxy.bconnections '' "Back-End Connections Rate" "connections / min" crsproxy '' area 20030 $crsproxy_update_every
47
+DIMENSION ok '' incremental 60 $crsproxy_update_every
48
+DIMENSION failed '' incremental -60 $crsproxy_update_every
49
EOF
50
51
local x=
52
- echo "CHART crsproxy.commands '' 'CRS Commands Requests' 'requests/s' crsproxy '' stacked 20100 $crsproxy_update_every"
52
+ echo "CHART crsproxy.commands '' 'CRS Commands Requests' 'requests / min' crsproxy '' stacked 20100 $crsproxy_update_every"
53
for x in $crsproxy_cmds
54
do
55
- echo "DIMENSION $x '' incremental 1 $((1 * crsproxy_update_every))"
55
+ echo "DIMENSION $x '' incremental 60 $crsproxy_update_every"
56
done
57
58
- echo "CHART crsproxy.commands_failed '' 'CRS Failed Commands' 'replies/s' crsproxy '' stacked 20110 $crsproxy_update_every"
58
+ echo "CHART crsproxy.commands_failed '' 'CRS Failed Commands' 'replies / min' crsproxy '' stacked 20110 $crsproxy_update_every"
59
for x in $crsproxy_cmds
60
do
61
- echo "DIMENSION $x '' incremental 1 $((1 * crsproxy_update_every))"
61
+ echo "DIMENSION $x '' incremental 60 $crsproxy_update_every"
62
done
63
64
return 0