Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(module): fix internal metrics for kv v1.3.1 #615

Merged
merged 1 commit into from
Jan 9, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading