This project consists of two Flask servers and one Express server instrumented with Opentelemetry on a standalone host.
- Create .env file under the rolldice-game directory.
- Add DD_SITE and DATADOG_API_KEY environments in .env file.
- Run docker-compose up
To trigger the service call
curl -X POST http://localhost:5002/play_game \
-H "Content-Type: application/json" \
-d '{"player": "John Doe"}'
curl -X POST http://localhost:5002/play_game \
-H "Content-Type: application/json" \
-d '{}'
View traces & standalone host in app.datadoghq.eu PS: Domain could be different based on your Datadog account region.