Skip to content

Commit

Permalink
Merge pull request #1803 from DataDog/olivielpeau/rabbitmq-config
Browse files Browse the repository at this point in the history
[rabbitmq] Update yaml config example
  • Loading branch information
olivielpeau committed Aug 4, 2015
2 parents 2d9d4dd + 9d570a9 commit 5d90302
Showing 1 changed file with 19 additions and 20 deletions.
39 changes: 19 additions & 20 deletions conf.d/rabbitmq.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,40 +4,39 @@ instances:
# for every instance a 'rabbitmq_api_url' must be provided, pointing to the api
# url of the RabbitMQ Managment Plugin (http://www.rabbitmq.com/management.html)
# optional: 'rabbitmq_user' (default: guest) and 'rabbitmq_pass' (default: guest)
#
# If you have less than 5 queues, you don't have to set the queues parameters
# All queues metrics will be collected
# If you have more than 5 queues: you can set 5 queue names. Metrics will be collected
# for these queues. For the other queues, aggregate will be calculated.
#
# # If you have less than 3 nodes, you don't have to set the nodes parameters
# All nodes metrics will be collected
# If you have more than 3 nodes: you can set 3 node names. Metrics will be collected
# for these nodes. For the other nodes, aggregate will be calculated.
#
# Warning: aggregate are calculated on the 100 first queues/nodes.
#
# Service checks:
#
# By default a list of all vhosts is fetched and each one will be checked
# using the aliveness API. If you prefer only certain vhosts to be monitored
# then you can list the vhosts you care about.
#

- rabbitmq_api_url: http://localhost:15672/api/
rabbitmq_user: guest
rabbitmq_pass: guest
# If you have less than 3 nodes, you don't have to set the nodes parameters
# All nodes metrics will be collected
# If you have more than 3 nodes: you can set 3 node names. Metrics will be collected
# for these nodes. For the other nodes, aggregate will be calculated.
#
# nodes:
# - rabbit@localhost
# - rabbit2@domain
# nodes_regexes:
# - bla.*

# If you have less than 5 queues, you don't have to set the queues parameters
# All queues metrics will be collected
# If you have more than 5 queues: you can set 5 queue names. Metrics will be collected
# for these queues. For the other queues, aggregate will be calculated.
# If you have set up vhosts, set the queue names as `vhost_name/queue_name`.
# Warning: aggregate are calculated on the 100 first queues/nodes.
#
# queues:
# - queue1
# - queue2
# queues_regexes:
# - thisqueue-.*
# - another_\d+queue

# Service checks:
# By default a list of all vhosts is fetched and each one will be checked
# using the aliveness API. If you prefer only certain vhosts to be monitored
# with service checks then you can list the vhosts you care about.
#
# vhosts:
# - vhost1
# - vhost2

0 comments on commit 5d90302

Please sign in to comment.