Skip to content
This repository has been archived by the owner on Dec 24, 2022. It is now read-only.

Latest commit

 

History

History
36 lines (26 loc) · 1.51 KB

README.md

File metadata and controls

36 lines (26 loc) · 1.51 KB

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

  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.