Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions opentelemetry/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

## vNext

- **Added** experimental support for a global context event observer. A
`ContextObserver` can be registered via `GlobalContextObserver::set` to be
notified of context transitions through the `on_context_enter` and
`on_context_exit` callbacks. This feature is primarily intended to publish a
different view of the current context (the `ObserverContextView`) through
alternative channels that let external readers (e.g. an eBPF profiler) track
the current context. See the associated
[OTEP](https://github.com/open-telemetry/opentelemetry-specification/pull/4947).
Gated behind the `experimental_context_observer` feature flag.
- `otel_info!`, `otel_warn!`, `otel_debug!`, and `otel_error!` macros now accept quoted-key fields
(e.g. `"otel.component.type" = "value"`) for dotted attribute names.
- **Added** `BoundGauge<T>` and `BoundUpDownCounter<T>` types (and the
Expand Down
1 change: 1 addition & 0 deletions opentelemetry/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ testing = ["trace"]
logs = []
internal-logs = ["tracing"]
experimental_metrics_bound_instruments = ["metrics"]
experimental_context_observer = []

[dev-dependencies]
opentelemetry_sdk = { path = "../opentelemetry-sdk"} # for documentation tests
Expand Down
Loading
Loading