Loading...
Loading...
Instrument a Python application with the Elastic Distribution of OpenTelemetry (EDOT) Python agent for automatic tracing, metrics, and logs. Use when adding observability to a Python service that has no existing APM agent.
npx skill4agent add elastic/agent-skills observability-edot-python-instrumentelastic-opentelemetryrequirements.txtedot-bootstrap --action=installopentelemetry-instrumentopentelemetry-instrument gunicorn app:appopentelemetry-instrument python app.pyOTEL_SERVICE_NAMEOTEL_EXPORTER_OTLP_ENDPOINTapm-server:8200/intake/v2/eventsOTEL_EXPORTER_OTLP_HEADERS"Authorization=ApiKey <key>""Authorization=Bearer <token>"OTEL_TRACES_EXPORTEROTEL_METRICS_EXPORTEROTEL_LOGS_EXPORTERTracerProviderconfigure_azure_monitoropentelemetry-instrumentelastic-apm