|
211 | 211 |
|
212 | 212 | {channel_queue_exchange_metrics, [ |
213 | 213 | {2, undefined, queue_messages_published_total, counter, "Total number of messages published into a queue through a exchange on a channel"} |
214 | | - ]} |
215 | | -]). |
216 | | - |
217 | | -%% Metrics that can be only requested through `/metrics/detailed` |
218 | | --define(METRICS_CLUSTER,[ |
219 | | - {vhost_status, [ |
220 | | - {2, undefined, vhost_status, gauge, "Whether a given vhost is running"} |
221 | | - ]}, |
222 | | - {exchange_bindings, [ |
223 | | - {2, undefined, exchange_bindings, gauge, "Number of bindings for an exchange. This value is cluster-wide."} |
224 | | - ]}, |
225 | | - {exchange_names, [ |
226 | | - {2, undefined, exchange_name, gauge, "Enumerates exchanges without any additional info. This value is cluster-wide. A cheaper alternative to `exchange_bindings`"} |
227 | 214 | ]}, |
228 | 215 | {queue_exchange_metrics, [ |
229 | 216 | {2, undefined, queue_exchange_messages_published_total, counter, "Total number of messages published into a queue through an exchange"} |
|
244 | 231 | {8, undefined, queue_get_empty_total, counter, "Total number of times basic.get operations fetched no message on a queue"} |
245 | 232 | ]}]). |
246 | 233 |
|
| 234 | +%% Metrics that can be only requested through `/metrics/detailed` |
| 235 | +-define(METRICS_CLUSTER,[ |
| 236 | + {vhost_status, [ |
| 237 | + {2, undefined, vhost_status, gauge, "Whether a given vhost is running"} |
| 238 | + ]}, |
| 239 | + {exchange_bindings, [ |
| 240 | + {2, undefined, exchange_bindings, gauge, "Number of bindings for an exchange. This value is cluster-wide."} |
| 241 | + ]}, |
| 242 | + {exchange_names, [ |
| 243 | + {2, undefined, exchange_name, gauge, "Enumerates exchanges without any additional info. This value is cluster-wide. A cheaper alternative to `exchange_bindings`"} |
| 244 | + ]} |
| 245 | +]). |
| 246 | + |
247 | 247 | -define(TOTALS, [ |
248 | 248 | %% ordering differs from metrics above, refer to list comprehension |
249 | 249 | {connection_created, connections, gauge, "Connections currently open"}, |
|
0 commit comments