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.

fix(web-analytics): share vitals timeseries and path-breakdown precompute buckets (#88583)

Lucas Ricoy4bbe57ab3c96
diff --git a/frontend/src/scenes/web-analytics/webAnalyticsLogic.tsx b/frontend/src/scenes/web-analytics/webAnalyticsLogic.tsx
index c1bd97441cbb..bf759bd1a667 100644
--- a/frontend/src/scenes/web-analytics/webAnalyticsLogic.tsx
+++ b/frontend/src/scenes/web-analytics/webAnalyticsLogic.tsx
@@ -1900,6 +1900,11 @@ export const webAnalyticsLogic = kea<webAnalyticsLogicType>([
query: {
kind: NodeKind.WebVitalsQuery,
properties: webAnalyticsFilters,
+ // Match the path-breakdown tile below so both tiles' precompute
+ // reads hash to the same bucket job and share warm buckets. The
+ // timeseries merges across all paths, so cleaning is result-neutral
+ // here, but the hash is not — a mismatch builds a second bucket set.
+ doPathCleaning: isPathCleaningEnabled,
source: {
kind: NodeKind.TrendsQuery,
dateRange,