Skip to content

Commit

Permalink
Remove slo:period_error_budget_remaining:ratio slo (#1359)
Browse files Browse the repository at this point in the history
* Remove slo:period_error_budget_remaining:ratio slo

This PR removes the slo for `slo:period_error_budget_remaining:ratio` as this value creates 18k timeseries just to compute `1 - slo:error_budget:ratio` which makes no sense

* Update CHANGELOG.md
  • Loading branch information
QuentinBisson authored Sep 16, 2024
1 parent 0eab682 commit 1542757
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 17 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Removed

- Remove aggregation of slo:period_error_budget_remaining:ratio` as this value can be easily computed and creates a lot of time series in Grafana Cloud

## [4.15.0] - 2024-09-16

### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -603,23 +603,6 @@ spec:
)
) by (cluster_id, cluster_type, customer, installation, pipeline, provider, region, slo, service)
record: aggregation:slo:period_burn_rate:ratio
- expr: |-
sum(
label_replace(
label_replace(
slo:period_error_budget_remaining:ratio,
"slo",
"$1",
"sloth_id",
"(.*)"
),
"service",
"$1",
"sloth_service",
"(.*)"
)
) by (cluster_id, cluster_type, customer, installation, pipeline, provider, region, slo, service)
record: aggregation:slo:period_error_budget_remaining:ratio
- expr: |-
sum(
label_replace(
Expand Down

0 comments on commit 1542757

Please sign in to comment.