: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
feat(replay): add capture-diagnostics modal to event debug tab (#65490)
Paul D'Ambrabb54ceb651bd
diff --git a/frontend/src/scenes/activity/explore/EventDetails.tsx b/frontend/src/scenes/activity/explore/EventDetails.tsxindex 29f2fbb13ea5..6c217e5f6700 100644--- a/frontend/src/scenes/activity/explore/EventDetails.tsx+++ b/frontend/src/scenes/activity/explore/EventDetails.tsx@@ -11,6 +11,8 @@ import { LemonBanner } from 'lib/lemon-ui/LemonBanner'import { LemonButton } from 'lib/lemon-ui/LemonButton'import { LemonTableProps } from 'lib/lemon-ui/LemonTable'import { Link } from 'lib/lemon-ui/Link'+import { ReplayCaptureDiagnosticsModalButton } from 'scenes/session-recordings/components/ReplayCaptureDiagnosticsModalButton'+import { hasReplayDiagnosticSignals } from 'scenes/session-recordings/utils/replayCaptureDiagnostics'import { urls } from 'scenes/urls'import { KNOWN_PROMOTED_PROPERTY_PARENTS } from '~/taxonomy/taxonomy'@@ -186,6 +188,11 @@ export function EventDetails({ event, tableProps }: EventDetailsProps): JSX.Elemdefault:return (<div className="mx-3">+ {tabKey === 'debug_properties' && hasReplayDiagnosticSignals(properties) && (+ <div className="mb-2">+ <ReplayCaptureDiagnosticsModalButton eventProperties={properties} />+ </div>+ )}<PropertiesTabletype={PropertyDefinitionType.Event}properties={properties}diff --git a/frontend/src/scenes/session-recordings/components/ReplayCaptureDiagnosticsModalButton.tsx b/frontend/src/scenes/session-recordings/components/ReplayCaptureDiagnosticsModalButton.tsxnew file mode 100644index 000000000000..9ae331779279--- /dev/null+++ b/frontend/src/scenes/session-recordings/components/ReplayCaptureDiagnosticsModalButton.tsx@@ -0,0 +1,38 @@+import { useState } from 'react'++import { IconVideoCamera } from '@posthog/icons'++import { LemonButton } from 'lib/lemon-ui/LemonButton'+import { LemonModal } from 'lib/lemon-ui/LemonModal'++import { ReplayCaptureDiagnosticsPanel } from './ReplayCaptureDiagnosticsPanel'++export function ReplayCaptureDiagnosticsModalButton({+ eventProperties,+}: {+ eventProperties: Record<string, any>+}): JSX.Element {+ const [isOpen, setIsOpen] = useState(false)++ return (+ <>+ <LemonButton+ type="secondary"+ size="small"+ icon={<IconVideoCamera />}+ onClick={() => setIsOpen(true)}+ data-attr="check-session-recording-status"+ >+ Check session recording status+ </LemonButton>+ <LemonModal+ isOpen={isOpen}+ onClose={() => setIsOpen(false)}+ title="Session recording diagnosis"+ width={600}+ >+ <ReplayCaptureDiagnosticsPanel eventProperties={eventProperties} />+ </LemonModal>+ </>+ )+}diff --git a/frontend/src/scenes/session-recordings/components/ReplayCaptureDiagnosticsPanel.tsx b/frontend/src/scenes/session-recordings/components/ReplayCaptureDiagnosticsPanel.tsxindex 186a9461df49..076114cc3613 100644--- a/frontend/src/scenes/session-recordings/components/ReplayCaptureDiagnosticsPanel.tsx+++ b/frontend/src/scenes/session-recordings/components/ReplayCaptureDiagnosticsPanel.tsx@@ -36,20 +36,34 @@ const START_REASON_EXPLANATIONS: Record<string, string> = {}const explainValue = (key: string, value: unknown): string | null => {- if (typeof value !== 'string') {- return null- }switch (key) {case '$recording_status':- return RECORDING_STATUS_EXPLANATIONS[value] ?? null+ return typeof value === 'string' ? (RECORDING_STATUS_EXPLANATIONS[value] ?? null) : nullcase '$session_recording_start_reason':- return START_REASON_EXPLANATIONS[value] ?? null+ return typeof value === 'string' ? (START_REASON_EXPLANATIONS[value] ?? null) : nullcase '$sdk_debug_replay_url_trigger_status':case '$sdk_debug_replay_event_trigger_status':case '$sdk_debug_replay_linked_flag_trigger_status':- return TRIGGER_STATUS_EXPLANATIONS[value] ?? null+ return typeof value === 'string' ? (TRIGGER_STATUS_EXPLANATIONS[value] ?? null) : nullcase '$sdk_debug_recording_script_not_loaded':return 'The SDK reported the recorder script was not loaded on the page — often caused by ad blockers.'+ case '$sdk_debug_rrweb_start_attempted':+ if (value === true) {+ return 'The SDK attempted to start the recorder.'+ }+ return value === false ? 'The SDK never attempted to start the recorder for this session.' : null+ case '$sdk_debug_rrweb_attached':+ if (value === true) {+ return 'The recorder is attached and capturing.'+ }+ return value === false ? 'The recorder is not attached, so no snapshots are being captured.' : null+ case '$sdk_debug_replay_trigger_groups_count':+ return 'The number of V2 trigger groups configured for this project.'+ case '$replay_override_sampling':+ case '$replay_override_linked_flag':+ case '$replay_override_url_trigger':+ case '$replay_override_event_trigger':+ return value === true ? 'Recording was force-started, ignoring this gating config.' : nulldefault:return null}@@ -88,6 +102,7 @@ const BANNER_TYPE_BY_VERDICT: Record<DiagnosisVerdict, LemonBannerProps['type']>trigger_pending: 'info',sampled_out: 'info',buffering_empty: 'info',+ recorder_error: 'warning',unknown: 'info',}@@ -123,7 +138,11 @@ function DiagnosisContent({ diagnosis }: { diagnosis: ReplayCaptureDiagnosis }):{key: 'raw-signals',header: 'Raw diagnostic signals',- content: <ExplainedSignalList signals={diagnosis.rawSignals} />,+ content: (+ <div className="max-h-[40vh] overflow-y-auto">+ <ExplainedSignalList signals={diagnosis.rawSignals} />+ </div>+ ),},]}/>diff --git a/frontend/src/scenes/session-recordings/utils/replayCaptureDiagnostics.test.ts b/frontend/src/scenes/session-recordings/utils/replayCaptureDiagnostics.test.tsindex 0ee63f7221e3..2f3c28777991 100644--- a/frontend/src/scenes/session-recordings/utils/replayCaptureDiagnostics.test.ts+++ b/frontend/src/scenes/session-recordings/utils/replayCaptureDiagnostics.test.ts@@ -1,4 +1,4 @@-import { DiagnosisVerdict, diagnoseReplayCapture } from './replayCaptureDiagnostics'+import { DiagnosisVerdict, diagnoseReplayCapture, hasReplayDiagnosticSignals } from './replayCaptureDiagnostics'type Case = {name: string@@ -87,6 +87,35 @@ describe('diagnoseReplayCapture', () => {},expected: 'captured',},+ {+ name: 'reported rrweb error → recorder_error',+ properties: {+ $recording_status: 'buffering',+ $sdk_debug_replay_rrweb_error: 'TypeError: boom',+ },+ expected: 'recorder_error',+ },+ {+ name: 'rrweb error outranks a pending trigger',+ properties: {+ $recording_status: 'buffering',+ $sdk_debug_replay_event_trigger_status: 'trigger_pending',+ $sdk_debug_replay_rrweb_error: 'boom',+ },+ expected: 'recorder_error',+ },+ {+ // rrweb is started during buffering, so an unattached recorder with no reported error+ // is a normal sampled-out / torn-down session, not a failure.+ name: 'unattached recorder without an error is not mislabelled as recorder_error',+ properties: {+ $recording_status: 'buffering',+ $sdk_debug_rrweb_start_attempted: true,+ $sdk_debug_rrweb_attached: false,+ $session_recording_start_reason: 'sampled_out',+ },+ expected: 'sampled_out',+ },{name: 'string-valued flushed size is coerced to a number',properties: {@@ -245,6 +274,30 @@ describe('diagnoseReplayCapture', () => {expect(result.reasons[0]).not.toContain('linked flag trigger')})+ it('recorder_error surfaces the rrweb error message when present', () => {+ const result = diagnoseReplayCapture({+ $recording_status: 'buffering',+ $sdk_debug_replay_rrweb_error: 'boom',+ })+ expect(result.verdict).toBe('recorder_error')+ expect(result.reasons.some((r) => r.includes('boom'))).toBe(true)+ })++ it('preserves newly added replay debug keys in rawSignals', () => {+ const result = diagnoseReplayCapture({+ $replay_override_sampling: true,+ $sdk_debug_rrweb_attached: false,+ $sdk_debug_replay_trigger_groups_count: 3,+ $session_recording_event_trigger_activated_session: 'abc',+ $not_a_signal: 'ignored',+ })+ expect(result.rawSignals).toHaveProperty('$replay_override_sampling')+ expect(result.rawSignals).toHaveProperty('$sdk_debug_rrweb_attached')+ expect(result.rawSignals).toHaveProperty('$sdk_debug_replay_trigger_groups_count')+ expect(result.rawSignals).toHaveProperty('$session_recording_event_trigger_activated_session')+ expect(result.rawSignals).not.toHaveProperty('$not_a_signal')+ })+it('preserves all known diagnostic keys in rawSignals', () => {const properties = {$has_recording: false,@@ -265,3 +318,21 @@ describe('diagnoseReplayCapture', () => {expect(result.rawSignals).not.toHaveProperty('$some_other_prop')})})++describe('hasReplayDiagnosticSignals', () => {+ it('returns false for nullish or empty properties', () => {+ expect(hasReplayDiagnosticSignals(undefined)).toBe(false)+ expect(hasReplayDiagnosticSignals(null)).toBe(false)+ expect(hasReplayDiagnosticSignals({})).toBe(false)+ })++ it('returns false when no recording diagnostic signals are present', () => {+ expect(hasReplayDiagnosticSignals({ $browser: 'Chrome', some_custom_prop: 1 })).toBe(false)+ })++ it('returns true when at least one recording diagnostic signal is present', () => {+ expect(hasReplayDiagnosticSignals({ $recording_status: 'buffering' })).toBe(true)+ expect(hasReplayDiagnosticSignals({ $sdk_debug_replay_event_trigger_status: 'trigger_pending' })).toBe(true)+ expect(hasReplayDiagnosticSignals({ $has_recording: false })).toBe(true)+ })+})diff --git a/frontend/src/scenes/session-recordings/utils/replayCaptureDiagnostics.ts b/frontend/src/scenes/session-recordings/utils/replayCaptureDiagnostics.tsindex a24827273800..5ab3f9a3d9ff 100644--- a/frontend/src/scenes/session-recordings/utils/replayCaptureDiagnostics.ts+++ b/frontend/src/scenes/session-recordings/utils/replayCaptureDiagnostics.ts@@ -7,6 +7,7 @@ export type DiagnosisVerdict =| 'trigger_pending'| 'sampled_out'| 'buffering_empty'+ | 'recorder_error'| 'unknown'export interface SuggestedAction {@@ -29,21 +30,38 @@ const DIAGNOSTIC_KEYS = ['$session_recording_url_trigger_activated_session','$session_recording_url_trigger_status','$session_recording_remote_config',+ '$session_recording_event_trigger_activated_session','$sdk_debug_replay_url_trigger_status','$sdk_debug_replay_event_trigger_status','$sdk_debug_replay_linked_flag_trigger_status',+ '$sdk_debug_replay_trigger_groups_count',+ '$sdk_debug_replay_matched_recording_trigger_groups','$sdk_debug_replay_internal_buffer_length','$sdk_debug_replay_internal_buffer_size','$sdk_debug_replay_flushed_size','$sdk_debug_replay_remote_trigger_matching_config','$sdk_debug_recording_script_not_loaded',+ '$sdk_debug_rrweb_start_attempted',+ '$sdk_debug_rrweb_attached',+ '$sdk_debug_replay_rrweb_error','$sdk_debug_session_start','$replay_sample_rate','$replay_minimum_duration',+ '$replay_override_sampling',+ '$replay_override_linked_flag',+ '$replay_override_url_trigger',+ '$replay_override_event_trigger',] as constconst TROUBLESHOOTING_URL = 'https://posthog.com/docs/session-replay/troubleshooting'+export function hasReplayDiagnosticSignals(properties: Record<string, any> | null | undefined): boolean {+ if (!properties) {+ return false+ }+ return DIAGNOSTIC_KEYS.some((key) => properties[key] !== undefined)+}+const pickSignals = (properties: Record<string, any>): Record<string, unknown> => {const out: Record<string, unknown> = {}for (const key of DIAGNOSTIC_KEYS) {@@ -77,6 +95,7 @@ export function diagnoseReplayCapture(eventProperties: Record<string, any> | nulconst bufferLength = toNumber(properties['$sdk_debug_replay_internal_buffer_length'])const flushedSize = toNumber(properties['$sdk_debug_replay_flushed_size'])const scriptNotLoaded = properties['$sdk_debug_recording_script_not_loaded']+ const rrwebError = properties['$sdk_debug_replay_rrweb_error']const settingsAction: SuggestedAction = {label: 'Open replay settings',@@ -126,6 +145,22 @@ export function diagnoseReplayCapture(eventProperties: Record<string, any> | nul}}+ // A reported rrweb error is the unambiguous signal that the recorder failed. The recorder is+ // started during buffering — before sampling/triggers resolve — so the attach flags alone+ // can't tell a real failure apart from a normal sampled-out or torn-down session.+ if (rrwebError) {+ return {+ verdict: 'recorder_error',+ headline: 'The recorder failed to start',+ reasons: [+ 'The SDK started the rrweb recorder for this session but it reported an error, so no snapshots were produced.',+ `rrweb reported: ${typeof rrwebError === 'string' ? rrwebError : JSON.stringify(rrwebError)}.`,+ ],+ rawSignals,+ suggestedActions: [troubleshootingAction],+ }+ }+const triggers = [{ key: 'URL trigger', status: urlTrigger },{ key: 'event trigger', status: eventTrigger },diff --git a/frontend/src/taxonomy/core-filter-definitions-by-group.json b/frontend/src/taxonomy/core-filter-definitions-by-group.jsonindex eef7de5d2cbb..81995c010034 100644--- a/frontend/src/taxonomy/core-filter-definitions-by-group.json+++ b/frontend/src/taxonomy/core-filter-definitions-by-group.json@@ -2591,6 +2591,30 @@"system": true,"used_for_debug": true},+ "$replay_override_event_trigger": {+ "description": "Recording was force-started, ignoring the event trigger config (e.g. via startSessionRecording({ trigger: 'event' })).",+ "label": "Replay event trigger overridden",+ "type": "Boolean",+ "used_for_debug": true+ },+ "$replay_override_linked_flag": {+ "description": "Recording was force-started, ignoring the linked flag config (e.g. via startSessionRecording({ linked_flag: true })).",+ "label": "Replay linked flag overridden",+ "type": "Boolean",+ "used_for_debug": true+ },+ "$replay_override_sampling": {+ "description": "Recording was force-started, ignoring the sampling config (e.g. via startSessionRecording({ sampling: true })).",+ "label": "Replay sampling overridden",+ "type": "Boolean",+ "used_for_debug": true+ },+ "$replay_override_url_trigger": {+ "description": "Recording was force-started, ignoring the URL trigger config (e.g. via startSessionRecording({ trigger: 'url' })).",+ "label": "Replay URL trigger overridden",+ "type": "Boolean",+ "used_for_debug": true+ },"$replay_sample_rate": {"description": "Config for sampling rate of session recordings.","examples": [@@ -2650,6 +2674,12 @@"type": "Numeric","used_for_debug": true},+ "$sdk_debug_error_capturing_properties": {+ "description": "An error message recorded if the SDK threw while gathering properties for an event.",+ "label": "Error capturing properties",+ "type": "String",+ "used_for_debug": true+ },"$sdk_debug_extensions_init_method": {"description": "The method used to initialize PostHog.js extensions.","examples": [@@ -2727,6 +2757,11 @@"type": "String","used_for_debug": true},+ "$sdk_debug_replay_matched_recording_trigger_groups": {+ "description": "The V2 recording trigger groups evaluated for this session, including each group's name and whether it matched and was sampled.",+ "label": "Matched recording trigger groups",+ "used_for_debug": true+ },"$sdk_debug_replay_remote_trigger_matching_config": {"description": "Whether to match on all or any triggers.","examples": [@@ -2742,6 +2777,15 @@"label": "Replay rrweb error","used_for_debug": true},+ "$sdk_debug_replay_trigger_groups_count": {+ "description": "The number of V2 recording trigger groups configured for this project.",+ "examples": [+ 2+ ],+ "label": "Recording trigger groups count",+ "type": "Numeric",+ "used_for_debug": true+ },"$sdk_debug_replay_url_trigger_status": {"description": "The status of the recording url trigger.","examples": [@@ -2763,6 +2807,18 @@"system": true,"used_for_debug": true},+ "$sdk_debug_rrweb_attached": {+ "description": "Whether the rrweb recorder is currently attached and capturing for this session.",+ "label": "rrweb attached",+ "type": "Boolean",+ "used_for_debug": true+ },+ "$sdk_debug_rrweb_start_attempted": {+ "description": "Whether the SDK attempted to start the rrweb recorder for this session.",+ "label": "rrweb start attempted",+ "type": "Boolean",+ "used_for_debug": true+ },"$sdk_debug_session_start": {"description": "The timestamp of the session start for the current session id. Not necessarily the same as SDK init time.","label": "Session start",@@ -3035,6 +3091,12 @@"system": true,"used_for_debug": true},+ "$session_recording_event_trigger_activated_session": {+ "description": "Session recording event trigger activated session config. Used by posthog-js to track event activation of session replay.",+ "label": "Session recording event trigger activated session",+ "system": true,+ "used_for_debug": true+ },"$session_recording_masking": {"description": "The masking configuration for the session recording.","label": "Replay config - masking",@@ -3952,7 +4014,7 @@"label": "Deep link opened"},"mcp feedback submitted": {- "description": "Fires when feedback is submitted through the MCP server's feedback tool — about any PostHog product, the MCP server itself, or the docs.",+ "description": "Fires when feedback is submitted through the MCP server's feedback tool \u2014 about any PostHog product, the MCP server itself, or the docs.","label": "MCP feedback submitted"},"mcp init": {@@ -7026,6 +7088,30 @@"system": true,"used_for_debug": true},+ "$replay_override_event_trigger": {+ "description": "Recording was force-started, ignoring the event trigger config (e.g. via startSessionRecording({ trigger: 'event' })).",+ "label": "Replay event trigger overridden",+ "type": "Boolean",+ "used_for_debug": true+ },+ "$replay_override_linked_flag": {+ "description": "Recording was force-started, ignoring the linked flag config (e.g. via startSessionRecording({ linked_flag: true })).",+ "label": "Replay linked flag overridden",+ "type": "Boolean",+ "used_for_debug": true+ },+ "$replay_override_sampling": {+ "description": "Recording was force-started, ignoring the sampling config (e.g. via startSessionRecording({ sampling: true })).",+ "label": "Replay sampling overridden",+ "type": "Boolean",+ "used_for_debug": true+ },+ "$replay_override_url_trigger": {+ "description": "Recording was force-started, ignoring the URL trigger config (e.g. via startSessionRecording({ trigger: 'url' })).",+ "label": "Replay URL trigger overridden",+ "type": "Boolean",+ "used_for_debug": true+ },"$replay_sample_rate": {"description": "Config for sampling rate of session recordings.","examples": [@@ -7085,6 +7171,12 @@"type": "Numeric","used_for_debug": true},+ "$sdk_debug_error_capturing_properties": {+ "description": "An error message recorded if the SDK threw while gathering properties for an event.",+ "label": "Error capturing properties",+ "type": "String",+ "used_for_debug": true+ },"$sdk_debug_extensions_init_method": {"description": "The method used to initialize PostHog.js extensions.","examples": [@@ -7162,6 +7254,11 @@"type": "String","used_for_debug": true},+ "$sdk_debug_replay_matched_recording_trigger_groups": {+ "description": "The V2 recording trigger groups evaluated for this session, including each group's name and whether it matched and was sampled.",+ "label": "Matched recording trigger groups",+ "used_for_debug": true+ },"$sdk_debug_replay_remote_trigger_matching_config": {"description": "Whether to match on all or any triggers.","examples": [@@ -7177,6 +7274,15 @@"label": "Replay rrweb error","used_for_debug": true},+ "$sdk_debug_replay_trigger_groups_count": {+ "description": "The number of V2 recording trigger groups configured for this project.",+ "examples": [+ 2+ ],+ "label": "Recording trigger groups count",+ "type": "Numeric",+ "used_for_debug": true+ },"$sdk_debug_replay_url_trigger_status": {"description": "The status of the recording url trigger.","examples": [@@ -7198,6 +7304,18 @@"system": true,"used_for_debug": true},+ "$sdk_debug_rrweb_attached": {+ "description": "Whether the rrweb recorder is currently attached and capturing for this session.",+ "label": "rrweb attached",+ "type": "Boolean",+ "used_for_debug": true+ },+ "$sdk_debug_rrweb_start_attempted": {+ "description": "Whether the SDK attempted to start the rrweb recorder for this session.",+ "label": "rrweb start attempted",+ "type": "Boolean",+ "used_for_debug": true+ },"$sdk_debug_session_start": {"description": "The timestamp of the session start for the current session id. Not necessarily the same as SDK init time.","label": "Session start",@@ -7461,6 +7579,12 @@"system": true,"used_for_debug": true},+ "$session_recording_event_trigger_activated_session": {+ "description": "Session recording event trigger activated session config. Used by posthog-js to track event activation of session replay.",+ "label": "Session recording event trigger activated session",+ "system": true,+ "used_for_debug": true+ },"$session_recording_masking": {"description": "The masking configuration for the session recording.","label": "Replay config - masking",diff --git a/posthog/taxonomy/taxonomy.py b/posthog/taxonomy/taxonomy.pyindex 8b49d6260608..c3cb39e4154d 100644--- a/posthog/taxonomy/taxonomy.py+++ b/posthog/taxonomy/taxonomy.py@@ -557,6 +557,60 @@ CORE_FILTER_DEFINITIONS_BY_GROUP: dict[str, dict[str, CoreFilterDefinition]] = {"type": "String","used_for_debug": True,},+ "$sdk_debug_replay_trigger_groups_count": {+ "label": "Recording trigger groups count",+ "description": "The number of V2 recording trigger groups configured for this project.",+ "examples": [2],+ "type": "Numeric",+ "used_for_debug": True,+ },+ "$sdk_debug_replay_matched_recording_trigger_groups": {+ "label": "Matched recording trigger groups",+ "description": "The V2 recording trigger groups evaluated for this session, including each group's name and whether it matched and was sampled.",+ "used_for_debug": True,+ },+ "$sdk_debug_rrweb_start_attempted": {+ "label": "rrweb start attempted",+ "description": "Whether the SDK attempted to start the rrweb recorder for this session.",+ "type": "Boolean",+ "used_for_debug": True,+ },+ "$sdk_debug_rrweb_attached": {+ "label": "rrweb attached",+ "description": "Whether the rrweb recorder is currently attached and capturing for this session.",+ "type": "Boolean",+ "used_for_debug": True,+ },+ "$sdk_debug_error_capturing_properties": {+ "label": "Error capturing properties",+ "description": "An error message recorded if the SDK threw while gathering properties for an event.",+ "type": "String",+ "used_for_debug": True,+ },+ "$replay_override_sampling": {+ "label": "Replay sampling overridden",+ "description": "Recording was force-started, ignoring the sampling config (e.g. via startSessionRecording({ sampling: true })).",+ "type": "Boolean",+ "used_for_debug": True,+ },+ "$replay_override_linked_flag": {+ "label": "Replay linked flag overridden",+ "description": "Recording was force-started, ignoring the linked flag config (e.g. via startSessionRecording({ linked_flag: true })).",+ "type": "Boolean",+ "used_for_debug": True,+ },+ "$replay_override_url_trigger": {+ "label": "Replay URL trigger overridden",+ "description": "Recording was force-started, ignoring the URL trigger config (e.g. via startSessionRecording({ trigger: 'url' })).",+ "type": "Boolean",+ "used_for_debug": True,+ },+ "$replay_override_event_trigger": {+ "label": "Replay event trigger overridden",+ "description": "Recording was force-started, ignoring the event trigger config (e.g. via startSessionRecording({ trigger: 'event' })).",+ "type": "Boolean",+ "used_for_debug": True,+ },"$sdk_debug_replay_full_snapshots": {"label": "Replay full snapshots debug info","description": "Debug information about full snapshots in the replay session.",@@ -1120,6 +1174,12 @@ CORE_FILTER_DEFINITIONS_BY_GROUP: dict[str, dict[str, CoreFilterDefinition]] = {"system": True,"used_for_debug": True,},+ "$session_recording_event_trigger_activated_session": {+ "label": "Session recording event trigger activated session",+ "description": "Session recording event trigger activated session config. Used by posthog-js to track event activation of session replay.",+ "system": True,+ "used_for_debug": True,+ },"$session_recording_url_trigger_status": {"label": "Session recording URL trigger status","description": "Session recording URL trigger status. Used by posthog-js to track URL activation of session replay.",