Skip to content

Commit

Permalink
Fix metrics params for k8s service monitor
Browse files Browse the repository at this point in the history
Signed-off-by: Kaustav Majumder <[email protected]>
  • Loading branch information
Kaustav Majumder committed Sep 27, 2024
1 parent bed3551 commit ce8ec0d
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions templates/k8smetricsservicemonitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@ import (

var params = map[string][]string{
"match[]": {
"{__name__='kube_node_status_condition'}",
"{__name__='kube_persistentvolume_info'}",
"{__name__='kube_storageclass_info'}",
"{__name__='kube_persistentvolumeclaim_info'}",
"{__name__='kube_deployment_spec_replicas'}",
"{__name__='kube_pod_status_phase'}",
"{__name__='kubelet_volume_stats_capacity_bytes'}",
"{__name__='kubelet_volume_stats_used_bytes'}",
"{__name__='node_disk_read_time_seconds_total'}",
"{__name__='node_disk_write_time_seconds_total'}",
"{__name__='node_disk_reads_completed_total'}",
"{__name__='node_disk_writes_completed_total'}",
"{__name__=\"kube_node_status_condition\"}",
"{__name__=\"kube_persistentvolume_info\"}",
"{__name__=\"kube_storageclass_info\"}",
"{__name__=\"kube_persistentvolumeclaim_info\"}",
"{__name__=\"kube_deployment_spec_replicas\"}",
"{__name__=\"kube_pod_status_phase\"}",
"{__name__=\"kubelet_volume_stats_capacity_bytes\"}",
"{__name__=\"kubelet_volume_stats_used_bytes\"}",
"{__name__=\"node_disk_read_time_seconds_total\"}",
"{__name__=\"node_disk_write_time_seconds_total\"}",
"{__name__=\"node_disk_reads_completed_total\"}",
"{__name__=\"node_disk_writes_completed_total\"}",
},
}

Expand Down

0 comments on commit ce8ec0d

Please sign in to comment.