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.

chore(llm-gateway): log cost_throttle_exceeded at error level (#59621)

Alex Lebedev3c39a8d75162
diff --git a/services/llm-gateway/src/llm_gateway/rate_limiting/cost_throttles.py b/services/llm-gateway/src/llm_gateway/rate_limiting/cost_throttles.py
index 2cbc5ada5ccd..412ab587dae8 100644
--- a/services/llm-gateway/src/llm_gateway/rate_limiting/cost_throttles.py
+++ b/services/llm-gateway/src/llm_gateway/rate_limiting/cost_throttles.py
@@ -94,7 +94,7 @@ class CostThrottle(Throttle):
)
if current >= limit:
retry_after = await limiter.get_ttl(key)
- logger.warning(
+ logger.error(
"cost_throttle_exceeded",
scope=self.scope,
key=key,