Skip to content

Commit

Permalink
refactor(module): fix internal metrics for kv v1.3.1 (#615)
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Tishkov <[email protected]>
  • Loading branch information
fl64 authored Jan 9, 2025
1 parent ef97745 commit 1450846
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/kubevirt/service-monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ spec:
- __name__
targetLabel: __name__
- action: replace
regex: kubevirt_vmi_memory_domain_bytes_total
regex: kubevirt_vmi_memory_domain_bytes
replacement: d8_virtualization_virtualmachine_memory_size_bytes
sourceLabels:
- __name__
Expand Down Expand Up @@ -182,8 +182,8 @@ spec:
targetLabel: __name__
# other vm metrics -------------------------------------------------------------------------
- action: replace
regex: kubevirt_vmi_outdated_(.*)
replacement: d8_internal_virtualization_kubevirt_vmi_outdated_${1}
regex: kubevirt_vmi_(number_of_outdated|info|node_cpu_affinity|last_api_connection_timestamp_seconds)
replacement: d8_internal_virtualization_kubevirt_${1}
sourceLabels:
- __name__
targetLabel: __name__
Expand Down

0 comments on commit 1450846

Please sign in to comment.