From 4c63b433cd4e01a77d30a97339921fcc441e9ede Mon Sep 17 00:00:00 2001 From: vprashar2929 Date: Thu, 12 Sep 2024 13:57:25 +0530 Subject: [PATCH] fix(validator): update the bpf cpu time query 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 --- e2e/tools/validator/validations.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/tools/validator/validations.yaml b/e2e/tools/validator/validations.yaml index c01e6beaa1..a8bf2da9e4 100644 --- a/e2e/tools/validator/validations.yaml +++ b/e2e/tools/validator/validations.yaml @@ -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}] @@ -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}] )