: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(cdp): surface input-mapping errors in hog function metrics (#73658)
posthog[bot]9e7eab4d3139
diff --git a/frontend/src/scenes/hog-functions/metrics/HogFunctionMetrics.tsx b/frontend/src/scenes/hog-functions/metrics/HogFunctionMetrics.tsxindex 0c0bbeb39f5b..b5dbb158f280 100644--- a/frontend/src/scenes/hog-functions/metrics/HogFunctionMetrics.tsx+++ b/frontend/src/scenes/hog-functions/metrics/HogFunctionMetrics.tsx@@ -9,6 +9,7 @@ import { AppMetricSummary } from 'lib/components/AppMetrics/AppMetricSummary'const HOGFUNCTION_METRIC_KEYS = ['succeeded','failed',+ 'inputs_failed','filtered','dropped','budget_skipped',@@ -27,6 +28,12 @@ export const HOGFUNCTION_METRICS_INFO: Record<string, { name: string; descriptiodescription: 'Total number of events that had errors during processing',color: getColorVar('danger'),},+ inputs_failed: {+ name: 'Input errors',+ description:+ 'Total number of events dropped because their input mapping could not be built (for example, a property mapping threw an error)',+ color: getColorVar('warning'),+ },filtered: {name: 'Filtered',description: 'Total number of events that were filtered out',@@ -87,7 +94,7 @@ export function HogFunctionMetrics({ id }: { id: string }): JSX.Element {previousPeriodTimeSeries={getSingleTrendSeries(key, true)}color={HOGFUNCTION_METRICS_INFO[key].color}colorIfZero={getColorVar('muted')}- hideIfZero={!['succeeded', 'failed', 'filtered'].includes(key)}+ hideIfZero={!['succeeded', 'failed', 'inputs_failed', 'filtered'].includes(key)}/>))}</div>