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(workflows): always fetch fresh app metrics instead of cached (#66767)

Meikel Ratza638665042db
diff --git a/frontend/src/lib/components/AppMetrics/appMetricsLogic.ts b/frontend/src/lib/components/AppMetrics/appMetricsLogic.ts
index 0da6f47f4ae1..35b26890f76b 100644
--- a/frontend/src/lib/components/AppMetrics/appMetricsLogic.ts
+++ b/frontend/src/lib/components/AppMetrics/appMetricsLogic.ts
@@ -96,7 +96,7 @@ export const loadAppMetricsTotals = async (
const response = await api.queryHogQL(
query,
{ scene: 'HogFunction', productKey: 'pipeline_destinations' },
- { refresh: 'async_except_on_cache_miss' }
+ { refresh: 'force_blocking' }
)
const res: AppMetricsTotalsResponse = {}
@@ -210,7 +210,7 @@ const loadAppMetricsTimeSeries = async (
const response = await api.queryHogQL(
query,
{ scene: 'HogFunction', productKey: 'pipeline_destinations' },
- { refresh: 'async_except_on_cache_miss' }
+ { refresh: 'force_blocking' }
)
const labels = response.results?.[0]?.[0].map((label: string) => {