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 new alerts to the tempo-mixin #1292

Merged
merged 2 commits into from
Feb 21, 2022
Merged

Add new alerts to the tempo-mixin #1292

merged 2 commits into from
Feb 21, 2022

Conversation

mapno
Copy link
Member

@mapno mapno commented Feb 18, 2022

What this PR does:

Adds new alerts to the tempo-mixin.

  • TempoProvisioningTooManyWrites: measures number of writes to ingesters stays below a defined target (30MB/s per ingester).
  • TempoCompactorsTooManyOutstandingBlocks: measures that the number of blocks pending to be compacted does not go above a target.
  • TempoBadOverrides: monitors failed override reloads.

Checklist

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

Alerts added:
- TempoBadOverrides
- TempoProvisioningTooManyWrites
- TempoCompactorsTooManyOutstandingBlocks
{
alert: 'TempoBadOverrides',
expr: |||
sum(tempo_runtime_config_last_reload_successful{namespace=~"%s"} == 0) by (cluster, namespace, job)
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this metric increase even if the overrides config does not change?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes. dskit doesn't even seem to check if the config has changed or not: https://github.com/grafana/dskit/blob/main/runtimeconfig/manager.go#L145-L170

Copy link
Contributor

@zalegrala zalegrala left a comment

Choose a reason for hiding this comment

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

Looks reasonable to me. Just one question.

@mapno mapno merged commit 3a530e1 into grafana:main Feb 21, 2022
@mapno mapno deleted the scaling-alerts branch February 21, 2022 11:22
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.

2 participants