diff --git a/src/app_charts/prometheus/prometheus-robot.values.yaml b/src/app_charts/prometheus/prometheus-robot.values.yaml index 82e64681..351cd9ca 100644 --- a/src/app_charts/prometheus/prometheus-robot.values.yaml +++ b/src/app_charts/prometheus/prometheus-robot.values.yaml @@ -138,6 +138,26 @@ kubelet: - action: drop regex: "container_network.*|container_blkio.*|kubelet_.*|kubernetes_feature_enabled|container_fs.*|container_processes|container_last_seen|storage_operation_duration_seconds_bucket" sourceLabels: [__name__] + cAdvisorMetricRelabelings: + # Drop high cardinality metrics from kubelet. (with metrics_path="/metrics/cadvisor") + - sourceLabels: [__name__] + action: drop + regex: 'container_cpu_(cfs_throttled_seconds_total|load_average_10s|system_seconds_total|user_seconds_total)' + - sourceLabels: [__name__] + action: drop + regex: 'container_fs_(io_current|io_time_seconds_total|io_time_weighted_seconds_total|reads_merged_total|sector_reads_total|sector_writes_total|writes_merged_total)' + - sourceLabels: [__name__] + action: drop + regex: 'container_memory_(mapped_file|swap)' + - sourceLabels: [__name__] + action: drop + regex: 'container_(file_descriptors|tasks_state|threads_max)' + - sourceLabels: [__name__] + action: drop + regex: 'container_spec.*|container_network.*' + - sourceLabels: [id, pod] + action: drop + regex: '.+;' relabelings: - sourceLabels: [__meta_kubernetes_pod_node_name] targetLabel: instance