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] Add throughput metrics #11147

Closed

Conversation

djaglowski
Copy link
Member

This follows up #10910.

I expect to revamp this if #11144 is merged, but I wanted to put it out in order to get feedback (cc @codeboten) on whether this is currently the way to implement detailed metrics.

It also still requires tests, but I'm unclear if the generated test code is intended to allow testing of detailed metrics yet.

Copy link

codecov bot commented Sep 11, 2024

Codecov Report

Attention: Patch coverage is 59.09091% with 18 lines in your changes missing coverage. Please review.

Project coverage is 92.21%. Comparing base (3b50b38) to head (76ae166).
Report is 163 commits behind head on main.

Files with missing lines Patch % Lines
processor/processorhelper/logs.go 44.44% 3 Missing and 2 partials ⚠️
processor/processorhelper/metrics.go 44.44% 3 Missing and 2 partials ⚠️
processor/processorhelper/traces.go 44.44% 3 Missing and 2 partials ⚠️
processor/processorhelper/obsreport.go 25.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #11147      +/-   ##
==========================================
- Coverage   92.28%   92.21%   -0.08%     
==========================================
  Files         413      413              
  Lines       19760    19798      +38     
==========================================
+ Hits        18236    18256      +20     
- Misses       1152     1164      +12     
- Partials      372      378       +6     

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

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.

Thanks @djaglowski, using the level is ok for now, we'll have to change it once the level is removed but it's a minor change.

For testing, you can look at the batch processor tests which include detailed metrics

creationSet.MetricsLevel = configtelemetry.LevelDetailed

processor/processorhelper/documentation.md Outdated Show resolved Hide resolved
processor/processorhelper/documentation.md Outdated Show resolved Hide resolved
processor/processorhelper/metadata.yaml Outdated Show resolved Hide resolved
processor/processorhelper/metadata.yaml Outdated Show resolved Hide resolved
Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 14 days.

Copy link
Contributor

Closed as inactive. Feel free to reopen if this PR is still being worked on.

@github-actions github-actions bot closed this Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants