Skip to content

Publish number of messages in a rabbitMQ queue as cloudwatch metrics

License

Notifications You must be signed in to change notification settings

trailbehind/rabbitmq-to-cloudwatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rabbitmq-to-cloudwatch

Publish number of messages in a RabbitMQ queue as AWS Cloudwatch metrics. Can also be configured to just log, and not publish to cloudwatch.

Configuration

All configuration is through environment variables.

  • metric_interval - Number of seconds to sleep between publishing metrics, default is 300. Use -1 for run only once and exit
  • log_only - Only log, don't publish to cloudwatch. To enable set this to 1 or true
  • rabbitmq_management_host - RabbitMQ host, format is hostname:port
  • rabbitmq_management_user - RabbitMQ username
  • rabbitmq_management_password - RabbitMQ password
  • rabbitmq_vhost - RabbitMQ vhost, default is /
  • AWS_REGION - AWS region to use, default is us-east-1
  • cloudwatch_namespace - Cloudwatch namespace
  • publish_sum - publish an additional metric that is the sum of depths of all queues. This is only useful if you have more than 1 queue.

About

Publish number of messages in a rabbitMQ queue as cloudwatch metrics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published