Skip to content

Conversation

@binarin
Copy link
Contributor

@binarin binarin commented Oct 5, 2021

Summary Of Changes

Add examples of how to use per-queue metrics introduced in rabbitmq/rabbitmq-server#3421

This includes:

  1. Configuring new prometheus scrape targes
  2. A few alert using new metrics
  3. A grafana dashboard where a single queue can be observed

@binarin binarin requested a review from ansd October 5, 2021 14:42
@binarin binarin force-pushed the per-queue-observability branch 2 times, most recently from 1537787 to d1f211e Compare October 5, 2021 14:48
@binarin binarin force-pushed the per-queue-observability branch from d1f211e to e111f80 Compare October 5, 2021 15:22
@yaronp68
Copy link

yaronp68 commented Oct 12, 2021

one suggestion:
In the Grafana dashboard dropdown, when I select a RabbitMQ Cluster, I can still see queues defined in other RabbitMQ clusters.
I’d be nice to filter queues by my selected RabbitmqCluster.
If you edit the variable query for queue which is currently:
query_result(rabbitmq_detailed_queue_messages{namespace="$namespace"} * on (instance, job) group_left(rabbitmq_cluster) rabbitmq_identity_info{namespace="$namespace"})
to
query_result(rabbitmq_detailed_queue_messages{namespace="$namespace"} * on (instance, job) group_left(rabbitmq_cluster) rabbitmq_identity_info{namespace="$namespace", rabbitmq_cluster="$rabbitmq_cluster"})
that should work.
similarly as we list only rabbitmqclusters in the dropdown for the selected namespace

@yaronp68 yaronp68 requested a review from MirahImage October 12, 2021 16:35
@MirahImage MirahImage merged commit 2446575 into main Oct 14, 2021
@MirahImage MirahImage deleted the per-queue-observability branch October 14, 2021 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants