You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix 0083 zero-bound to exceed per section 5.5.15 (#236)
A declared token budget bound of 0 was skipped for both metrics and
emitted no exceeded signal. Per observability section 5.5.15 the
exceeded test is a strict actual > max, so a 0 bound is exceeded by
any positive usage: the exceeded span attribute and the exceeded
counter must fire. Only the utilization histogram sample is skipped,
since actual / 0 has no defined ratio.
Narrow the evaluation helper to include a 0 bound (gate on
is-not-None, not truthy) and move the divide-by-zero guard to the
utilization record site alone.
0 commit comments