Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resource: remove unnecessary diagnostic when accessing attributes #5119

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

seemk
Copy link
Contributor

@seemk seemk commented Nov 7, 2024

Discussion issue: #5114

Since Resource already has 2 methods to deal with yet to be resolved attributes (asyncAttributesPending and waitForAsyncAttributes), the diagnostic seems redundant and perhaps misleading (since it's more of a debug message than an actual error).

@seemk seemk requested a review from a team as a code owner November 7, 2024 09:53
Copy link

codecov bot commented Nov 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.21%. Comparing base (f1ef596) to head (5afc5f4).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5119      +/-   ##
==========================================
- Coverage   93.21%   93.21%   -0.01%     
==========================================
  Files         315      315              
  Lines        8096     8094       -2     
  Branches     1622     1621       -1     
==========================================
- Hits         7547     7545       -2     
  Misses        549      549              
Files with missing lines Coverage Δ
packages/opentelemetry-resources/src/Resource.ts 100.00% <ø> (ø)

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