# Alerting for RabbitMQ for Consumer count and Message Rates

**URL:** <https://community.dynatrace.com/t/alerting-for-rabbitmq-for-consumer-count-and-message-rates/42204>\
**Category:** Extensions\
**Tags:** rabbitmq, problems-classic\
**Created:** [October 20, 2023, 9:53am UTC](https://community.dynatrace.com/t/alerting-for-rabbitmq-for-consumer-count-and-message-rates/42204 "2023-10-20T09:53:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Munzir](https://avatars.discourse-cdn.com/v4/letter/m/278dde/32.png) [@Munzir](https://community.dynatrace.com/u/Munzir)\
**Post date:** [October 20, 2023, 9:53am UTC](https://community.dynatrace.com/t/alerting-for-rabbitmq-for-consumer-count-and-message-rates/42204/1 "2023-10-20T09:53:45Z")

</div>

We want to set an alerting profile for RabbitMQ if the Consumer count is dropping, eg from 8 it goes to 7 or 6 there has to be an alert.

Along with it if the Message rates is crossing 1000 then a warning alert should be raised and if it goes above 1500 then critical aler tshould be raised

---

<div class="post-metadata">

**Author:** ![radek\_jasinski](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radek_jasinski/32/10432_2.png) [@radek\_jasinski](https://community.dynatrace.com/u/radek_jasinski)\
**Post date:** [October 20, 2023, 10:14am UTC](https://community.dynatrace.com/t/alerting-for-rabbitmq-for-consumer-count-and-message-rates/42204/2 "2023-10-20T10:14:27Z")

</div>

To do this, a **Metric Event** must be created for the Consumers metric.

You can find all metrics for RabbitMQ here:

> **[Timedrift Monitoring extension](https://docs.dynatrace.com/docs/observe/infrastructure-observability/extensions/timedrift-monitoring)**
>
> Monitor your host's NTP/Chrony Time Offset.

How to create a metric event can be found here:

> **[Metric events](https://docs.dynatrace.com/docs/dynatrace-intelligence/anomaly-detection-classic/metric-events)**
>
> Learn about metric events in Dynatrace

Please note that you will need to create an Alerting Profile if you want to send information about this event by email, for example.

Radek
