diff --git a/deploy/helm/metrics-discovery-config.yaml b/deploy/helm/metrics-discovery-config.yaml index 1bd7dc05..3ea684fa 100644 --- a/deploy/helm/metrics-discovery-config.yaml +++ b/deploy/helm/metrics-discovery-config.yaml @@ -97,7 +97,7 @@ processors: filter/histograms: metrics: metric: - - 'type == METRIC_DATA_TYPE_HISTOGRAM and not(name == "k8s.apiserver_request_duration_seconds" or name == "k8s.workqueue_queue_duration_seconds" or name == "k8s.coredns_dns_request_duration_seconds" or name == "k8s.coredns_dns_request_size_bytes" or name == "k8s.coredns_dns_response_size_bytes")' + - 'type == METRIC_DATA_TYPE_HISTOGRAM and not(name == "k8s.rest_client_request_duration_seconds" or name == "k8s.workqueue_queue_duration_seconds")' {{- if .Values.otel.metrics.autodiscovery.prometheusEndpoints.filter }} filter/metrics-discovery: diff --git a/deploy/helm/tests/__snapshot__/metrics-discovery-config-map_test.yaml.snap b/deploy/helm/tests/__snapshot__/metrics-discovery-config-map_test.yaml.snap index 08789ede..94dbc252 100644 --- a/deploy/helm/tests/__snapshot__/metrics-discovery-config-map_test.yaml.snap +++ b/deploy/helm/tests/__snapshot__/metrics-discovery-config-map_test.yaml.snap @@ -34,9 +34,8 @@ Metrics discovery config should match snapshot when Fargate is enabled: filter/histograms: metrics: metric: - - type == METRIC_DATA_TYPE_HISTOGRAM and not(name == "k8s.apiserver_request_duration_seconds" - or name == "k8s.workqueue_queue_duration_seconds" or name == "k8s.coredns_dns_request_duration_seconds" - or name == "k8s.coredns_dns_request_size_bytes" or name == "k8s.coredns_dns_response_size_bytes") + - type == METRIC_DATA_TYPE_HISTOGRAM and not(name == "k8s.rest_client_request_duration_seconds" + or name == "k8s.workqueue_queue_duration_seconds") filter/remove_temporary_metrics: metrics: metric: