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

[batchprocessor] use mdatagen for async metric #10233

Merged

Conversation

codeboten
Copy link
Contributor

Follows #10232, use mdatagen for async counter

Copy link

codecov bot commented May 28, 2024

Codecov Report

Attention: Patch coverage is 92.00000% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 92.47%. Comparing base (b53ba2c) to head (654d688).

Files Patch % Lines
processor/batchprocessor/metrics.go 81.81% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #10233      +/-   ##
==========================================
- Coverage   92.47%   92.47%   -0.01%     
==========================================
  Files         387      387              
  Lines       18252    18246       -6     
==========================================
- Hits        16879    16873       -6     
  Misses       1027     1027              
  Partials      346      346              

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

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
@codeboten codeboten force-pushed the codeboten/mdatagen-updowncounter-batch branch from a46f4e2 to 04c71b0 Compare May 28, 2024 16:22
@codeboten codeboten marked this pull request as ready for review May 28, 2024 16:22
@codeboten codeboten requested a review from a team as a code owner May 28, 2024 16:22
@codeboten codeboten requested a review from mx-psi May 28, 2024 16:22
@codeboten codeboten added the Skip Changelog PRs that do not require a CHANGELOG.md entry label May 28, 2024
This removes the custom code in the processor in favour of the generated mdatagen test code.

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
@codeboten codeboten merged commit 1d8c53f into open-telemetry:main May 28, 2024
48 of 49 checks passed
@codeboten codeboten deleted the codeboten/mdatagen-updowncounter-batch branch May 28, 2024 18:15
@github-actions github-actions bot added this to the next release milestone May 28, 2024
steves-canva pushed a commit to Canva/opentelemetry-collector that referenced this pull request Jun 14, 2024
Follows
open-telemetry#10232,
use mdatagen for async counter

---------

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.

None yet

2 participants