Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support specifying otel-python-platform per container #3685

Open
mindw opened this issue Feb 2, 2025 · 0 comments
Open

Support specifying otel-python-platform per container #3685

mindw opened this issue Feb 2, 2025 · 0 comments
Labels
enhancement New feature or request needs triage

Comments

@mindw
Copy link

mindw commented Feb 2, 2025

Component(s)

auto-instrumentation

Is your feature request related to a problem? Please describe.

Multi container pods with mixed python platforms cannot be instrumented.

Describe the solution you'd like

if enable-multi-instrumentation is enabled,
otel-python-platform-container-<platform>: <container>[,container]* where platform is one of the supported platforms - currently glibc and musl
If the above is omitted for a container then value of otel-python-platform is used for all containers.
for example:

annotations:

  instrumentation.opentelemetry.io/inject-python: "true"
  instrumentation.opentelemetry.io/python-container-names: "myapp2,myapp3"
  instrumentation.opentelemetry.io/otel-python-platform-container-musl: "myapp3"

Describe alternatives you've considered

No response

Additional context

Support for musl annotations was introduced in #3332

@mindw mindw added enhancement New feature or request needs triage labels Feb 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs triage
Projects
None yet
Development

No branches or pull requests

1 participant