opentelemetry-rust
opentelemetry-rust copied to clipboard
Show best practices in all Examples
Parent issue for tracking. All examples maintained in the repo should show the best practices.
- Cache Tracer : https://github.com/open-telemetry/opentelemetry-rust/pull/2709
- Add others here.
Another showed up during community call today: How to do shutdown correctly! The following does not proceed to call remaining shutdowns, if one before fails. That needs to be fixed https://github.com/open-telemetry/opentelemetry-rust/blob/main/opentelemetry-otlp/examples/basic-otlp/src/main.rs#L159-L161