diff --git a/core/metrics.py b/core/metrics.py index 3a34ef7..8de6825 100644 --- a/core/metrics.py +++ b/core/metrics.py @@ -59,7 +59,8 @@ ERRORS_RESOLVED_TOTAL = Counter( AI_LATENCY_SECONDS = Histogram( "copykar_ai_latency_seconds", "Time taken for AI API operations", - ["action"] + ["action"], + buckets=(0.5, 1.0, 2.0, 3.0, 5.0, 8.0, 12.0, 20.0, 30.0, 45.0, 60.0, 90.0, 120.0, 180.0) ) # Gauges