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

Alerts: migrate RequestErrors and RulerRemoteEvaluationFailing to native histograms #9004

Merged
merged 4 commits into from
Aug 15, 2024

Conversation

duricanikolic
Copy link
Contributor

What this PR does

This PR extends alerts RequestErrors and RulerRemoteEvaluationFailing with their native histogram counterpart.

Which issue(s) this PR fixes or relates to

Related to #7154

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.

@duricanikolic duricanikolic self-assigned this Aug 14, 2024
@duricanikolic duricanikolic requested a review from a team as a code owner August 14, 2024 16:27
…native histogram version

Signed-off-by: Yuri Nikolic <durica.nikolic@grafana.com>
Signed-off-by: Yuri Nikolic <durica.nikolic@grafana.com>
Copy link
Contributor

@krajorama krajorama left a comment

Choose a reason for hiding this comment

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

approved with nits

else {
alert: $.alertName('RequestErrors'),
expr: if histogram == 'classic' then query.classic else query.native,
'for': '15m',
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
'for': '15m',
for: '15m',

else {
alert: $.alertName('RulerRemoteEvaluationFailing'),
expr: if histogram == 'classic' then query.classic else query.native,
'for': '5m',
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
'for': '5m',
for: '5m',

operations/mimir-mixin/alerts/alerts.libsonnet Outdated Show resolved Hide resolved
duricanikolic and others added 2 commits August 15, 2024 10:44
Co-authored-by: George Krajcsovits <krajorama@users.noreply.github.com>
Signed-off-by: Yuri Nikolic <durica.nikolic@grafana.com>
@duricanikolic duricanikolic merged commit 3512a1d into main Aug 15, 2024
31 checks passed
@duricanikolic duricanikolic deleted the yuri/native-histogram-alerts branch August 15, 2024 10:25
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