Skip to content

: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.

feat(tracing): add alpha banner (#60278)

Jon McCallumb63d7fbe28a8
diff --git a/frontend/snapshots.yml b/frontend/snapshots.yml
index 8c5d941c15fd..b42ee9a948d7 100644
--- a/frontend/snapshots.yml
+++ b/frontend/snapshots.yml
@@ -4495,7 +4495,7 @@ snapshots:
scenes-app-data-pipelines-event-filtering--live-mode--light:
hash: v1.k794b7964.3b67e943ab5f09a1ab90d710522e6389ed328bf0f7bb8d44e660b528903f8789.qRoUqSLsXr0z-C87p_jkG0jFy7z_3AWiZddCLt1cyIQ
scenes-app-data-pipelines-event-filtering--many-conditions--dark:
- hash: v1.k794b7964.9fe1402f2ebe21e7c89d21b943a2c77f20bc4d0708a668645a7db7cee51ae2c0.zrIB-gPgSDb-7q5zYuWVOpUQ4s-6KLE_ShFv32XIy3M
+ hash: v1.k794b7964.efc18654f42e2a2c282c22a617485685b985fd3a81f6993559250a9fde54cccd.XNPTQHzpWp8Q9ZcOx1O5FcFtcGQvhginWcvn3H97MCA
scenes-app-data-pipelines-event-filtering--many-conditions--light:
hash: v1.k794b7964.9e3d017978dabf9a194a9fcf50a823faf391b9408687b33e8d07e1974d402d7a.xOQik9bmulMBDKxoNZCoDJbqpYVrwbomBpKtYt1mb9M
scenes-app-data-pipelines-event-filtering--many-test-cases--dark:
@@ -4863,7 +4863,7 @@ snapshots:
scenes-app-insights-funnels--funnel-left-to-right-edit--light:
hash: v1.k794b7964.c63132bb5b13cbe97938ebdb2e59e320ebc338bd12b2d3bfd6af81e56270650a.3gc3UBg-8GVo4HkNBH7UrogK2q1uh9pXPDjTdYGT8nc
scenes-app-insights-funnels--funnel-left-to-right-edit-viewports--medium--dark:
- hash: v1.k794b7964.8887db0213a228a0f958496f8de814bd30d4735f99f8dcd886fbc9740a703afd.U7j0SBm9JuPzdVQVGChjxt-Iw1svrkRV06tAv9pg-mM
+ hash: v1.k794b7964.dad9df902a133cafd6b3314a3800fcb45dabbbb59a0766c87c226549392104fc.u8mciTuIKrwI-d3yiUx6dVpr3oLoJJ7tgvRU7hutwhU
scenes-app-insights-funnels--funnel-left-to-right-edit-viewports--medium--light:
hash: v1.k794b7964.1dd3425e658b907855610a715527654f68a242ed0c1427803dcf4d2289806fed.xd6ZnWiKWTOAglDDiM771sUAuByJ76icZNkrOre_orA
scenes-app-insights-funnels--funnel-left-to-right-edit-viewports--superwide--dark:
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 25fb696fd528..948950bb587b 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -448,7 +448,7 @@ importers:
'@storybook/react-webpack5':
specifier: ^7.6.4
'@storybook/test-runner':
specifier: ^0.16.0
version: 0.16.0([email protected])
@@ -502,7 +502,7 @@ importers:
version: 2.0.0([email protected])
webpack:
specifier: ^5.88.2
webpack-cli:
specifier: ^5.1.4
version: 5.1.4([email protected])
@@ -1474,7 +1474,7 @@ importers:
version: 0.4.8([email protected])
'@segment/action-destinations':
specifier: ^3.383.0
'@temporalio/activity':
specifier: 1.15.0
version: 1.15.0
@@ -3425,6 +3425,9 @@ importers:
kea-router:
specifier: 'catalog:'
+ posthog-js:
+ specifier: 'catalog:'
+ version: 1.376.3
react:
specifier: 18.3.1
version: 18.3.1
@@ -23185,8 +23188,8 @@ packages:
resolution: {integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==}
engines: {node: '>= 10.0.0'}
- resolution: {integrity: sha512-fFQ1O06CPO5T0bnvI3ug+wT7xoQ4XX9ELcjgZV2/ySQKmCAi+IVj6LmMtIrrSMyX5Ad3GQTEPop86d0uuXSLPw==}
+ resolution: {integrity: sha512-g2Btv3iOmCRIW2VGXOjBAeXAEDk6IoftdXewS1+spkRp2OTCHJOJCp3dZoSSKPLyFBF5hwoekBJ7WSdvLNCn8Q==}
resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==}
@@ -32380,7 +32383,7 @@ snapshots:
react-refresh: 0.14.0
schema-utils: 3.3.0
source-map: 0.7.6
optionalDependencies:
type-fest: 4.41.0
webpack-hot-middleware: 2.25.4
@@ -33595,7 +33598,7 @@ snapshots:
'@segment/[email protected]': {}
dependencies:
'@amplitude/ua-parser-js': 0.7.33
'@aws-sdk/client-eventbridge': 3.806.0
@@ -33605,7 +33608,7 @@ snapshots:
'@segment/actions-core': 3.153.0([email protected])
'@segment/actions-shared': 1.134.0([email protected])
'@types/node': 22.18.8
- ajv-formats: 2.1.1([email protected])
+ ajv-formats: 2.1.1([email protected])
aws4: 1.13.2
cheerio: 1.0.0
dayjs: 1.11.11(patch_hash=2e3e09d22bbc20d8961e0392c318f12ffada0babb6422f03b5538af8b2707852)
@@ -34419,7 +34422,7 @@ snapshots:
- encoding
- supports-color
dependencies:
'@babel/core': 7.29.0
'@storybook/channels': 7.6.4
@@ -34449,12 +34452,12 @@ snapshots:
semver: 7.7.4
style-loader: 3.3.3([email protected])
swc-loader: 0.2.3(@swc/[email protected])([email protected])
- terser-webpack-plugin: 5.6.0(@swc/[email protected])([email protected])([email protected])
ts-dedent: 2.2.0
url: 0.11.1
util: 0.12.5
util-deprecate: 1.0.2
webpack-dev-middleware: 6.1.3([email protected])
webpack-hot-middleware: 2.25.4
webpack-virtual-modules: 0.5.0
@@ -34543,7 +34546,7 @@ snapshots:
get-port: 5.1.1
giget: 1.2.5
globby: 11.1.0
- jscodeshift: 0.15.2(@babel/[email protected](@babel/[email protected]))
+ jscodeshift: 0.15.2(@babel/[email protected](@babel/[email protected]))
leven: 3.1.0
ora: 5.4.1
prettier: 2.8.8
@@ -34589,7 +34592,7 @@ snapshots:
'@types/cross-spawn': 6.0.6
cross-spawn: 7.0.6
globby: 11.1.0
- jscodeshift: 0.15.2(@babel/[email protected](@babel/[email protected]))
+ jscodeshift: 0.15.2(@babel/[email protected](@babel/[email protected]))
lodash: 4.18.1
prettier: 2.8.8
recast: 0.23.11
@@ -34929,7 +34932,7 @@ snapshots:
'@storybook/[email protected]': {}
dependencies:
'@babel/preset-flow': 7.23.3(@babel/[email protected])
'@babel/preset-react': 7.23.3(@babel/[email protected])
@@ -34949,7 +34952,7 @@ snapshots:
react-dom: 18.3.1([email protected])
react-refresh: 0.14.0
semver: 7.7.4
optionalDependencies:
'@babel/core': 7.26.0
typescript: 6.0.3
@@ -35058,7 +35061,7 @@ snapshots:
react-docgen-typescript: 2.2.2([email protected])
tslib: 2.8.1
typescript: 6.0.3
transitivePeerDependencies:
- supports-color
@@ -35092,10 +35095,10 @@ snapshots:
- typescript
- vite-plugin-glimmerx
dependencies:
'@types/node': 18.19.130
react: 18.3.1
@@ -37667,17 +37670,17 @@ snapshots:
dependencies:
webpack-cli: 5.1.4([email protected])
dependencies:
webpack-cli: 5.1.4([email protected])
dependencies:
webpack-cli: 5.1.4([email protected])
'@xmldom/[email protected]': {}
@@ -38282,14 +38285,14 @@ snapshots:
loader-utils: 2.0.4
make-dir: 3.1.0
schema-utils: 2.7.1
dependencies:
'@babel/core': 7.29.0
find-cache-dir: 4.0.0
schema-utils: 4.3.3
@@ -39513,7 +39516,7 @@ snapshots:
postcss-value-parser: 4.2.0
schema-utils: 2.7.1
semver: 6.3.1
dependencies:
@@ -39525,7 +39528,7 @@ snapshots:
postcss-modules-values: 4.0.0([email protected])
postcss-value-parser: 4.2.0
semver: 7.8.0
dependencies:
@@ -41302,7 +41305,7 @@ snapshots:
dependencies:
loader-utils: 2.0.4
schema-utils: 3.3.0
dependencies:
@@ -41460,7 +41463,7 @@ snapshots:
semver: 7.8.0
tapable: 2.3.0
typescript: 6.0.3
dependencies:
@@ -42165,7 +42168,7 @@ snapshots:
dependencies:
html-webpack-plugin: 5.5.3([email protected])
dependencies:
@@ -42174,7 +42177,7 @@ snapshots:
lodash: 4.18.1
pretty-error: 4.0.0
tapable: 2.2.1
dependencies:
@@ -44193,7 +44196,7 @@ snapshots:
dependencies:
'@babel/core': 7.29.0
'@babel/parser': 7.29.3
@@ -44216,7 +44219,7 @@ snapshots:
temp: 0.8.4
write-file-atomic: 2.4.3
optionalDependencies:
- '@babel/preset-env': 7.23.5(@babel/[email protected])
+ '@babel/preset-env': 7.23.5(@babel/[email protected])
transitivePeerDependencies:
- supports-color
@@ -44496,7 +44499,7 @@ snapshots:
less: 4.2.2
loader-utils: 2.0.4
schema-utils: 3.3.0
dependencies:
@@ -46987,7 +46990,7 @@ snapshots:
postcss: 8.5.6
schema-utils: 3.3.0
semver: 7.7.0
dependencies:
@@ -47981,7 +47984,7 @@ snapshots:
dependencies:
loader-utils: 2.0.4
schema-utils: 3.3.0
dependencies:
@@ -48391,7 +48394,7 @@ snapshots:
dependencies:
react: 18.3.1
- unlayer-types: 1.414.0
+ unlayer-types: 1.415.0
@@ -49120,7 +49123,7 @@ snapshots:
neo-async: 2.6.2
schema-utils: 3.3.0
semver: 7.7.0
optionalDependencies:
sass: 1.56.0
@@ -49850,11 +49853,11 @@ snapshots:
dependencies:
loader-utils: 2.0.4
schema-utils: 3.3.0
dependencies:
@@ -50058,7 +50061,7 @@ snapshots:
dependencies:
'@swc/core': 1.15.18
@@ -50246,27 +50249,28 @@ snapshots:
ansi-escapes: 4.3.2
supports-hyperlinks: 2.3.0
dependencies:
'@jridgewell/trace-mapping': 0.3.29
jest-worker: 27.5.1
schema-utils: 4.3.3
terser: 5.46.0
optionalDependencies:
'@swc/core': 1.15.18
- esbuild: 0.27.7
+ esbuild: 0.18.20
postcss: 8.5.6
dependencies:
'@jridgewell/trace-mapping': 0.3.29
jest-worker: 27.5.1
schema-utils: 4.3.3
terser: 5.46.0
optionalDependencies:
'@swc/core': 1.15.18
+ esbuild: 0.27.7
postcss: 8.5.6
@@ -50931,7 +50935,7 @@ snapshots:
@@ -51511,7 +51515,7 @@ snapshots:
import-local: 3.1.0
interpret: 3.1.1
rechoir: 0.8.0
webpack-merge: 5.8.0
@@ -51522,7 +51526,7 @@ snapshots:
range-parser: 1.2.1
schema-utils: 4.3.3
optionalDependencies:
dependencies:
@@ -51582,7 +51586,7 @@ snapshots:
- postcss
- uglify-js
dependencies:
'@types/eslint-scope': 3.7.4
'@types/estree': 1.0.1
@@ -51605,7 +51609,7 @@ snapshots:
neo-async: 2.6.2
schema-utils: 3.3.0
tapable: 2.2.1
- terser-webpack-plugin: 5.6.0(@swc/[email protected])([email protected])([email protected])
watchpack: 2.4.0
webpack-sources: 3.2.3
optionalDependencies:
diff --git a/products/tracing/frontend/TracingScene.tsx b/products/tracing/frontend/TracingScene.tsx
index b9ee75d7beff..1a95fac858ae 100644
--- a/products/tracing/frontend/TracingScene.tsx
+++ b/products/tracing/frontend/TracingScene.tsx
@@ -1,7 +1,9 @@
import { useActions, useValues } from 'kea'
+import posthog from 'posthog-js'
-import { LemonModal, LemonTable, LemonTableColumns, LemonTag } from '@posthog/lemon-ui'
+import { LemonBanner, LemonModal, LemonTable, LemonTableColumns, LemonTag } from '@posthog/lemon-ui'
+import { IconFeedback } from 'lib/lemon-ui/icons'
import { SpinnerOverlay } from 'lib/lemon-ui/Spinner/Spinner'
import { useAttachedLogic } from 'lib/logic/scenes/useAttachedLogic'
import { SceneExport } from 'scenes/sceneTypes'
@@ -23,6 +25,8 @@ import { TracingTabIdProvider, useTracingTabId } from './TracingTabContext'
import { SPAN_KIND_LABELS, STATUS_CODE_LABELS } from './types'
import type { Span } from './types'
+const TRACING_FEEDBACK_SURVEY_ID = '019e6a26-4943-0000-24a0-dc46310f6b7c'
+
export const scene: SceneExport<TracingSceneLogicProps> = {
component: TracingScene,
logic: tracingSceneLogic,
@@ -151,6 +155,17 @@ function TracingSceneContents(): JSX.Element {
type: 'tracing',
}}
/>
+ <LemonBanner
+ type="warning"
+ dismissKey="tracing-alpha-notice"
+ action={{
+ icon: <IconFeedback />,
+ children: 'Share feedback',
+ onClick: () => posthog.displaySurvey(TRACING_FEEDBACK_SURVEY_ID),
+ }}
+ >
+ Tracing is in alpha. Expect bugs, missing features, and breaking changes.
+ </LemonBanner>
<TracingSparkline
sparklineData={sparklineData}
sparklineLoading={sparklineLoading}
diff --git a/products/tracing/package.json b/products/tracing/package.json
index a8c452c31adc..ce923d96441b 100644
--- a/products/tracing/package.json
+++ b/products/tracing/package.json
@@ -6,7 +6,8 @@
"dependencies": {
"kea": "catalog:",
"kea-loaders": "catalog:",
- "kea-router": "catalog:"
+ "kea-router": "catalog:",
+ "posthog-js": "catalog:"
},
"peerDependencies": {
"@posthog/icons": "*",