opentelemetry-rust
opentelemetry-rust copied to clipboard
The Rust OpenTelemetry implementation
Fixes #1986 ## Changes This PR adds two new methods, `update_attribute` and `delete_attribute`, to the public API of the `LogRecord` struct. ```rust pub fn update_attribute(&Key, &AnyValue) -> Option ``` -...
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 *...
Related to https://github.com/open-telemetry/opentelemetry-rust/issues/1527, but for Metrics This is part of Metrics API, and hence must be done by Metrics API RC.
Fixes #2175 ## Changes In Progress. TODO: - Move TraceError and LogError from API to SDK. API should be only returning no-op constructs, and not the error objects. MetricsError is...
### Related Problems? _No response_ ### Describe the solution you'd like: Currently, when there are multiple `AsyncInstrument`, each metric has its own independent `with_callback` to set an update callback. I...
- Internal logs support is now available (#2128), and it would make sense to use it for internal errors. - This allows the removal of the global error handler. -...
Similar to https://github.com/open-telemetry/opentelemetry-rust/pull/2085, we should remove this trait/implementations from public API. The exporters can offer https://github.com/open-telemetry/opentelemetry-rust/blob/main/opentelemetry-otlp/src/metric.rs#L172-L180 `with_delta` method to switch temporality to delta from the default cumulative. This reduces a...
I'd like to consider moving more tasks to the xtask over bash especially for scripts which have any more complex logic. I would consider also converting the command to using...
## Problem At the moment there's zero code reuse in DataPoints collection phase. Due to too much copy/paste there are few issues: * there are inefficiencies by doing unnecessary `.clone()`...
Most metrics has optimized `measure` phase by using `ValueMap`. However `ExpoHistogram` has it's own implementations. This implementation is not only lacking performance improvements, but also some important functionality (e.g. there's...