This example illustrates how to use yabeda gem suite with Rails application to collect custom metrics and send them to Datadog via containerized agent.
- Datadog account
- Recent versions of Docker and Docker Compose installed.
- 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
This example is based on Yabeda Prometheus example.
This example is available as open source under the terms of the MIT License.