opentelemetry-rust
opentelemetry-rust copied to clipboard
The Rust OpenTelemetry implementation
Methods like `install_batch` created unintended side-effects https://github.com/open-telemetry/opentelemetry-rust/blob/main/opentelemetry-otlp/src/span.rs#L143-L150 1. It sets global providers, which may not be what user has intended. 2. It returns a tracer with instrumentation scope set to...
https://github.com/open-telemetry/opentelemetry-rust/pull/1021 added supported for Attributes to instrumentation scope, which already had version, schema_url. This started with just name and evolved to add more and more (because spec added them). https://github.com/open-telemetry/opentelemetry-rust/pull/1021#discussion_r1161364638...
See https://github.com/open-telemetry/opentelemetry-rust/pull/1578#discussion_r1507777504
### What happened? I have an application which uses a multi-threaded tokio runtime. Calling `trace_provider.force_flush()` in our pre-shutdown routine consistently deadlocks the application (since the call never returns). I suspect...
Updates the requirements on [env_logger](https://github.com/rust-cli/env_logger) to permit the latest version. Release notes Sourced from env_logger's releases. v0.11.2 [0.11.2] - 2024-02-13 Changelog Sourced from env_logger's changelog. [0.11.2] - 2024-02-13 [0.11.1] -...
``` failures: ---- metrics::tests::second_delta_export_does_not_give_no_attr_value_if_add_not_called stdout ---- thread 'metrics::tests::second_delta_export_does_not_give_no_attr_value_if_add_not_called' panicked at opentelemetry-sdk/src/metrics/mod.rs:674:13: No scope metrics in latest export note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace failures: metrics::tests::second_delta_export_does_not_give_no_attr_value_if_add_not_called ```
A lot has happened over last few months in this repo - We added support for Logs signal, Metrics was rewritten to match new spec, plenty of performance improvements were...
[Metric datapoints](https://github.com/open-telemetry/opentelemetry-rust/blob/main/opentelemetry-sdk/src/metrics/data/mod.rs#L102-L104) currently store the starttime and endtime of the data point. Since starttime and endtime will be same for each and every datapoint within a metric, it can be...
### Related Problems? _No response_ ### Describe the solution you'd like: https://github.com/open-telemetry/opentelemetry-rust/pull/1308 modified SimpleLogRecordProcessor to simply take a Mutex protected call to Exporter. Proposing to make the similar change to...
A recent Dependabot update changes [env_logger](https://github.com/rust-cli/env_logger) The biggest risk from my perspective is the MSRV changed to 1.71 While we do have a [policy](https://github.com/open-telemetry/opentelemetry-rust/?tab=readme-ov-file#supported-rust-versions) that as long as we're >=...