Add config for entity aware resource detectors#697
Open
jack-berg wants to merge 1 commit into
Open
Conversation
codeboten
reviewed
Jul 15, 2026
codeboten
left a comment
Contributor
There was a problem hiding this comment.
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?
jsuereth
approved these changes
Jul 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Declarative config analog of
OTEL_EXPERIMENTAL_ENTITIES_ENALBEDas proposed in open-telemetry/opentelemetry-specification#5210Adds new
$.resource.detection/development.entities_enabledproperty, 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_enabledis false, entity information is erased from resource detectors. If true, its retained.