Skip to content

Setup Rabbitmq metrics to datadog

Rabbitmq settings

We need to instruct rabbitmq to collect and expose its internal metrics in a format compatible with prometheus

Values in rabbitmq helm chart.

metrics:
  enabled: true
  plugins: 'rabbitmq_prometheus'

Settings in datadog

below are values from datadog helm chart

This instructs datadog to collect metrics from this endpoint on rabbitmq

rabbitmq.yaml: |-
       init_config:
       instances:
         - prometheus_plugin:
             url: "http://minority-rabbitmq.rabbitmq:9419"