Skip to content

Allow empty global attributes from Supplier at startup#1102

Merged
breedx-splk merged 3 commits into
open-telemetry:mainfrom
breedx-splk:allow_empty_attributes_at_startup
Jul 28, 2025
Merged

Allow empty global attributes from Supplier at startup#1102
breedx-splk merged 3 commits into
open-telemetry:mainfrom
breedx-splk:allow_empty_attributes_at_startup

Conversation

@breedx-splk

Copy link
Copy Markdown
Contributor

Resolves #1094.

We need to allow the case where a user sets up a Supplier<Attributes> that returns empty during build time. This allows the GlobalAttributesAppender to be created with a Supplier that might later return attribute data. Without this, the wiring of the GlobalAttributesAppender is simply skipped.

@breedx-splk breedx-splk requested a review from a team as a code owner July 25, 2025 22:39

@LikeTheSalad LikeTheSalad 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.

Cheers!

@breedx-splk breedx-splk merged commit 5291154 into open-telemetry:main Jul 28, 2025
6 checks passed
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.

globalAttributeSupplier doesn't get installed as expected

2 participants