opentelemetry-rust
opentelemetry-rust copied to clipboard
The Rust OpenTelemetry implementation
### Related Problems? I have been searching for the best way to use the semantic attribute constants when creating spans without manually typing out the values in the span macro....
## Changes Use `atomic_shim` for mipsel processor. Because when build for mipsel architecture, it don't have `AtomicI64`, `AtomicU64` in std. ## Merge requirement checklist * [x] [CONTRIBUTING](https://github.com/open-telemetry/opentelemetry-rust/blob/main/CONTRIBUTING.md) guidelines followed *...
See issue #2047 for discussion about this PR ## Changes This PR contains 5 changes: - first it makes the `LogExporter::export` function return a future that doesn't capture self's lifetime,...
### What happened? Using this library in WASM causes the program to block forever and use 100% CPU, due to the usage of `futures_executor::block_on` ### API Version 0.24.0 ### SDK...
I think we need to offer API to modify an existing entry, remove an existing entry too. These are critical to ensure we allow redaction, enrichment capabilities. Lets track it...
Fixes #1998 ## Changes With updates to the otel collector 0.104+, the collector now binds to localhost by default. The config now needs to explicitly allow access from outside the...
### What happened? The following code worked with opentelemetry/opentelemetry_sdk 0.23.0 and opentelemetry-otlp 0.16.0 I have the following environment variables set * `OTEL_EXPORTER_OTLP_ENDPOINT=https://my-backend` * `OTEL_EXPORTER_OTLP_HEADERS=key-required-by-my-backend=value` #### Cargo.toml ```toml [package] name =...
Exporter traits are [now written as async](https://github.com/open-telemetry/opentelemetry-rust/blob/main/opentelemetry-sdk/src/export/logs/mod.rs#L15-L18). This works great if the exporter actually needs to use async. But when exporter is not needing async (like when exporting to kernel...
Mentioned here : https://github.com/open-telemetry/opentelemetry-rust/pull/1997/files#r1707954979 I wonder if should even remove SeverityText from `LogRecord` itself to reduce the size of LogRecord. I am not aware of any use case where user...
### Related Problems? _No response_ ### Describe the solution you'd like: I got some warning log like : `OpenTelemetry metrics error occurred. Metrics error: Warning: Maximum data points for metric...