Skip to content

[BUG] [Grafana] RabbitMQ-Overview dashboard - Metrics don't work - 422: error when executing query #42

@PhBouzid

Description

@PhBouzid

Describe the bug
Please take a look on next bug with rabbitmq monitoring:
422: error when executing query="sum(rabbitmq_build_info{namespace="rabbitmq"} * on(instance) group_left(rabbitmq_cluster) rabbitmq_identity_info{rabbitmq_cluster="rabbitmq", cluster="", namespace="rabbitmq"})/sum(kube_pod_info{exported_namespace="rabbitmq", exported_pod="^rmqlocal-[0-9]+$|^rmqlocal-[0-9]+-0$", cluster=""})" for (time=1742724168500, step=300000): cannot execute "sum(rabbitmq_build_info{namespace="rabbitmq"} * on(instance) group_left(rabbitmq_cluster) rabbitmq_identity_info{rabbitmq_cluster="rabbitmq",cluster="",namespace="rabbitmq"}) / sum(kube_pod_info{exported_namespace="rabbitmq",exported_pod="^rmqlocal-[0-9]+$|^rmqlocal-[0-9]+-0$",cluster=""})": cannot evaluate "rabbitmq_build_info{namespace="rabbitmq"} * on(instance) group_left(rabbitmq_cluster) rabbitmq_identity_info{rabbitmq_cluster="rabbitmq",cluster="",namespace="rabbitmq"}": duplicate time series on the right side of * on(instance) group_left(rabbitmq_cluster): {container="rmqlocal", endpoint="15692-tcp", instance="10.129.205.163:15692", job="rabbitmq", namespace="rabbitmq", pod="rmqlocal-2", prometheus="prometheus-operator/k8s", rabbitmq_cluster="rabbitmq", rabbitmq_cluster_permanent_id="rabbitmq-cluster-id-CQxV9JLJrx0QMXGj0fokTg", rabbitmq_endpoint="aggregated", rabbitmq_node="rabbit@rmqlocal-2.rmqlocal.rabbitmq.svc.cluster.local", service="rabbitmq"} and {container="rmqlocal", endpoint="15692-tcp", instance="10.129.205.163:15692", job="rabbitmq", namespace="rabbitmq", pod="rmqlocal-2", prometheus="prometheus-operator/k8s", rabbitmq_cluster="rabbitmq", rabbitmq_cluster_permanent_id="rabbitmq-cluster-id-CQxV9JLJrx0QMXGj0fokTg", rabbitmq_endpoint="per-object", rabbitmq_node="rabbit@rmqlocal-2.rmqlocal.rabbitmq.svc.cluster.local", service="rabbitmq"}

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment:

  • Application Version:
  • K8S Version:

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions