Skip to content
Merged
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
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ release.
([#4802](https://github.com/open-telemetry/opentelemetry-specification/pull/4802))
- Declarative configuration: clarify Registry ComponentProvider `type` parameter
([#4799](https://github.com/open-telemetry/opentelemetry-specification/pull/4799))
- Declarative configuration: Update instrumentation config behavior to return
empty object when not set
([#4817](https://github.com/open-telemetry/opentelemetry-specification/pull/4817))
- Swap Tracer/Meter/LoggerConfig `disabled` for `enabled` to avoid double negatives
([#4823](https://github.com/open-telemetry/opentelemetry-specification/pull/4823))

Expand Down
5 changes: 2 additions & 3 deletions specification/configuration/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,8 @@ Obtain configuration relevant to instrumentation libraries.
the [`.instrumentation`](https://github.com/open-telemetry/opentelemetry-configuration/blob/670901762dd5cce1eecee423b8660e69f71ef4be/examples/kitchen-sink.yaml#L438-L439)
configuration mapping node.

If the `.instrumentation` node is not set, get instrumentation config MUST
return nil, null, undefined or another language-specific idiomatic pattern
denoting empty.
If the `.instrumentation` node is not set, get instrumentation config SHOULD
Comment thread
carlosalberto marked this conversation as resolved.
return an empty `ConfigProperties` (as if `.instrumentation: {}` was set).

### ConfigProperties

Expand Down
Loading