rabbitmq_plugin: "total" dimensions removed
Ilya committed
May 13, 2017 at 01:37 UTC
a1ab744c9c19a097214ab0ddb2b5b7c1ce1fd59d
2 files changed
+5
-13
conf.d/python.d/rabbitmq.conf
+1
-1
@@ -57,7 +57,7 @@
57
# Additionally to the above, rabbitmq plugin also supports the following:
58
#
59
# host: 'ipaddress' # Server ip address or hostname. Default: 127.0.0.1
60
-# port: 'port' # Port on which elasticsearch listen. Default: 15672
60
+# port: 'port' # Rabbitmq port. Default: 15672
61
# scheme: 'scheme' # http or https. Default: http
62
#
63
# if the URL is password protected, the following are supported:
python.d/rabbitmq.chart.py
+4
-12
@@ -21,12 +21,8 @@ retries = 60
21
METHODS = namedtuple('METHODS', ['get_data_function', 'url', 'stats'])
22
23
NODE_STATS = [('fd_used', None),
24
- ('fd_total', None),
24
('mem_used', None),
26
- ('mem_limit', None),
25
('sockets_used', None),
28
- ('sockets_total', None),
29
- ('proc_total', None),
26
('proc_used', None)
27
]
28
OVERVIEW_STATS = [('object_totals.channels', None),
@@ -47,30 +43,26 @@ ORDER = ['queued_messages', 'message_rates', 'global_counts',
43
CHARTS = {
44
'file_descriptors': {
45
'options': [None, 'File Descriptors', 'descriptors', 'overview',
50
- 'rabbitmq.file_descriptors', 'stacked'],
46
+ 'rabbitmq.file_descriptors', 'line'],
47
'lines': [
52
- ['fd_total', 'total', 'absolute'],
48
['fd_used', 'used', 'absolute']
49
]},
50
'memory': {
51
'options': [None, 'Memory', 'MB', 'overview',
57
- 'rabbitmq.memory', 'stacked'],
52
+ 'rabbitmq.memory', 'line'],
53
'lines': [
59
- ['mem_limit', 'limit', 'absolute', 1, 1024 << 10],
54
['mem_used', 'used', 'absolute', 1, 1024 << 10]
55
]},
56
'sockets': {
57
'options': [None, 'Sockets', 'sockets', 'overview',
64
- 'rabbitmq.sockets', 'stacked'],
58
+ 'rabbitmq.sockets', 'line'],
59
'lines': [
66
- ['sockets_total', 'total', 'absolute'],
60
['sockets_used', 'used', 'absolute']
61
]},
62
'processes': {
63
'options': [None, 'Erlang Processes', 'processes', 'overview',
71
- 'rabbitmq.processes', 'stacked'],
64
+ 'rabbitmq.processes', 'line'],
65
'lines': [
73
- ['proc_total', 'total', 'absolute'],
66
['proc_used', 'used', 'absolute']
67
]},
68
'global_counts': {