: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 { combineUrl } from 'kea-router'
import { urls } from 'scenes/urls'
/** Sidebar + deep-link id for the Tracing → Configuration → Retention setting. */
export const TRACING_RETENTION_SETTING_ID = 'tracing-retention' as const
/** Tracing scene, Configuration tab, environment tracing section, Retention item. */
export function tracingRetentionSettingsUrl(): string {
return combineUrl(
urls.tracing(),
{
activeTab: 'configuration',
section: 'environment-tracing',
setting: TRACING_RETENTION_SETTING_ID,
},
{ selectedSetting: TRACING_RETENTION_SETTING_ID }
).url
}