Skip to content

Add new alerts to the tempo-mixin#1292

Merged
mapno merged 2 commits intografana:mainfrom
mapno:scaling-alerts
Feb 21, 2022
Merged

Add new alerts to the tempo-mixin#1292
mapno merged 2 commits intografana:mainfrom
mapno:scaling-alerts

Conversation

@mapno
Copy link
Copy Markdown
Contributor

@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
Copy Markdown
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
Copy Markdown
Contributor 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
Copy Markdown
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