observability-edot-python-instrument

Automates EDOT telemetry instrumentation for Python services via zero-code changes.

31|4|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/elastic/cursor-plugins --skill observability-edot-python-instrument
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: observability-edot-python-instrument
Source: https://github.com/elastic/cursor-plugins/tree/main/elastic/skills/observability/edot-python-instrument
Command: npx skills add https://github.com/elastic/cursor-plugins --skill observability-edot-python-instrument

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Python services often struggle to gain observability without invasive agent changes. EDOT Python instrumentation offers automatic tracing, metrics, and logs with minimal setup.

Core Features & Use Cases

  • Automatic Python library instrumentation via the EDOT agent for zero-code changes
  • Centralized telemetry sent to the EDOT Collector with minimal configuration
  • Use Case: add tracing and metrics to a legacy Python web service without modifying business logic

Quick Start

Install elastic-opentelemetry via pip, run edot-bootstrap --action=install during build, and wrap your app entrypoint with opentelemetry-instrument.

Frequently Asked Questions about observability-edot-python-instrument

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add OpenTelemetry tracing to a Python service without modifying code?

To add OpenTelemetry tracing without code changes, use EDOT Python instrumentation. It automatically instruments Python libraries via the EDOT agent and sends telemetry to the EDOT Collector with minimal configuration.

What environment variables are required for EDOT Python instrumentation?

EDOT Python instrumentation requires three environment variables: OTEL_SERVICE_NAME, OTEL_EXPORTER_OTLP_ENDPOINT, and OTEL_EXPORTER_OTLP_HEADERS. These configure the service identity and the telemetry exporter endpoint for the EDOT Collector.

Can I use EDOT to instrument a legacy Python web service for observability?

Yes, you can use EDOT to instrument a legacy Python web service. It applies automatic tracing, metrics, and logs to existing Python services without modifying business logic, requiring only minimal setup during the build phase.

What is the best way to automate Python telemetry instrumentation with OpenTelemetry?

The best way to automate Python telemetry instrumentation is using EDOT. It leverages edot-bootstrap for installation and opentelemetry-instrument to wrap your app entrypoint, providing zero-code automatic tracing, metrics, and logs.

How does automatic Python library instrumentation work with EDOT?

Automatic Python library instrumentation with EDOT works by using the EDOT agent to intercept library calls without code changes. You run edot-bootstrap during build and wrap the entrypoint with opentelemetry-instrument to generate telemetry.