diff --git a/.chloggen/extract-resources-ns.yaml b/.chloggen/extract-resources-ns.yaml new file mode 100755 index 0000000000..36fc2c2f85 --- /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.ReservedNamespace)." + +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.