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

[exporterhelper] log storage errors with higher severity #7477

Conversation

swiatekm
Copy link
Contributor

@swiatekm swiatekm commented Apr 3, 2023

Description:
The persistent queue tries to persist its state to storage whenever it changes. If it fails, it simply continues, which may not be the right decision in some cases. Either way, these kinds of errors signify a major problem with the underlying storage medium - typically it's either full, or the underlying hardware is faulty.

I'd like to rework how this error handling works in general, but in this change I just want to make the errors more visible to help with post-factum debugging.

See #7396 for more context as well.

Link to tracking Issue: Related to #7198

@swiatekm swiatekm requested review from a team and Aneurysm9 April 3, 2023 16:36
@codecov
Copy link

codecov bot commented Apr 3, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.03 ⚠️

Comparison is base (1c47d89) 91.16% compared to head (c47822a) 91.13%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7477      +/-   ##
==========================================
- Coverage   91.16%   91.13%   -0.03%     
==========================================
  Files         294      294              
  Lines       14265    14267       +2     
==========================================
- Hits        13004    13002       -2     
- Misses        996      999       +3     
- Partials      265      266       +1     
Impacted Files Coverage Δ
...rter/exporterhelper/internal/persistent_storage.go 86.30% <0.00%> (-1.56%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@github-actions
Copy link
Contributor

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

@github-actions github-actions bot added the Stale label Apr 18, 2023
@github-actions
Copy link
Contributor

github-actions bot commented May 2, 2023

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

@github-actions github-actions bot closed this May 2, 2023
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.

1 participant