From 3c3e7207b3732fdaaa73c30cf3b6c77457a0cafa Mon Sep 17 00:00:00 2001 From: Yosef Mihretie Date: Wed, 21 Aug 2024 10:47:05 -0400 Subject: [PATCH] fix regex for excluding agent logs/metrics/traces --- addons/datadog/values.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/datadog/values.yaml b/addons/datadog/values.yaml index 12625bf54..ce654c7eb 100644 --- a/addons/datadog/values.yaml +++ b/addons/datadog/values.yaml @@ -796,7 +796,7 @@ datadog: # Autodiscovery, as a space-sepatered list ## ref: https://docs.datadoghq.com/agent/guide/autodiscovery-management/?tab=containerizedagent#exclude-containers - containerExclude: 'kube_namespace:cert-manager kube_namespace:ingress-nginx kube_namespace:kube-system kube_namespace:monitoring kube_namespace:porter-agent-system kube_namespace:telemetry image:^gcr.io/datadoghq/agent$' + containerExclude: 'kube_namespace:cert-manager kube_namespace:ingress-nginx kube_namespace:kube-system kube_namespace:monitoring kube_namespace:porter-agent-system kube_namespace:telemetry image:^gcr.io/datadoghq/agent:.*' # datadog.containerInclude -- Include containers in the Agent Autodiscovery, # as a space-separated list. If a container matches an include rule, it’s @@ -807,7 +807,7 @@ datadog: # datadog.containerExcludeLogs -- Exclude logs from the Agent Autodiscovery, # as a space-separated list - containerExcludeLogs: 'kube_namespace:cert-manager kube_namespace:ingress-nginx kube_namespace:kube-system kube_namespace:monitoring kube_namespace:porter-agent-system kube_namespace:telemetry image:^gcr.io/datadoghq/agent$' + containerExcludeLogs: 'kube_namespace:cert-manager kube_namespace:ingress-nginx kube_namespace:kube-system kube_namespace:monitoring kube_namespace:porter-agent-system kube_namespace:telemetry image:^gcr.io/datadoghq/agent:.*' # datadog.containerIncludeLogs -- Include logs in the Agent Autodiscovery, as # a space-separated list @@ -815,7 +815,7 @@ datadog: # datadog.containerExcludeMetrics -- Exclude metrics from the Agent # Autodiscovery, as a space-separated list - containerExcludeMetrics: 'kube_namespace:cert-manager kube_namespace:ingress-nginx kube_namespace:kube-system kube_namespace:monitoring kube_namespace:porter-agent-system kube_namespace:telemetry image:^gcr.io/datadoghq/agent$' + containerExcludeMetrics: 'kube_namespace:cert-manager kube_namespace:ingress-nginx kube_namespace:kube-system kube_namespace:monitoring kube_namespace:porter-agent-system kube_namespace:telemetry image:^gcr.io/datadoghq/agent:.*' # datadog.containerIncludeMetrics -- Include metrics in the Agent # Autodiscovery, as a space-separated list