@cryptotaxi247 / netdata-1 / commits / 9512678a2

varnish plugin: sess_pipe_overflow renamed to sc_pipe_overflow in v5

Ilya committed Jan 22, 2017 at 15:21 UTC 9512678a27964e1e2a85f7aaf34ad907db46e94c
1 file changed +2 -1
python.d/varnish.chart.py
+2 -1
@@ -39,6 +39,7 @@ CHARTS = {'backend_health':
39 ['esi_errors_b', None, 'incremental', 1, 1],
40 ['esi_warnings_b', None, 'incremental', 1, 1],
41 ['sess_fail_b', None, 'incremental', 1, 1],
42 + ['sc_pipe_overflow_b', None, 'incremental', 1, 1],
43 ['sess_pipe_overflow_b', None, 'incremental', 1, 1]],
44 'options': [None, 'Misbehavior', 'problems', 'Problems summary', 'varnish.bad', 'line']},
45 'expunge':
@@ -187,7 +188,7 @@ class Service(SimpleService):
188 self.cache_prev = [to_netdata.get('cache_hit', 0), to_netdata.get('cache_miss', 0), to_netdata.get('cache_hitpass', 0)]
189
190 # 3.3 Problems summary chart
190 - for elem in ['backend_busy', 'backend_unhealthy', 'esi_errors', 'esi_warnings', 'losthdr', 'sess_drop',
191 + for elem in ['backend_busy', 'backend_unhealthy', 'esi_errors', 'esi_warnings', 'losthdr', 'sess_drop', 'sc_pipe_overflow',
192 'sess_fail', 'sess_pipe_overflow', 'threads_destroyed', 'threads_failed', 'threads_limited', 'thread_queue_len']:
193 if to_netdata.get(elem) is not None:
194 to_netdata[''.join([elem, '_b'])] = to_netdata.get(elem)