]> arthur.barton.de Git - netdata.git/commitdiff
varnish plugin: rename some dimensions
authorIlya <ilyamaschenko@gmail.com>
Mon, 16 Jan 2017 23:59:19 +0000 (08:59 +0900)
committerIlya <ilyamaschenko@gmail.com>
Mon, 16 Jan 2017 23:59:19 +0000 (08:59 +0900)
python.d/varnish.chart.py

index 2a02caa64574c1988258d17a4afca5a1bcfd6add..9d2c780e973eda08a33c9cc271752e153a5704d2 100644 (file)
@@ -42,8 +42,8 @@ CHARTS = {'backend_health':
                        ['sess_pipe_overflow_b', None, 'incremental', 1, 1]],
               'options': [None, 'Misbehavior', 'problems', 'Problems summary', 'varnish.bad', 'line']},
           'expunge':
-             {'lines': [['n_expired', None, 'incremental', 1, 1],
-                       ['n_lru_nuked', None, 'incremental', 1, 1]],
+             {'lines': [['n_expired', 'expired', 'incremental', 1, 1],
+                       ['n_lru_nuked', 'lru_nuked', 'incremental', 1, 1]],
               'options': [None, 'Object expunging', 'objects', 'Cache performance', 'varnish.expunge', 'line']},
           'hit_rate': 
              {'lines': [['cache_hit_perc', 'hit', 'absolute', 1, 100],
@@ -61,8 +61,8 @@ CHARTS = {'backend_health':
               'options': [None, 'Memory usage', 'megabytes', 'Memory usage', 'varnish.memory_usage', 'stacked']},
           'session': 
              {'lines': [['sess_conn', 'conn', 'incremental', 1, 1],
-                       ['client_req', 'drop', 'incremental', 1, 1],
-                       ['sess_dropped', 'fail', 'incremental', 1, 1]],
+                       ['client_req', 'requests', 'incremental', 1, 1],
+                       ['sess_dropped', 'dropped', 'incremental', 1, 1]],
               'options': [None, 'Sessions', 'units', 'Client metrics', 'varnish.session', 'line']},
           'threads': 
              {'lines': [['threads', None, 'absolute', 1, 1],