:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
import * as xRayPng from '@posthog/brand/hoggies/png/x-ray'
import { IconListTree } from '@posthog/icons'
import { pngHoggie } from 'lib/brand/hoggies'
import type { SceneProductEmptyState } from 'lib/components/ProductEmptyState/types'
import { ProductKey } from '~/queries/schema/schema-general'
import { TRACING_DOCS_URL } from '../traceLinks'
import { TracingPreview } from './TracingPreview'
import { tracingSetupLogic } from './tracingSetupLogic'
const HedgehogXRay = pngHoggie(xRayPng)
export const tracingEmptyState: SceneProductEmptyState = {
statusLogic: tracingSetupLogic,
config: {
productKey: ProductKey.TRACING,
productName: 'Tracing',
icon: <IconListTree />,
accentColor: 'var(--color-product-tracing-light)',
accentColorDark: 'var(--color-product-tracing-dark)',
hedgehog: HedgehogXRay,
text: {
'needs-setup': {
headline: 'See where every request spends its time',
lead: 'Send spans from the PostHog Node.js or Python SDK, or from any OpenTelemetry-compatible client over OTLP. Follow a request across services, find the span that slows it down, and watch latency over time.',
},
},
docsUrl: TRACING_DOCS_URL,
previewLabel: 'Your traces, once connected',
Preview: TracingPreview,
},
}