: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(tracing): add alpha banner (#60278)
Jon McCallumb63d7fbe28a8
diff --git a/frontend/snapshots.yml b/frontend/snapshots.ymlindex 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_3AWiZddCLt1cyIQscenes-app-data-pipelines-event-filtering--many-conditions--dark:- hash: v1.k794b7964.9fe1402f2ebe21e7c89d21b943a2c77f20bc4d0708a668645a7db7cee51ae2c0.zrIB-gPgSDb-7q5zYuWVOpUQ4s-6KLE_ShFv32XIy3M+ hash: v1.k794b7964.efc18654f42e2a2c282c22a617485685b985fd3a81f6993559250a9fde54cccd.XNPTQHzpWp8Q9ZcOx1O5FcFtcGQvhginWcvn3H97MCAscenes-app-data-pipelines-event-filtering--many-conditions--light:hash: v1.k794b7964.9e3d017978dabf9a194a9fcf50a823faf391b9408687b33e8d07e1974d402d7a.xOQik9bmulMBDKxoNZCoDJbqpYVrwbomBpKtYt1mb9Mscenes-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-8GVo4HkNBH7UrogK2q1uh9pXPDjTdYGT8ncscenes-app-insights-funnels--funnel-left-to-right-edit-viewports--medium--dark:- hash: v1.k794b7964.8887db0213a228a0f958496f8de814bd30d4735f99f8dcd886fbc9740a703afd.U7j0SBm9JuPzdVQVGChjxt-Iw1svrkRV06tAv9pg-mM+ hash: v1.k794b7964.dad9df902a133cafd6b3314a3800fcb45dabbbb59a0766c87c226549392104fc.u8mciTuIKrwI-d3yiUx6dVpr3oLoJJ7tgvRU7hutwhUscenes-app-insights-funnels--funnel-left-to-right-edit-viewports--medium--light:hash: v1.k794b7964.1dd3425e658b907855610a715527654f68a242ed0c1427803dcf4d2289806fed.xd6ZnWiKWTOAglDDiM771sUAuByJ76icZNkrOre_orAscenes-app-insights-funnels--funnel-left-to-right-edit-viewports--superwide--dark:diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 25fb696fd528..948950bb587b 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -448,7 +448,7 @@ importers:version: 7.6.24([email protected])([email protected]([email protected]))([email protected])([email protected])'@storybook/react-webpack5':specifier: ^7.6.4- version: 7.6.4(@babel/[email protected])(@swc/[email protected])([email protected])([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 7.6.4(@babel/[email protected])(@swc/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])'@storybook/test-runner':specifier: ^0.16.0version: 0.16.0([email protected])@@ -502,7 +502,7 @@ importers:version: 2.0.0([email protected])webpack:specifier: ^5.88.2webpack-cli:specifier: ^5.1.4version: 5.1.4([email protected])@@ -1474,7 +1474,7 @@ importers:version: 0.4.8([email protected])'@segment/action-destinations':specifier: ^3.383.0- version: 3.387.0([email protected])([email protected])+ version: 3.387.0([email protected])([email protected])'@temporalio/activity':specifier: 1.15.0version: 1.15.0@@ -3425,6 +3425,9 @@ importers:kea-router:specifier: 'catalog:'version: 3.4.1([email protected]([email protected]))+ posthog-js:+ specifier: 'catalog:'+ version: 1.376.3react:specifier: 18.3.1version: 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.0schema-utils: 3.3.0source-map: 0.7.6optionalDependencies:type-fest: 4.41.0webpack-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.2cheerio: 1.0.0dayjs: 1.11.11(patch_hash=2e3e09d22bbc20d8961e0392c318f12ffada0babb6422f03b5538af8b2707852)@@ -34419,7 +34422,7 @@ snapshots:- encoding- supports-color- '@storybook/[email protected]([email protected])([email protected])([email protected])([email protected])':+ '@storybook/[email protected]([email protected])([email protected])([email protected])([email protected])([email protected])':dependencies:'@babel/core': 7.29.0'@storybook/channels': 7.6.4@@ -34449,12 +34452,12 @@ snapshots:semver: 7.7.4style-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])([email protected])ts-dedent: 2.2.0url: 0.11.1util: 0.12.5util-deprecate: 1.0.2webpack-dev-middleware: 6.1.3([email protected])webpack-hot-middleware: 2.25.4webpack-virtual-modules: 0.5.0@@ -34543,7 +34546,7 @@ snapshots:get-port: 5.1.1giget: 1.2.5globby: 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.0ora: 5.4.1prettier: 2.8.8@@ -34589,7 +34592,7 @@ snapshots:'@types/cross-spawn': 6.0.6cross-spawn: 7.0.6globby: 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.1prettier: 2.8.8recast: 0.23.11@@ -34929,7 +34932,7 @@ snapshots:'@storybook/[email protected]': {}- '@storybook/[email protected](@babel/[email protected])(@swc/[email protected])([email protected])([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])':+ '@storybook/[email protected](@babel/[email protected])(@swc/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([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.0semver: 7.7.4optionalDependencies:'@babel/core': 7.26.0typescript: 6.0.3@@ -35058,7 +35061,7 @@ snapshots:react-docgen-typescript: 2.2.2([email protected])tslib: 2.8.1typescript: 6.0.3transitivePeerDependencies:- supports-color@@ -35092,10 +35095,10 @@ snapshots:- typescript- vite-plugin-glimmerx- '@storybook/[email protected](@babel/[email protected])(@swc/[email protected])([email protected])([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])':+ '@storybook/[email protected](@babel/[email protected])(@swc/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])':dependencies:- '@storybook/builder-webpack5': 7.6.4([email protected])([email protected])([email protected])([email protected])- '@storybook/preset-react-webpack': 7.6.4(@babel/[email protected])(@swc/[email protected])([email protected])([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])+ '@storybook/builder-webpack5': 7.6.4([email protected])([email protected])([email protected])([email protected])([email protected])+ '@storybook/preset-react-webpack': 7.6.4(@babel/[email protected])(@swc/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])'@storybook/react': 7.6.4([email protected])([email protected]([email protected]))([email protected])([email protected])'@types/node': 18.19.130react: 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.4make-dir: 3.1.0schema-utils: 2.7.1dependencies:'@babel/core': 7.29.0find-cache-dir: 4.0.0schema-utils: 4.3.3@@ -39513,7 +39516,7 @@ snapshots:postcss-value-parser: 4.2.0schema-utils: 2.7.1semver: 6.3.1dependencies:@@ -39525,7 +39528,7 @@ snapshots:postcss-modules-values: 4.0.0([email protected])postcss-value-parser: 4.2.0semver: 7.8.0dependencies:@@ -41302,7 +41305,7 @@ snapshots:dependencies:loader-utils: 2.0.4schema-utils: 3.3.0dependencies:@@ -41460,7 +41463,7 @@ snapshots:semver: 7.8.0tapable: 2.3.0typescript: 6.0.3dependencies:@@ -42165,7 +42168,7 @@ snapshots:dependencies:html-webpack-plugin: 5.5.3([email protected])dependencies:@@ -42174,7 +42177,7 @@ snapshots:lodash: 4.18.1pretty-error: 4.0.0tapable: 2.2.1[email protected]([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected]):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.4write-file-atomic: 2.4.3optionalDependencies:- '@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.2loader-utils: 2.0.4schema-utils: 3.3.0dependencies:@@ -46987,7 +46990,7 @@ snapshots:postcss: 8.5.6schema-utils: 3.3.0semver: 7.7.0dependencies:@@ -47981,7 +47984,7 @@ snapshots:dependencies:loader-utils: 2.0.4schema-utils: 3.3.0dependencies:@@ -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.2schema-utils: 3.3.0semver: 7.7.0optionalDependencies:sass: 1.56.0@@ -49850,11 +49853,11 @@ snapshots:dependencies:loader-utils: 2.0.4schema-utils: 3.3.0dependencies:@@ -50058,7 +50061,7 @@ snapshots:dependencies:'@swc/core': 1.15.18@@ -50246,27 +50249,28 @@ snapshots:ansi-escapes: 4.3.2supports-hyperlinks: 2.3.0- [email protected](@swc/[email protected])([email protected])([email protected])([email protected](@swc/[email protected])([email protected])([email protected])):+ [email protected](@swc/[email protected])([email protected])([email protected])([email protected]):dependencies:'@jridgewell/trace-mapping': 0.3.29jest-worker: 27.5.1schema-utils: 4.3.3terser: 5.46.0optionalDependencies:'@swc/core': 1.15.18- esbuild: 0.27.7+ esbuild: 0.18.20postcss: 8.5.6+ [email protected](@swc/[email protected])([email protected])([email protected])([email protected](@swc/[email protected])([email protected])([email protected])):dependencies:'@jridgewell/trace-mapping': 0.3.29jest-worker: 27.5.1schema-utils: 4.3.3terser: 5.46.0optionalDependencies:'@swc/core': 1.15.18+ esbuild: 0.27.7postcss: 8.5.6@@ -50931,7 +50935,7 @@ snapshots:- [email protected]: {}+ [email protected]: {}@@ -51511,7 +51515,7 @@ snapshots:import-local: 3.1.0interpret: 3.1.1rechoir: 0.8.0webpack-merge: 5.8.0@@ -51522,7 +51526,7 @@ snapshots:range-parser: 1.2.1schema-utils: 4.3.3optionalDependencies:dependencies:@@ -51582,7 +51586,7 @@ snapshots:- postcss- uglify-js+ [email protected](@swc/[email protected])([email protected])([email protected])([email protected]):dependencies:'@types/eslint-scope': 3.7.4'@types/estree': 1.0.1@@ -51605,7 +51609,7 @@ snapshots:neo-async: 2.6.2schema-utils: 3.3.0tapable: 2.2.1+ terser-webpack-plugin: 5.6.0(@swc/[email protected])([email protected])([email protected])([email protected])watchpack: 2.4.0webpack-sources: 3.2.3optionalDependencies:diff --git a/products/tracing/frontend/TracingScene.tsx b/products/tracing/frontend/TracingScene.tsxindex 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><TracingSparklinesparklineData={sparklineData}sparklineLoading={sparklineLoading}diff --git a/products/tracing/package.json b/products/tracing/package.jsonindex 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": "*",