You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*Issue #, if available:*
ADOT SDK instrumentation Docker Images only support `cp -a` copy command
so that the [CWAgentOperator can
extract](https://github.com/aws/amazon-cloudwatch-agent-operator/blob/main/pkg/instrumentation/nodejs.go#L65)
the instrumentation SDK via `cp -a`, but upstream OTel Operator has
[changed a few months
ago](open-telemetry/opentelemetry-operator@4cd6dcb)
to use `cp -r` instead of `-a` to copy files from the OTel SDK
Instrumentation Images. Today, OTel Operator is not compatible with some
of the ADOT SDKs, and in the future, CWAgent Operator may also change to
use `cp -r` as well
*Description of changes:*
- Copy changes from Java's PR to add `cp -r` support -
aws-observability/aws-otel-java-instrumentation#843
- Modify the above `cp -r` support with bug fix implemented in Python's
`cp -a` command -
#214 (comment)
*Testing:*
- Tested on PetClinic Sample App's Python Services with latest OTel
Operator + Collector

By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.
0 commit comments