Skip to content

Commit

Permalink
taxonomy spans
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra committed Dec 2, 2024
1 parent d8b8bed commit 3bac9d8
Showing 1 changed file with 33 additions and 47 deletions.
80 changes: 33 additions & 47 deletions frontend/src/lib/taxonomy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -279,16 +279,13 @@ export const CORE_FILTER_DEFINITIONS_BY_GROUP = {
},
$lib_rate_limit_remaining_tokens: {
label: 'Clientside rate limit remaining tokens',
description: (
<span>
Remaining rate limit tokens for the posthog-js library client-side rate limiting implementation.
</span>
),
description:
'Remaining rate limit tokens for the posthog-js library client-side rate limiting implementation.',
examples: ['100'],
},
token: {
label: 'Token',
description: <span>Token used for authentication.</span>,
description: 'Token used for authentication.',
examples: ['ph_abcdefg'],
},
$ce_version: {
Expand Down Expand Up @@ -335,12 +332,12 @@ export const CORE_FILTER_DEFINITIONS_BY_GROUP = {
// session recording
$replay_minimum_duration: {
label: 'Replay config - minimum duration',
description: <span>Config for minimum duration before emitting a session recording.</span>,
description: 'Config for minimum duration before emitting a session recording.',
examples: ['1000'],
},
$replay_sample_rate: {
label: 'Replay config - sample rate',
description: <span>Config for sampling rate of session recordings.</span>,
description: 'Config for sampling rate of session recordings.',
examples: ['0.1'],
},
$console_log_recording_enabled_server_side: {
Expand All @@ -356,50 +353,39 @@ export const CORE_FILTER_DEFINITIONS_BY_GROUP = {
},
$session_recording_start_reason: {
label: 'Session recording start reason',
description: (
<span>
Reason for starting the session recording. Useful for e.g. if you have sampling enabled and want to
see on batch exported events which sessions have recordings available.
</span>
),
description:
'Reason for starting the session recording. Useful for e.g. if you have sampling enabled and want to see on batch exported events which sessions have recordings available.',
examples: ['sampling_override', 'recording_initialized', 'linked_flag_match'],
},
$session_recording_canvas_recording: {
label: 'Session recording canvas recording',
description: <span>Session recording canvas capture config.</span>,
description: 'Session recording canvas capture config.',
examples: ['{"enabled": false}'],
},
$session_recording_network_payload_capture: {
label: 'Session recording network payload capture',
description: <span>Session recording network payload capture config.</span>,
description: 'Session recording network payload capture config.',
examples: ['{"recordHeaders": false}'],
},
$configured_session_timeout_ms: {
label: 'Configured session timeout',
description: <span>Configured session timeout in milliseconds.</span>,
description: 'Configured session timeout in milliseconds.',
examples: ['1800000'],
},
$replay_script_config: {
label: 'Replay script config',
description: <span>Sets an alternative recorder script for the web sdk.</span>,
description: 'Sets an alternative recorder script for the web sdk.',
examples: ['{"script": "recorder-next""}'],
},
$session_recording_url_trigger_activated_session: {
label: 'Session recording URL trigger activated session',
description: (
<span>
Session recording URL trigger activated session config. Used by posthog-js to track URL activation
of session replay.
</span>
),
description:
'Session recording URL trigger activated session config. Used by posthog-js to track URL activation of session replay.',
},
$session_recording_url_trigger_status: {
label: 'Session recording URL trigger status',
description: (
<span>
Session recording URL trigger status. Used by posthog-js to track URL activation of session replay.
</span>
),
description:
'Session recording URL trigger status. Used by posthog-js to track URL activation of session replay.',
},
$recording_status: {
label: 'Session recording status',
Expand Down Expand Up @@ -474,17 +460,17 @@ export const CORE_FILTER_DEFINITIONS_BY_GROUP = {
},
$exception_capture_endpoint: {
label: 'Exception capture endpoint',
description: <span>Endpoint used by posthog-js exception autocapture.</span>,
description: 'Endpoint used by posthog-js exception autocapture.',
examples: ['/e/'],
},
$exception_capture_endpoint_suffix: {
label: 'Exception capture endpoint',
description: <span>Endpoint used by posthog-js exception autocapture.</span>,
description: 'Endpoint used by posthog-js exception autocapture.',
examples: ['/e/'],
},
$exception_capture_enabled_server_side: {
label: 'Exception capture enabled server side',
description: <span>Whether exception autocapture was enabled in remote config.</span>,
description: 'Whether exception autocapture was enabled in remote config.',
},

// GeoIP
Expand Down Expand Up @@ -1203,7 +1189,7 @@ export const CORE_FILTER_DEFINITIONS_BY_GROUP = {
},
$web_vitals_allowed_metrics: {
label: 'Web vitals allowed metrics',
description: <span>Allowed web vitals metrics config.</span>,
description: 'Allowed web vitals metrics config.',
examples: ['["LCP", "CLS"]'],
},

Expand Down Expand Up @@ -1329,72 +1315,72 @@ export const CORE_FILTER_DEFINITIONS_BY_GROUP = {
},
$start_timestamp: {
label: 'Start timestamp',
description: <span>The timestamp of the first event from this session.</span>,
description: 'The timestamp of the first event from this session.',
examples: [new Date().toISOString()],
},
$end_timestamp: {
label: 'End timestamp',
description: <span>The timestamp of the last event from this session</span>,
description: 'The timestamp of the last event from this session',
examples: [new Date().toISOString()],
},
$entry_current_url: {
label: 'Entry URL',
description: <span>The first URL visited in this session</span>,
description: 'The first URL visited in this session.',
examples: ['https://example.com/interesting-article?parameter=true'],
},
$entry_pathname: {
label: 'Entry pathname',
description: <span>The first pathname visited in this session</span>,
description: 'The first pathname visited in this session.',
examples: ['/interesting-article?parameter=true'],
},
$end_current_url: {
label: 'Entry URL',
description: <span>The first URL visited in this session</span>,
description: 'The first URL visited in this session.',
examples: ['https://example.com/interesting-article?parameter=true'],
},
$end_pathname: {
label: 'Entry pathname',
description: <span>The first pathname visited in this session</span>,
description: 'The first pathname visited in this session.',
examples: ['/interesting-article?parameter=true'],
},
$exit_current_url: {
label: 'Exit URL',
description: <span>The last URL visited in this session</span>,
description: 'The last URL visited in this session.',
examples: ['https://example.com/interesting-article?parameter=true'],
},
$exit_pathname: {
label: 'Exit pathname',
description: <span>The last pathname visited in this session</span>,
description: 'The last pathname visited in this session.',
examples: ['https://example.com/interesting-article?parameter=true'],
},
$pageview_count: {
label: 'Pageview count',
description: <span>The number of page view events in this session</span>,
description: 'The number of page view events in this session.',
examples: ['123'],
},
$autocapture_count: {
label: 'Autocapture count',
description: <span>The number of autocapture events in this session</span>,
description: 'The number of autocapture events in this session.',
examples: ['123'],
},
$screen_count: {
label: 'Screen count',
description: <span>The number of screen events in this session</span>,
description: 'The number of screen events in this session.',
examples: ['123'],
},
$channel_type: {
label: 'Channel type',
description: <span>What type of acquisition channel this traffic came from.</span>,
description: 'What type of acquisition channel this traffic came from.',
examples: ['Paid Search', 'Organic Video', 'Direct'],
},
$is_bounce: {
label: 'Is bounce',
description: <span>Whether the session was a bounce.</span>,
description: 'Whether the session was a bounce.',
examples: ['true', 'false'],
},
$last_external_click_url: {
label: 'Last external click URL',
description: <span>The last external URL clicked in this session</span>,
description: 'The last external URL clicked in this session.',
examples: ['https://example.com/interesting-article?parameter=true'],
},
$vitals_lcp: {
Expand Down

0 comments on commit 3bac9d8

Please sign in to comment.