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

Adding metrics for flush retries #1049

Merged
merged 3 commits into from
Oct 18, 2021
Merged

Adding metrics for flush retries #1049

merged 3 commits into from
Oct 18, 2021

Conversation

dannykopping
Copy link
Contributor

@dannykopping dannykopping commented Oct 17, 2021

What this PR does:
Adds metrics around retrying failed flushes, which can be used for more actionable alerts. Right now, we send a critical alert when a flush fails, but if the ingester successfully retries then that should suppress the alert.

Which issue(s) this PR fixes:
Fixes #

Checklist

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

Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
@CLAassistant
Copy link

CLAassistant commented Oct 17, 2021

CLA assistant check
All committers have signed the CLA.

Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
modules/ingester/flush.go Outdated Show resolved Hide resolved
Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
Copy link
Contributor

@mdisibio mdisibio left a comment

Choose a reason for hiding this comment

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

Thanks, lgtm

@mdisibio mdisibio merged commit d232588 into main Oct 18, 2021
@mdisibio mdisibio deleted the dannykopping/retry-metric branch October 18, 2021 12:58
@joe-elliott joe-elliott mentioned this pull request Dec 6, 2021
3 tasks
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