From 9e162565fdb00f34f6ae69850a885e1f4f68782d Mon Sep 17 00:00:00 2001 From: Horiodino Date: Fri, 7 Jun 2024 21:59:33 +0530 Subject: [PATCH] added changelog Signed-off-by: Horiodino --- .chloggen/extract-resources-ns.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 .chloggen/extract-resources-ns.yaml diff --git a/.chloggen/extract-resources-ns.yaml b/.chloggen/extract-resources-ns.yaml new file mode 100755 index 0000000000..efdee14a6e --- /dev/null +++ b/.chloggen/extract-resources-ns.yaml @@ -0,0 +1,19 @@ +change_type: enhancement + +component: instrumentation + +note: "Modified the logic for iterating over pod annotations, utilizing pod.GetAnnotations() to identify and extract resources using the specified namespace prefix (constants.OtelAnnotationNamespace)." + +issues: + - https://github.com/open-telemetry/opentelemetry-operator/issues/2181 + + +subtext: | + Modified files: + - pkg/constants/env.go + - pkg/instrumentation/sdk.go + - pkg/instrumentation/sdk_test.go + + Implemented the use of the OpenTelemetry.io namespace for extracting resource annotations from Kubernetes pods. + + Enhanced handling to streamline the extraction process and avoid overwriting existing resource mappings.