Created with dotnet new mvc -au None -o sample-web-app
. It generates traces like this: https://cl.ly/eb7eee806839 and app analytics: https://cl.ly/6a1e376c9b71.
- Build the images:
docker-compose build --no-cache
- Spin up the containers:
docker-compose up
ordocker-compose up -d
- In a different terminal, wait a few minutes, then exec into the application container then curl an endpoint to generate traces.
docker exec -it docker-dotnet31_web_1 bash
then
curl -k "https://localhost:5001"
- Profiler logs are inside the container at:
/var/log/datadog
If anyone knows how to map the certs and ports to outside the Docker containers, please contribute! :)
Resources: