Home

Awesome

Example of Rails and Sidekiq metrics exported to Datadog

This example illustrates how to use yabeda gem suite with Rails application to collect custom metrics and send them to Datadog via containerized agent.

Prerequisites

Usage

  1. Create datadog-agent.env based on datadog-agemt.env.example
  2. Create rails.env based on rails.env.example
  3. Execute docker-compose up to start.
  4. Go to rails application at http://localhost:5000
  5. Hit the button and refresh page few times
  6. Go to your Datadog dashboard and create one
  7. Add metrics to the dashboard
  8. Look for graphs

Acknowledgement

This example is based on Yabeda Prometheus example.

License

This example is available as open source under the terms of the MIT License.