Revert "Adjust dropped metrics from cAdvisor"

This commit is contained in:
Philip Gough
2021-11-10 10:39:11 +00:00
committed by GitHub
parent 276fae57a6
commit 9adf60f2b3
3 changed files with 5 additions and 22 deletions

View File

@@ -61,16 +61,11 @@ spec:
sourceLabels:
- __name__
- action: drop
regex: (container_spec_.*|container_file_descriptors|container_sockets|container_threads_max|container_threads|container_start_time_seconds|container_last_seen);;
regex: (container_fs_.*|container_spec_.*|container_blkio_device_usage_total|container_file_descriptors|container_sockets|container_threads_max|container_threads|container_start_time_seconds|container_last_seen);;
sourceLabels:
- __name__
- pod
- namespace
- action: drop
regex: (container_blkio_device_usage_total);.+
sourceLabels:
- __name__
- container
path: /metrics/cadvisor
port: https-metrics
relabelings: