Skip to content

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.

@codecov
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.

@djaglowski djaglowski force-pushed the processor-throughput-metrics branch from c30fa02 to 94bd623 Compare September 13, 2024 17:41
@djaglowski djaglowski force-pushed the processor-throughput-metrics branch from 94bd623 to e811026 Compare September 13, 2024 20:14
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

@djaglowski djaglowski force-pushed the processor-throughput-metrics branch from 261684b to 76ae166 Compare September 13, 2024 20:53
@github-actions
Copy link
Contributor

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

@github-actions
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