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

Increase log level for problems creating index header readers #7177

Merged
merged 1 commit into from
Jan 22, 2024

Conversation

56quarters
Copy link
Contributor

@56quarters 56quarters commented Jan 19, 2024

What this PR does

Log errors creating indexheader.Reader instances at "error" since it can indicate serious problems. This is often caused by loading of Readers being interrupted (context.Canceled, not serious) but can also be caused by store-gateways running out of disk space (a bad time).

Which issue(s) this PR fixes or relates to

Internal incident

Checklist

  • Tests updated.
  • Documentation added.
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX].
  • about-versioning.md updated with experimental features.

Log errors creating `indexheader.Reader` instances at "error" since
it can indicate serious problems. This is often caused by loading
of Readers being interrupted (context.Canceled) but can also be caused
by store-gateways running out of disk space.

Signed-off-by: Nick Pillitteri <nick.pillitteri@grafana.com>
@56quarters
Copy link
Contributor Author

Checked how often this happens in some internal clusters, the most was 20-30 times in the last 30 days.

@56quarters 56quarters marked this pull request as ready for review January 19, 2024 20:35
@56quarters 56quarters requested a review from a team as a code owner January 19, 2024 20:35
@56quarters 56quarters merged commit 9262e96 into main Jan 22, 2024
28 checks passed
@56quarters 56quarters deleted the 56quarters/sg-logging branch January 22, 2024 14:36
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.

None yet

3 participants