Skip to content

sonerdm/OpentelemetryWithDatadog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

W3C Trace Context Example

This project consists of two Flask servers and one Express server instrumented with Opentelemetry on a standalone host.

Start the Demo

  1. Create .env file under the rolldice-game directory.
  2. Add DD_SITE and DATADOG_API_KEY environments in .env file.
  3. Run docker-compose up

To trigger the service call

Success

curl -X POST http://localhost:5002/play_game \
     -H "Content-Type: application/json" \
     -d '{"player": "John Doe"}'

Error

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.

About

End2End Example Of Using Datadog Without Datadog Agent

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors