PostHog Distributed Tracing works with the OpenTelemetry Protocol (OTLP). Use standard
- OpenTelemetry libraries to send spans to PostHog using your project token. On Node.js,{' '}
- posthog-node can also create and export spans itself, with no OpenTelemetry
- dependency – see the{' '}
- Node.js guide.
+ OpenTelemetry libraries to send spans to PostHog using your project token. On Node.js and
+ Python, the PostHog SDK can also create and export spans itself, with no OpenTelemetry
+ dependency – see the Node.js and{' '}
+ Python guides.
Distributed tracing is currently in beta. Setup details may change before general availability. @@ -30,8 +30,8 @@ export const Content = () => {
posthog-node's own span
- API.
+ required. Works with any compatible client, or with the span API in{' '}
+ posthog-node and posthog for Python.