@cryptotaxi247 / netdata-1 / commits / 0ec745cc7

rabbitmq plugin: queued messages chart algorithm changed to absolute

Ilya committed May 22, 2017 at 21:31 UTC 0ec745cc78563954128b7644f9fc0e344c50cf6a
2 files changed +3 -3
python.d/haproxy.chart.py
+1 -1
@@ -163,7 +163,7 @@ class Service(UrlService, SocketService):
163 name, idx = front['# pxname'], front['# pxname'].replace('.', '_')
164 for metric in METRICS:
165 self.definitions['f' + metric]['lines'].append(['_'.join(['frontend', metric, idx]),
166 - METRICS[metric]['algorithm'], 1,
166 + name, METRICS[metric]['algorithm'], 1,
167 METRICS[metric]['divisor']])
168 for back in self.data['backend']:
169 name, idx = back['# pxname'], back['# pxname'].replace('.', '_')
python.d/rabbitmq.chart.py
+2 -2
@@ -85,8 +85,8 @@ CHARTS = {
85 'options': [None, 'Queued Messages', 'messages', 'overview',
86 'rabbitmq.queued_messages', 'stacked'],
87 'lines': [
88 - ['messages_ready', 'ready', 'incremental'],
89 - ['messages_unacknowledged', 'unacknowledged', 'incremental']
88 + ['messages_ready', 'ready', 'absolute'],
89 + ['messages_unacknowledged', 'unacknowledged', 'absolute']
90 ]},
91 'message_rates': {
92 'options': [None, 'Message Rates', 'messages/s', 'overview',