You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IMPORTANT: This exporter only works with RabbitMQ 3. Please use the official exporter for RabbitMQ 4 or newer. See https://github.com/kbudde/rabbitmq_exporter/issues/383 for details.
4
+
1
5
# RabbitMQ Exporter [](https://travis-ci.org/kbudde/rabbitmq_exporter)[](https://coveralls.io/r/kbudde/rabbitmq_exporter?branch=master)[](http://microbadger.com/images/kbudde/rabbitmq-exporter"Get your own image badge on microbadger.com")
2
6
3
7
Prometheus exporter for RabbitMQ metrics.
@@ -93,182 +97,6 @@ following capabilities are currently supported in
93
97
effective than pure-Erlang JSON encoding. So this greatly reduces
94
98
monitoring overhead when we have a lot of objects in RabbitMQ.
95
99
96
-
**Note for users of rabbmitmq < 3.6**
97
-
98
-
no_sort and bert are enabled by default. You must overwrite the default settings with:
99
-
100
-
RABBIT_CAPABILITIES=nobert ./rabbitmq_exporter
101
-
102
-
## Metrics
103
-
104
-
All metrics (except golang/prometheus metrics) are prefixed with "rabbitmq_".
105
-
106
-
### Global
107
-
108
-
Always exported.
109
-
110
-
metric | description
111
-
-------| ------------
112
-
|up | Was the last scrape of rabbitmq successful.
113
-
|module_up | Was the last scrape of rabbitmq module successful. labels: module
114
-
|module_scrape_duration_seconds | Duration of the last scrape of rabbitmq module. labels: module
115
-
|exporter_build_info | A metric with a constant '1' value labeled by version, revision, branch and build date on which the rabbitmq_exporter was built.
116
-
117
-
### Overview
118
-
119
-
Always exported.
120
-
Labels: cluster
121
-
122
-
metric | description
123
-
-------| ------------
124
-
|channels | Number of channels|
125
-
|connections | Number of connections|
126
-
|consumers | Number of message consumers|
127
-
|queues | Number of queues in use|
128
-
|exchanges | Number of exchanges in use|
129
-
|queue_messages_global | Number ready and unacknowledged messages in cluster.|
130
-
|queue_messages_ready_global | Number of messages ready to be delivered to clients.|
131
-
|queue_messages_unacknowledged_global | Number of messages delivered to clients but not yet acknowledged.|
132
-
|version_info| A metric with a constant '1' value labeled by rabbitmq version, erlang version, node, cluster.|
|queue_messages_ready|Number of messages ready to be delivered to clients.|
143
-
|queue_messages_unacknowledged|Number of messages delivered to clients but not yet acknowledged.|
144
-
|queue_messages|Sum of ready and unacknowledged messages (queue depth).|
145
-
|queue_messages_ack_total|Number of messages delivered in acknowledgement mode in response to basic.get.|
146
-
|queue_messages_ready_ram|Number of messages from messages_ready which are resident in ram.|
147
-
|queue_messages_unacknowledged_ram|Number of messages from messages_unacknowledged which are resident in ram.|
148
-
|queue_messages_ram|Total number of messages which are resident in ram.|
149
-
|queue_messages_persistent|Total number of persistent messages in the queue (will always be 0 for transient queues).|
150
-
|queue_message_bytes|Sum of the size of all message bodies in the queue. This does not include the message properties (including headers) or any overhead.|
151
-
|queue_message_bytes_ready|Like message_bytes but counting only those messages ready to be delivered to clients.|
152
-
|queue_message_bytes_unacknowledged|Like message_bytes but counting only those messages delivered to clients but not yet acknowledged.|
153
-
|queue_message_bytes_ram|Like message_bytes but counting only those messages which are in RAM.|
154
-
|queue_message_bytes_persistent|Like message_bytes but counting only those messages which are persistent.|
155
-
|queue_consumers|Number of consumers.|
156
-
|queue_consumer_utilisation|Fraction of the time (between 0.0 and 1.0) that the queue is able to immediately deliver messages to consumers. This can be less than 1.0 if consumers are limited by network congestion or prefetch count.|
157
-
|queue_memory|Bytes of memory consumed by the Erlang process associated with the queue, including stack, heap and internal structures.|
158
-
|queue_head_message_timestamp|The timestamp property of the first message in the queue, if present. Timestamps of messages only appear when they are in the paged-in state.|
159
-
|queue_max_length_bytes|Total body size for ready messages a queue can contain before it starts to drop them from its head.|
160
-
|queue_max_length|How many (ready) messages a queue can contain before it starts to drop them from its head.|
161
-
|queue_idle_since_seconds|starttime where the queue switched to idle state; seconds since epoch (1970); only set if queue state is idle|
162
-
|queue_reductions_total|Number of reductions which take place on this process.|
163
-
|queue_state|A metric with a value of constant '1' if the queue is in a certain state. Labels: vhost, queue, *state* (running, idle, flow,..)|
164
-
|queue_slave_nodes_len|Number of slave nodes attached to the queue|
165
-
|queue_synchronised_slave_nodes_len|Number of slave nodes in sync to the queue|
166
-
167
-
#### Queues - Counter
168
-
169
-
metric | description
170
-
-------| ------------
171
-
|queue_disk_reads_total|Total number of times messages have been read from disk by this queue since it started.|
172
-
|queue_disk_writes_total|Total number of times messages have been written to disk by this queue since it started.|
173
-
|queue_messages_published_total|Count of messages published.|
174
-
|queue_messages_confirmed_total|Count of messages confirmed. |
175
-
|queue_messages_delivered_total|Count of messages delivered in acknowledgement mode to consumers.|
176
-
|queue_messages_delivered_noack_total|Count of messages delivered in no-acknowledgement mode to consumers. |
177
-
|queue_messages_get_total|Count of messages delivered in acknowledgement mode in response to basic.get.|
178
-
|queue_messages_get_noack_total|Count of messages delivered in no-acknowledgement mode in response to basic.get.|
179
-
|queue_messages_redelivered_total|Count of subset of messages in deliver_get which had the redelivered flag set.|
180
-
|queue_messages_returned_total|Count of messages returned to publisher as unroutable.|
181
-
182
-
### Exchanges - Counter
183
-
184
-
Labels: cluster, vhost, exchange
185
-
186
-
metric | description
187
-
-------| ------------
188
-
|exchange_messages_published_in_total|Count of messages published in to an exchange, i.e. not taking account of routing.|
189
-
|exchange_messages_published_out_total|Count of messages published out of an exchange, i.e. taking account of routing.|
190
-
191
-
### Node - Counter
192
-
193
-
Labels: cluster, node, self
194
-
195
-
metric | description
196
-
-------| ------------
197
-
|uptime|Uptime in milliseconds|
198
-
|running|number of running nodes|
199
-
|node_mem_used|Memory used in bytes|
200
-
|node_mem_limit|Point at which the memory alarm will go off|
201
-
|node_mem_alarm|Whether the memory alarm has gone off|
202
-
|node_disk_free|Disk free space in bytes.|
203
-
|node_disk_free_alarm|Whether the disk alarm has gone off.|
204
-
|node_disk_free_limit|Point at which the disk alarm will go off.|
205
-
|fd_used|Used File descriptors|
206
-
|fd_available|File descriptors available|
207
-
|sockets_used|File descriptors used as sockets.|
208
-
|sockets_available|File descriptors available for use as sockets|
209
-
|partitions | Current Number of network partitions. 0 is ok. If the cluster is splitted the value is at least 2|
210
-
211
-
### Connections - Gauge
212
-
213
-
_disabled by default_. Depending on the environment and change rate it can create a high number of dead metrics. Otherwise it could be usefull and can be enabled.
|connection_status|Number of connections in a certain state aggregated per label combination. Metric will disappear if there are no connections in a state. |
233
-
234
-
### Shovel
235
-
236
-
_disabled by default_
237
-
Labels: cluster, vhost, shovel, type, self, state
238
-
239
-
metric | description
240
-
-------| ------------
241
-
|shovel_state|A metric with a value of constant '1' for each shovel in a certain state|
242
-
243
-
### Memory
244
-
245
-
_disabled by default_
246
-
Labels: cluster, node, self
247
-
248
-
metric | description
249
-
-------| ------------
250
-
|memory_allocated_unused_bytes|Memory preallocated by the runtime (VM allocators) but not yet used|
251
-
|memory_atom_bytes|Memory used by atoms. Should be fairly constant|
252
-
|memory_binary_bytes|Memory used by shared binary data in the runtime. Most of this memory is message bodies and metadata.)|
253
-
|memory_code_bytes|Memory used by code (bytecode, module metadata). This section is usually fairly constant and relatively small (unless the node is entirely blank and stores no data).|
254
-
|memory_connection_channels_bytes|Memory used by client connections - channels|
255
-
|memory_connection_other_bytes|Memory used by client connection - other|
256
-
|memory_connection_readers|Memory used by processes responsible for connection parser and most of connection state. Most of their memory attributes to TCP buffers|
257
-
|memory_connection_writers_bytes|Memory used by processes responsible for serialization of outgoing protocol frames and writing to client connections socktes|
258
-
|memory_mgmt_db_bytes|Management DB ETS tables + processes|
259
-
|memory_mnesia_bytes|Internal database (Mnesia) tables keep an in-memory copy of all its data (even on disc nodes)|
260
-
|memory_msg_index_bytes|Message index ETS + processes|
261
-
|memory_other_ets_bytes|Other in-memory tables besides those belonging to the stats database and internal database tables|
262
-
|memory_other_proc_bytes|Memory used by all other processes that RabbitMQ cannot categorise|
263
-
|memory_other_system_bytes|Memory used by all other system that RabbitMQ cannot categorise|
264
-
|memory_plugins_bytes|Memory used by plugins (apart from the Erlang client which is counted under Connections, and the management database which is counted separately).|
265
-
|memory_queue_procs_bytes|Memory used by class queue masters, queue indices, queue state|
266
-
|memory_queue_slave_procs_bytes|Memory used by class queue mirrors, queue indices, queue state|
267
-
|memory_reserved_unallocated_bytes|Memory preallocated/reserved by the kernel but not the runtime|
268
-
|memory_total_allocated_bytes|Node-local total memory - allocated|
269
-
|memory_total_rss_bytes|Node-local total memory - rss|
270
-
|memory_total_erlang_bytes|Node-local total memory - erlang|
0 commit comments