Skip to content

Commit

Permalink
remove noisy alerts rules/raw
Browse files Browse the repository at this point in the history
  • Loading branch information
coleenquadros committed Sep 20, 2023
1 parent 454c825 commit ffd4f8c
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 2,094 deletions.
24 changes: 0 additions & 24 deletions configuration/observatorium/slo.go
Original file line number Diff line number Diff line change
Expand Up @@ -335,30 +335,6 @@ func ObservatoriumSLOs(envName rhobsInstanceEnv, signal signal) []pyrrav1alpha1.
alertName: "APIMetricsQueryRangeAvailabilityErrorBudgetBurning",
sloType: sloTypeAvailability,
},
{
name: "api-rules-raw-write-availability-slo",
labels: map[string]string{
slo.PropagationLabelsPrefix + "service": "observatorium-api",
"instance": string(envName),
},
description: "API /rules/raw endpoint for writes is burning too much error budget to guarantee availability SLOs.",
successOrErrorsExpr: "http_requests_total{job=\"" + apiJobSelector[envName] + "\", handler=\"rules-raw\", method=\"PUT\", group=\"metricsv1\", code=~\"^5..$\"}",
totalExpr: "http_requests_total{job=\"" + apiJobSelector[envName] + "\", handler=\"rules-raw\", method=\"PUT\", group=\"metricsv1\"}",
alertName: "APIRulesRawWriteAvailabilityErrorBudgetBurning",
sloType: sloTypeAvailability,
},
{
name: "api-rules-raw-read-availability-slo",
labels: map[string]string{
slo.PropagationLabelsPrefix + "service": "observatorium-api",
"instance": string(envName),
},
description: "API /rules/raw endpoint for reads is burning too much error budget to guarantee availability SLOs.",
successOrErrorsExpr: "http_requests_total{job=\"" + apiJobSelector[envName] + "\", handler=\"rules-raw\", method=\"GET\", group=\"metricsv1\", code=~\"^5..$\"}",
totalExpr: "http_requests_total{job=\"" + apiJobSelector[envName] + "\", handler=\"rules-raw\", method=\"GET\", group=\"metricsv1\"}",
alertName: "APIRulesRawReadAvailabilityErrorBudgetBurning",
sloType: sloTypeAvailability,
},
{
name: "api-rules-read-availability-slo",
labels: map[string]string{
Expand Down
Loading

0 comments on commit ffd4f8c

Please sign in to comment.