summaryrefslogtreecommitdiffstats
path: root/python.d/rabbitmq.chart.py
diff options
context:
space:
mode:
Diffstat (limited to 'python.d/rabbitmq.chart.py')
-rw-r--r--python.d/rabbitmq.chart.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/python.d/rabbitmq.chart.py b/python.d/rabbitmq.chart.py
index eef472bf2..b8847e9f8 100644
--- a/python.d/rabbitmq.chart.py
+++ b/python.d/rabbitmq.chart.py
@@ -24,7 +24,8 @@ NODE_STATS = ['fd_used',
'mem_used',
'sockets_used',
'proc_used',
- 'disk_free'
+ 'disk_free',
+ 'run_queue'
]
OVERVIEW_STATS = ['object_totals.channels',
'object_totals.consumers',
@@ -39,7 +40,7 @@ OVERVIEW_STATS = ['object_totals.channels',
'message_stats.publish'
]
ORDER = ['queued_messages', 'message_rates', 'global_counts',
- 'file_descriptors', 'socket_descriptors', 'erlang_processes', 'memory', 'disk_space']
+ 'file_descriptors', 'socket_descriptors', 'erlang_processes', 'erlang_run_queue', 'memory', 'disk_space']
CHARTS = {
'file_descriptors': {
@@ -72,6 +73,12 @@ CHARTS = {
'lines': [
['proc_used', 'used', 'absolute']
]},
+ 'erlang_run_queue': {
+ 'options': [None, 'Erlang Run Queue', 'processes', 'overview',
+ 'rabbitmq.erlang_run_queue', 'line'],
+ 'lines': [
+ ['run_queue',' length', 'absolute']
+ ]},
'global_counts': {
'options': [None, 'Global Counts', 'counts', 'overview',
'rabbitmq.global_counts', 'line'],