Rust example with opentelemetry traces to datadog.
Original code from open-telemetry/opentelemetry-rust. This fork containerizes the app for kubernetes and makes the app run requests continuously in a loop.
First run version 7.22.0 or above of the datadog-agent locally as described here
For local run:
$ cargo run
For deploying to kubernetes, build the docker image
make build
Update the $registry
in deployment.yaml and run
make deploy