opentelemetry-collector icon indicating copy to clipboard operation
opentelemetry-collector copied to clipboard

consumererror: Add partial error type

Open braydonk opened this issue 1 month ago • 2 comments

Description

This PR adds functionality for consumers to create a partial error type. This will allow consumers to properly report partial success/failure with failed item counts, which can subsequently be used when reporting sent/failed metrics.

Link to tracking issue

Part of #13423

Testing

Documentation

godoc comments are added to the new public functions in consumererror.

braydonk avatar Oct 03 '25 13:10 braydonk

Codecov Report

:white_check_mark: All modified and coverable lines are covered by tests. :white_check_mark: Project coverage is 91.66%. Comparing base (14a7832) to head (e3b4ff4). :warning: Report is 127 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #13927      +/-   ##
==========================================
- Coverage   91.66%   91.66%   -0.01%     
==========================================
  Files         652      653       +1     
  Lines       42516    42531      +15     
==========================================
+ Hits        38973    38985      +12     
- Misses       2734     2736       +2     
- Partials      809      810       +1     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov[bot] avatar Oct 03 '25 14:10 codecov[bot]

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

github-actions[bot] avatar Oct 22 '25 03:10 github-actions[bot]

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

github-actions[bot] avatar Nov 05 '25 03:11 github-actions[bot]

I'll try and find time to address the raised concerns next week.

braydonk avatar Nov 05 '25 05:11 braydonk