opentelemetry-rust icon indicating copy to clipboard operation
opentelemetry-rust copied to clipboard

Show best practices in all Examples

Open cijothomas opened this issue 9 months ago • 1 comments

Parent issue for tracking. All examples maintained in the repo should show the best practices.

  1. Cache Tracer : https://github.com/open-telemetry/opentelemetry-rust/pull/2709
  2. Add others here.

cijothomas avatar Feb 26 '25 20:02 cijothomas

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

cijothomas avatar Mar 11 '25 17:03 cijothomas