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

The Rust OpenTelemetry implementation

Results 310 opentelemetry-rust issues
Sort by recently updated
recently updated
newest added

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 Problems? As mentioned in item 7 in #1968, the current bath processes requires an async runtime (see [here](https://github.com/open-telemetry/opentelemetry-rust/blob/29fd682203cd6c677d0e9ca2e14f2634c1aeafd6/opentelemetry-sdk/src/trace/span_processor.rs#L449), there are pros and cons for this dependency than creating...

enhancement
triage:todo

### What happened? PR https://github.com/open-telemetry/opentelemetry-rust/pull/1755 did some API clean-ups, but it was too aggressive and turned some useful APIs private. In particular `opentelemetry_sdk::TracerProvider::span_processors` was `pub` but is now only `pub(crate)`....

bug
triage:todo

### What happened? When using the `SdkMeterProvider` with a `PeriodicReader` on a tokio `current_thread` runtime, the program hangs when the `SdkMeterProvider` leaves scope. Example reproducer: Take the `registration_triggers_collection()` test function...

bug
A-metrics

### What happened? When using the HTTP/JSON exporter, JSON serialization of links is invalid. Here is an example JSON generated for a span with a link: ```json { "traceId": "e77be372af2941b6b25c2a2462f54f5e",...

bug
triage:todo

Tracing appender's EventVisitor currently copies the [`&str` to an owned string](https://github.com/open-telemetry/opentelemetry-rust/blob/main/opentelemetry-appender-tracing/src/layer.rs#L102) in the heap. This is the case even when the user provides 'static str to the tracing macros. Opening...

A-log

### What happened? Application with latest opentelemetry rust doesn't accept env var OTEL_EXPORTER_OTLP_PROTOCOL after [this commit]( https://github.com/open-telemetry/opentelemetry-rust/commit/f66e9626cb345f2e13558a40076a58841c2286ae#diff-13bdfa4891026a23503ebdbb92913eecb6984acb56eda1979037d919e0652fd6). Now protocol selection based on `fn default_protocol` or application code ### API Version...

bug

### Related Problems? _No response_ ### Describe the solution you'd like: We are currently using the @microlabs/otel-cf-workers library to enable open telemetry our CloudFlare workers. The configuration allows to specify...

enhancement
triage:todo

Opening a parent issue to track making it possible to do OTel Metrics with zero heap allocation. Since Metrics are always pre-aggregated and exported once every few seconds in background,...

In Log SDK, the LogRecord::observed_timestamp is populated as: https://github.com/open-telemetry/opentelemetry-rust/blob/673c328522b99e61ec5c91fd905ac4ffe5a0da08/opentelemetry-sdk/src/logs/log_emitter.rs#L270 However, after all the optimizations, the cost associated with this call is visible considerably ~20%: ![image](https://github.com/user-attachments/assets/2d837b60-a90b-4066-a2c2-5e1a7a63bfc5) A quick test by commenting...