-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify and fix issue in cluster:capacity_effective_cpu_cores
Simplify by dividing all x86_64 cpu counts in 2. This also addresses a bug where 0 was the effective value due to label mismatches in `cluster:cpu_capacity_cores:_id`. When we added a recording rule named `cluster:cpu_capacity_cores:_id`, the recorded time series includes a tenant_id label and so it's not equivalent to the expression it replaced. Use of `on (_id)` clauses ignores the additional label.
- Loading branch information
Showing
1 changed file
with
8 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters