
Observability Edot Python Instrument
This automates the setup of Elastic's OpenTelemetry Python agent for tracing, metrics, and logs collection. You install elastic-opentelemetry, run edot-bootstrap to detect and instrument your dependencies, then wrap your app entrypoint with opentelemetry-instrument. The configuration is straightforward but prescriptive: you need exactly three environment variables (service name, OTLP endpoint, and auth header), and you should avoid mixing this with code-level SDK setup or the classic elastic-apm agent. It's designed for services that don't have any APM instrumentation yet. The skill follows Elastic's opinionated EDOT approach, which means less flexibility but also less room to misconfigure the agent and end up with broken telemetry.
- GitHub stars
- 503
- last updated
- Jun 1, 2026
Install
$ npx -y skills add elastic/agent-skills --skill observability-edot-python-instrument --agent claude-codeInstalls into .claude/skills of the current project.
Files
This automates the setup of Elastic's OpenTelemetry Python agent for tracing, metrics, and logs collection. You install elastic-opentelemetry, run edot-bootstrap to detect and instrument your dependencies, then wrap your app entrypoint with opentelemetry-instrument. The configuration is straightforward but prescriptive: you need exactly three environment variables (service name, OTLP endpoint, and auth header), and you should avoid mixing this with code-level SDK setup or the classic elastic-apm agent. It's designed for services that don't have any APM instrumentation yet. The skill follows Elastic's opinionated EDOT approach, which means less flexibility but also less room to misconfigure the agent and end up with broken telemetry.
Browse the repository on GitHubSponsors
Details
- Repository
- github.com/elastic/agent-skills
- Categories
- DevOps & CI/CD, AI & Agent Building, Python
- License
- Apache-2.0
- First seen
- Jun 11, 2026
More from elastic/agent-skills
All 57- Observability Edot Python Migrate
- Security Generate Security Sample Data
- Observability K8s Investigation
- Observability Llm Obs
- Observability Logs Search
- Cloud Manage Project
- Observability Manage Slos
- Cloud Network Security
- Observability Service Health
- Cloud Setup
- Kibana Streams
- Elasticsearch Esql5.2K
- Elasticsearch Onboarding4.7K
- Kibana Dashboards4.6K
- Security Case Management4.4K
- Kibana Alerting Rules4.3K
- Kibana Agent Builder4.3K
- Observability Llm Obs4.2K
- Security Alert Triage4.2K
- Security Detection Rule Management4.1K
- Security Generate Security Sample Data4.1K
- Kibana Anomaly Detection3.4K
- Observability K8s Investigation3.3K
- Observability Logs Search3.2K