Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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 @@ -46,6 +46,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))

### Common

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 object (as if `.instrumentation: {}` was set).
Comment thread
zeitlinger marked this conversation as resolved.
Outdated

### ConfigProperties

Expand Down