opentelemetry-rust
opentelemetry-rust copied to clipboard
The Rust OpenTelemetry implementation
Either create a `register_async_callback`, or change the signature of the original. Personally I prefer the first option. Here is a relevant discussion, https://github.com/open-telemetry/opentelemetry-rust/discussions/1362
In the current metrics SDK [implementation](https://github.com/open-telemetry/opentelemetry-rust/blob/main/opentelemetry-sdk/src/attributes/set.rs#L118), attribute sets with entries that have the same keys are de-duped. The "first" unique key is taken and the rest is dropped. This behavior...
### Related Problems? The general problem is one of minimizing the performance overheads of instrumentation and delivering on the [mission](https://github.com/open-telemetry/community/blob/main/mission-vision-values.md#we-value-performance). #1374 ### Describe the solution you'd like: If the API...
Fixes # Design discussion issue (if applicable) # ## Changes Please provide a brief description of the changes here. ## Merge requirement checklist * [ ] [CONTRIBUTING](https://github.com/open-telemetry/opentelemetry-rust/blob/main/CONTRIBUTING.md) guidelines followed *...
Preparing the next release. No change in overall [status](https://github.com/open-telemetry/opentelemetry-rust/tree/main?tab=readme-ov-file#project-status) and breaking changes are still expected in next release. The next release, which is planned for June 30 2024, is expected...
Fixes https://github.com/open-telemetry/opentelemetry-rust/issues/1679
### What happened? The basic [example](https://github.com/open-telemetry/opentelemetry-rust/blob/main/opentelemetry-appender-tracing/examples/basic.rs) for `opentelemetry_appender_tracing` is working fine for me. The same example also works if I use an OTLP exporter with tonic and Tokio runtime within...
Originally discussed here: https://github.com/open-telemetry/opentelemetry-rust/pull/1623/files#r1527013980 ``` #[test] fn test_shutdown_false_alarm() { let reader = TestMetricReader::new(); let provider = super::SdkMeterProvider::builder() .with_reader(reader.clone()) .build(); // Initially, shutdown should not be called assert!(!reader.is_shutdown()); // Shutdown the...
I think we need to revisit `shutdown_*_provider` methods as they are at the API level. The instrumented libraries shouldn't have the method to shutdown the LoggerProvider enabled by the application....
Opening a parent issue to track Metrics SDK improvements for [Stable release](https://github.com/open-telemetry/opentelemetry-rust/issues/1719). **Background** The primary function of the Metrics SDK is to accept a number `` along with a slice...