Python Integration

Collect Python metrics and distributed traces with Guance DataKit in minutes. One-click setup, 30+ key metrics, full documentation.

Best practices
Python Integration

The Guance Python integration auto-instruments Django, Flask, and FastAPI through the ddtrace-compatible or OpenTelemetry SDK: install the package, point the exporter at DataKit, and traces flow without touching application code. Existing Datadog instrumentations migrate by changing only environment variables — see the quickstart linked from the APM guide below.

Related guideAPM Monitoring: The Complete 2026 Guide

Spec Detail
Collector DataKit input ddtrace / otlp
Protocol ddtrace-agent protocol or OTLP (traces)
Key metrics RED per service, trace waterfalls, GIL-adjacent latency signals via span timing
Prerequisites pip-install the tracing package; set DD_* or OTEL_* env vars to the DataKit endpoint
Dashboard Pre-built Python dashboard, auto-installed on first data
Deep dive APM Monitoring Guide

Set up in minutes — install DataKit, enable the ddtrace / otlp input, and your first Python metrics appear in Guance within about a minute. Full field list and alert-rule templates live in the APM Monitoring Guide.

Related guideObservability Fundamentals: The 2026 Guide

Get a tailored plan

Contact us

Join the community

Scan with WeChat
to join the community

Try Guance

Start online and pay only for what you use.

Get started

Choose a Guance plan

Code hosting