This repo has been deprecated, please, check the following repo to see new updates: https://github.com/willianvalerio/datadog-dotnet-o11y
This repo is a an example of instrumenting a dotnet application with Datadog and exposing a Prometheus endpoint with custom metrics.
- docker
- docker-compose
Set these following variables
export DD_API_KEY=YOUR_DATADOG_API_KEY
Up and build containers
docker-compose up -d --build --remove-orphans
You can find the dashboard json here, just import it to Datadog.
docker-compose down --remove-orphans