: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 { EmptyMessage } from 'lib/components/EmptyMessage/EmptyMessage'
import { AIObservabilityInstrumentationCheckEnumApi } from './generated/api.schemas'
import { useInstrumentationWarning } from './hooks/useInstrumentationEmptyState'
export function AIObservabilitySessionsEmptyState(): JSX.Element {
const warning = useInstrumentationWarning(AIObservabilityInstrumentationCheckEnumApi.Sessions)
if (!warning) {
return <div className="p-4 text-center text-sm text-secondary">No sessions yet</div>
}
return (
<EmptyMessage
title="Traces are not grouped into sessions"
description={warning.detail}
buttonText="Learn more"
buttonTo={warning.docs_url}
buttonDataAttr="llma-sessions-instrumentation-docs"
size="small"
/>
)
}