diff --git a/assets/control-plane/service-monitor-kubelet.yaml b/assets/control-plane/service-monitor-kubelet.yaml index dc52a339d3..f5281a94d1 100644 --- a/assets/control-plane/service-monitor-kubelet.yaml +++ b/assets/control-plane/service-monitor-kubelet.yaml @@ -86,12 +86,6 @@ spec: sourceLabels: - __name__ targetLabel: __tmp_keep_metric - - action: drop - regex: ;(container_fs_.*);.+ - sourceLabels: - - __tmp_keep_metric - - __name__ - - container - action: labeldrop regex: __tmp_keep_metric path: /metrics/cadvisor diff --git a/jsonnet/components/control-plane.libsonnet b/jsonnet/components/control-plane.libsonnet index b76175cd6e..10937cdd66 100644 --- a/jsonnet/components/control-plane.libsonnet +++ b/jsonnet/components/control-plane.libsonnet @@ -95,12 +95,6 @@ function(params) targetLabel: '__tmp_keep_metric', replacement: 'true', }, - { - // these metrics are available at the slice level - sourceLabels: ['__tmp_keep_metric', '__name__', 'container'], - action: 'drop', - regex: ';(container_fs_.*);.+', - }, // drop the temporarily stashed metrics { action: 'labeldrop',