Instrument Python applications for Splunk Observability Cloud

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

Note: New customers should use the Splunk OpenTelemetry Python agent version 2.0. Existing customers should consider migrating to Splunk OpenTelemetry Python 2.0 or higher. See Migrate to the Splunk Python 2.0 instrumentation.

The Splunk Distribution of OpenTelemetry Python provides a Python agent that automatically adds APM instrumentation to your Python application. The instrumentation captures distributed traces and metrics and sends them to Splunk Observability Cloud.

To instrument your Python application, follow these steps:

  1. Check compatibility and requirements. See Python agent compatibility and requirements.

  2. Instrument your Python application. See Instrument your Python application for Splunk Observability Cloud.

  3. Configure your instrumentation. See Configure the Python agent.

For more information, see About the Splunk Distribution of OpenTelemetry Python.