: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
fix(logs): widen volume tick latency histogram buckets (#83190)
Jon McCallum7f6e76c68116
diff --git a/products/logs/backend/temporal/volume_tick/metrics.py b/products/logs/backend/temporal/volume_tick/metrics.pyindex 4c99aad55d8c..02cce2bfd0c9 100644--- a/products/logs/backend/temporal/volume_tick/metrics.py+++ b/products/logs/backend/temporal/volume_tick/metrics.py@@ -9,13 +9,20 @@ from posthog.temporal.common.metrics import get_metric_meter# buckets per-metric. Keep in sync with the histograms emitted below.LOGS_VOLUME_TICK_LATENCY_HISTOGRAM_METRICS = ("logs_volume_tick_clickhouse_duration_ms",)+# Dense between 750ms and 3s because the discovery query lives there. Coarser+# steps put every sample in one bucket, so the high quantiles interpolate to a+# bucket edge and report a boundary rather than a latency.LOGS_VOLUME_TICK_LATENCY_HISTOGRAM_BUCKETS = [50.0,100.0,250.0,500.0,+ 750.0,1_000.0,+ 1_500.0,+ 2_000.0,2_500.0,+ 3_000.0,5_000.0,10_000.0,30_000.0,