From fcd445c380ddffa35c5f8f4a7806710b5c559ffd Mon Sep 17 00:00:00 2001 From: David Hope Date: Tue, 23 Jul 2024 16:12:23 -0400 Subject: [PATCH] add environment configuration to the collector --- kubernetes/elastic-helm/configmap-elastic.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kubernetes/elastic-helm/configmap-elastic.yaml b/kubernetes/elastic-helm/configmap-elastic.yaml index 5799301baa..dd1c50e35b 100644 --- a/kubernetes/elastic-helm/configmap-elastic.yaml +++ b/kubernetes/elastic-helm/configmap-elastic.yaml @@ -21,6 +21,11 @@ data: extensions: processors: batch: {} + resource: + attributes: + - key: deployment.environment + value: "opentelemetry-demo" + action: upsert receivers: httpcheck/frontendproxy: targets: @@ -63,6 +68,7 @@ data: - spanmetrics processors: - batch + - resource receivers: - otlp telemetry: