: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(replay): extend ml anonymize histogram past 10s (#72875)
Robbie213321e31026
diff --git a/nodejs/src/ingestion/pipelines/sessionreplay/metrics.ts b/nodejs/src/ingestion/pipelines/sessionreplay/metrics.tsindex f7d4e0cdd5be..cc89f02b1441 100644--- a/nodejs/src/ingestion/pipelines/sessionreplay/metrics.ts+++ b/nodejs/src/ingestion/pipelines/sessionreplay/metrics.ts@@ -64,7 +64,9 @@ export class SessionRecordingIngesterMetrics {name: 'recording_blob_ingestion_v2_ml_anonymize_duration_ms',help: 'Per-message ML mirror anonymize time in ms, by implementation and route',labelNames: ['impl', 'route'],- buckets: [0, 1, 2, 5, 10, 25, 50, 100, 250, 500, 1000, 2500, 5000, 10000, Infinity],+ // The measured interval includes libuv threadpool queue wait, which under backpressure+ // reaches tens of seconds — the tail buckets exist so quantiles don't clamp at 10s.+ buckets: [0, 1, 2, 5, 10, 25, 50, 100, 250, 500, 1000, 2500, 5000, 10000, 30000, 60000, 120000, Infinity],})private static readonly mlAnonymizeFailed = new Counter({