Skip to content

avoid reading attributes from a resource which has pending attributes#1097

Open
seemk wants to merge 1 commit intomainfrom
fix-resource-attribute-warnings
Open

avoid reading attributes from a resource which has pending attributes#1097
seemk wants to merge 1 commit intomainfrom
fix-resource-attribute-warnings

Conversation

@seemk
Copy link
Contributor

@seemk seemk commented Mar 20, 2026

Fixes Accessing resource attributes before async attributes settled diagnostic log on startup.

IMHO OTel is a bit silly for logging a diagnostic error when accessing attributes when some of them haven't resolved - even if you need the resolved attributes.

Fix it by accessing raw attributes directly on startup.

@seemk seemk requested review from a team as code owners March 20, 2026 18:52
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.

1 participant