Skip to content

Add config for entity aware resource detectors#697

Open
jack-berg wants to merge 1 commit into
open-telemetry:mainfrom
jack-berg:entity-support
Open

Add config for entity aware resource detectors#697
jack-berg wants to merge 1 commit into
open-telemetry:mainfrom
jack-berg:entity-support

Conversation

@jack-berg

@jack-berg jack-berg commented Jul 14, 2026

Copy link
Copy Markdown
Member

Declarative config analog of OTEL_EXPERIMENTAL_ENTITIES_ENALBED as proposed in open-telemetry/opentelemetry-specification#5210

Adds new $.resource.detection/development.entities_enabled property, defaulting to false.

In the spec PR 5210, resource detectors are updated to always be emit entity aware resources. I.e. resources with entities attached.

If $.resource.detection/development.entities_enabled is false, entity information is erased from resource detectors. If true, its retained.

@codeboten codeboten left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change looks ok as proposed, one question comes to mind though. The default for the other _enabled configuration options (scope_info_enabled and target_info_enabled/development) is true if null or omitted, are we ok with the difference in behaviour here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants