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
- Datadog account
- Recent versions of Docker and Docker Compose installed.
Usage
- Create datadog-agent.env based on datadog-agemt.env.example
- Create rails.env based on rails.env.example
- Execute
docker-compose up
to start. - Go to rails application at http://localhost:5000
- Hit the button and refresh page few times
- Go to your Datadog dashboard and create one
- Add metrics to the dashboard
- 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.