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

add a metric for counting number of failures in opening existing active index files #3977

Conversation

sandeepsukhani
Copy link
Contributor

What this PR does / why we need it:
Adds a metric to count the failures in opening active index files while loading the tables.
The file would be left untouched with its path logged as error and the code would move ahead, not causing the service to stop until the file gets fixed. The metric would help users setup an alert on it to make sure the corrupt file does not go unnoticed.

Which issue(s) this PR fixes:
Fixes #3219

…s while loading tables from active index in uploads package
@owen-d owen-d merged commit 1ed19f7 into grafana:main Jul 15, 2021
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.

Loki faling with "file size too small"
2 participants