Rabbitmq unacknowledged or non-consumed message alerts configuration

276 views
Skip to first unread message

Thanigai Arasu

unread,
May 19, 2021, 2:13:49 AM5/19/21
to rabbitmq-users
Hi, I would like to configure the alerts/mail communication to group of users when the pre-configured number of message limit is surpassed on the message consumption or un-acknowledged.

Please suggest the option to implement this.

Thanks
Thani

Michal Kuratczyk

unread,
May 19, 2021, 3:28:02 AM5/19/21
to rabbitm...@googlegroups.com
Hi,

You can get these metrics from the Prometheus endpoint (with per-object metrics enable or using :15692/metrcs/per-object endpoint):
$ curl -s localhost:15692/metrics/per-object | grep ^rabbitmq_queue_messages
rabbitmq_queue_messages_ready{vhost="/",queue="stream"} 128452332
rabbitmq_queue_messages_unacked{vhost="/",queue="stream"} 0
rabbitmq_queue_messages{vhost="/",queue="stream"} 128452332


Everything else is up to your monitoring system - query/scrape one of these endpoints, compare with thresholds and send an alert.

Docs about these endpoints:

Best,


--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/4b237f0f-e6fb-42ce-aa11-756eb4a1d85en%40googlegroups.com.


--
Michał
Reply all
Reply to author
Forward
0 new messages