Skip to content

Commit

Permalink
fix(validator): update the bpf cpu time query
Browse files Browse the repository at this point in the history
This commit updates the bpf cpu time query to use `level` as identifier
instead of `vm` in case of metal and `process` in case of vm.

Signed-off-by: vprashar2929 <[email protected]>
  • Loading branch information
vprashar2929 committed Sep 12, 2024
1 parent 1eb4df5 commit 4c63b43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/tools/validator/validations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ validations:
metal: |
sum(
rate(
kepler_vm_bpf_cpu_time_ms_total{{
kepler_{level}_bpf_cpu_time_ms_total{{
{vm_selector},
job="{metal_job_name}"
}}[{rate_interval}]
Expand All @@ -175,7 +175,7 @@ validations:
vm: |
sum(
rate(
kepler_{level}_bpf_cpu_time_ms_total{{
kepler_process_bpf_cpu_time_ms_total{{
job="{vm_job_name}",
}}[{rate_interval}]
)
Expand Down

0 comments on commit 4c63b43

Please sign in to comment.