Instrument Python applications for Splunk Observability Cloud

Instrument Python applications to export spans and metrics to Splunk Observability Cloud.

The Splunk Distribution of OpenTelemetry Python (splunk-otel-python), also called the Splunk Python agent, provides multiple installable packages that automatically instrument your Python application to capture and report distributed traces to Splunk APM. Instrumentation works by patching supported libraries at run-time with an OpenTelemetry-compatible tracer to capture and export trace spans.

To instrument your Python application:

  1. Check compatibility and requirements.

  2. Install the Splunk Python agent.

  3. Configure the Splunk Python agent with the instrumentation you need.

Learn more about the Splunk Python agent.

Important: The SignalFx Python agent is deprecated and reached End of Support on December 17th, 2022. To migrate to the Splunk Distribution of OpenTelemetry Python, see Migrate from the SignalFx Tracing Library for Python.