Python Auto-instrumentation
The Python auto-instrumentation provides automatic telemetry collection for Python applications, including popular frameworks like Django, Flask, FastAPI, and many others. This instrumentation captures traces, metrics, and logs from Python applications without requiring code modifications.
The Operator injects the OpenTelemetry Python automatic instrumentation into Python application containers, configuring it to instrument common libraries and frameworks automatically. This enables comprehensive observability for Python workloads running in Kubernetes.
Enabling Python Instrumentation
To enable auto-instrumentation for Python applications, annotate your pod or namespace:
The Operator will automatically inject the instrumentation components and configure the Python runtime to load them at startup.
Configuration Reference
For detailed configuration options, supported libraries, and advanced usage scenarios, refer to the official OpenTelemetry Operator documentation: