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

[processorhelper] use mdatagen level and noop meter #10235

Merged
merged 5 commits into from
May 30, 2024

Conversation

codeboten
Copy link
Contributor

This cleans up the need to have a level in the ObsReport struct. Added test to validate the change as none existed before

codeboten added 4 commits May 27, 2024 12:31
This allows components to set the minimum level needed for them to produce telemetry. By default, this is set to configtelemetryLevelBasic. If the telemetry level is below that minimum level, then the noop meter is used for metrics.

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
This cleans up the need to have a level in the ObsReport struct. Added test to validate the change as none existed before

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
Copy link

codecov bot commented May 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.50%. Comparing base (b53ba2c) to head (60f46b0).
Report is 9 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #10235      +/-   ##
==========================================
+ Coverage   92.47%   92.50%   +0.02%     
==========================================
  Files         387      387              
  Lines       18252    18242      -10     
==========================================
- Hits        16879    16874       -5     
+ Misses       1027     1023       -4     
+ Partials      346      345       -1     

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

@codeboten codeboten marked this pull request as ready for review May 28, 2024 15:53
@codeboten codeboten requested review from a team and atoulme May 28, 2024 15:53
@TylerHelmuth TylerHelmuth added the Skip Changelog PRs that do not require a CHANGELOG.md entry label May 29, 2024
@codeboten codeboten merged commit 8606327 into open-telemetry:main May 30, 2024
61 of 66 checks passed
@github-actions github-actions bot added this to the next release milestone May 30, 2024
@codeboten codeboten deleted the codeboten/use-mdatagenlevel branch May 30, 2024 15:16
steves-canva pushed a commit to Canva/opentelemetry-collector that referenced this pull request Jun 14, 2024
…0235)

This cleans up the need to have a level in the ObsReport struct. Added
test to validate the change as none existed before

---------

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants