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

[mdatagen] Remove WithAttributes from the telemetry builder constructor #10608

Merged

Conversation

dmitryax
Copy link
Member

Attribute sets for async instruments now can be set as options to callback setters and async instruments initializers. This allows each async instrument to have its own attribute set.

Unblocks #10593

@dmitryax dmitryax requested review from a team and TylerHelmuth July 12, 2024 23:05
@dmitryax dmitryax force-pushed the madatagen-allow-different-attributes branch 3 times, most recently from 91618e6 to f72ae39 Compare July 12, 2024 23:16
Copy link

codecov bot commented Jul 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.31%. Comparing base (bf6bd9f) to head (72c916e).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #10608      +/-   ##
==========================================
+ Coverage   92.27%   92.31%   +0.03%     
==========================================
  Files         397      397              
  Lines       18729    18706      -23     
==========================================
- Hits        17283    17268      -15     
+ Misses       1086     1079       -7     
+ Partials      360      359       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Attribute sets for async instruments now can be set as options to callback setters and async instruments initializers. This allows each async instrument to have its own attribute set.
@dmitryax dmitryax force-pushed the madatagen-allow-different-attributes branch from f72ae39 to 72c916e Compare July 16, 2024 17:04
Copy link
Contributor

@codeboten codeboten left a comment

Choose a reason for hiding this comment

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

awesome, thanks @dmitryax

@dmitryax dmitryax merged commit 4d57f5e into open-telemetry:main Jul 16, 2024
50 checks passed
@github-actions github-actions bot added this to the next release milestone Jul 16, 2024
@dmitryax dmitryax deleted the madatagen-allow-different-attributes branch July 17, 2024 16:55
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