Comparing DataDog APM integration in python using ddtrace and OpenTelemetry.
dockerdocker-compose- a valid datadog api key
DD_API_KEY=<valid_api_key> make run
make curl: issues an Http request a running http server.
Default server is py-http-otel.
Default path is /redis/get/${KEY}.
To override the key for redis: KEY=<my_key> make curl.
To change to a different route: ROUTE=/foo make curl.
Supported routes:
//open/foo/delay/<up_to_str>/redis/get/<key>
A couple commands used for testing:
WEB=py-http-dd ROUTE=/foo make curlWEB=py-http-otel ROUTE=/foo make curlWEB=py-http-dd ROUTE=/open make curlWEB=py-http-otel ROUTE=/open make curlWEB=py-http-dd ROUTE=/delay/10 make curlWEB=py-http-otel ROUTE=/delay/200 make curlCOMPONENT=redis0 KEY=foo VALUE=bar make setCOMPONENT=redis1 KEY=foo VALUE=bar make setWEB=py-http-dd ROUTE=/redis/get/foo make curlWEB=py-http-otel ROUTE=/redis/get/foo make curl
make stop