Skip to content

Update contrib version and fix diskbuffering#1326

Merged
breedx-splk merged 2 commits intoopen-telemetry:mainfrom
breedx-splk:update_contrib_fix_diskbuffering
Oct 23, 2025
Merged

Update contrib version and fix diskbuffering#1326
breedx-splk merged 2 commits intoopen-telemetry:mainfrom
breedx-splk:update_contrib_fix_diskbuffering

Conversation

@breedx-splk
Copy link
Copy Markdown
Contributor

Supersedes #1321

Hopefully I got the API usage more or less correct, and looking to @LikeTheSalad to keep me honest here.

@breedx-splk breedx-splk requested a review from a team as a code owner October 21, 2025 22:41
@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 21, 2025

Codecov Report

❌ Patch coverage is 96.87500% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 63.96%. Comparing base (f51cf7e) to head (49262ae).
⚠️ Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
...d/features/diskbuffering/SignalFromDiskExporter.kt 93.75% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1326      +/-   ##
==========================================
- Coverage   63.97%   63.96%   -0.02%     
==========================================
  Files         154      154              
  Lines        3126     3100      -26     
  Branches      317      315       -2     
==========================================
- Hits         2000     1983      -17     
+ Misses       1034     1028       -6     
+ Partials       92       89       -3     

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

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

Copy link
Copy Markdown
Contributor

@bidetofevil bidetofevil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Copy Markdown
Contributor

@LikeTheSalad LikeTheSalad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for tackling this 🙏 I had an idea that it'd be quite painful, especially the test changes.

Just left a comment on your open question.

val iter = storage.iterator()
while (iter.hasNext()) {
val result = exporter(iter.next()).join(exportTimeoutInMillis, TimeUnit.MILLISECONDS)
// TODO: What to do if a random export in the middle here just fails?
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Calling next() from the iterator will delete the current item, so if a network export fails, I'd say we should stop the loop and try again later. Most likely, it'd be due to network connectivity issues anyway, which should come and go often, so chances are it could be fixed by the next try.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll create an issue to track this and we can pick that up in a follow-up PR. Thanks for the feedback. 👍🏻

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@breedx-splk breedx-splk merged commit d96816f into open-telemetry:main Oct 23, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants