varnish plugin: rename some dimensions
Ilya committed
Jan 17, 2017 at 08:59 UTC
08c67d4f8f52ac93c5f689228b5f1c74b9f75e77
1 file changed
+4
-4
python.d/varnish.chart.py
+4
-4
@@ -42,8 +42,8 @@ CHARTS = {'backend_health':
42
['sess_pipe_overflow_b', None, 'incremental', 1, 1]],
43
'options': [None, 'Misbehavior', 'problems', 'Problems summary', 'varnish.bad', 'line']},
44
'expunge':
45
- {'lines': [['n_expired', None, 'incremental', 1, 1],
46
- ['n_lru_nuked', None, 'incremental', 1, 1]],
45
+ {'lines': [['n_expired', 'expired', 'incremental', 1, 1],
46
+ ['n_lru_nuked', 'lru_nuked', 'incremental', 1, 1]],
47
'options': [None, 'Object expunging', 'objects', 'Cache performance', 'varnish.expunge', 'line']},
48
'hit_rate':
49
{'lines': [['cache_hit_perc', 'hit', 'absolute', 1, 100],
@@ -61,8 +61,8 @@ CHARTS = {'backend_health':
61
'options': [None, 'Memory usage', 'megabytes', 'Memory usage', 'varnish.memory_usage', 'stacked']},
62
'session':
63
{'lines': [['sess_conn', 'conn', 'incremental', 1, 1],
64
- ['client_req', 'drop', 'incremental', 1, 1],
65
- ['sess_dropped', 'fail', 'incremental', 1, 1]],
64
+ ['client_req', 'requests', 'incremental', 1, 1],
65
+ ['sess_dropped', 'dropped', 'incremental', 1, 1]],
66
'options': [None, 'Sessions', 'units', 'Client metrics', 'varnish.session', 'line']},
67
'threads':
68
{'lines': [['threads', None, 'absolute', 1, 1],