Commit 0bfa9b7
committed
Route failure path through shared bounded-tracking guard
The failure path in async_log_failure_event manually inlined the bounded
tracking logic and bypassed the shared
_track_bounded_prometheus_metric_series guard. When label filters strip
end_user from litellm_llm_api_failed_requests_metric, the inlined logic
still tracked the full 8-tuple, which would later fail to evict
correctly. Route through _inc_labeled_counter so the failure path uses
the same label filtering and bounded tracking as the success path.1 parent 9d91af6 commit 0bfa9b7
1 file changed
Lines changed: 12 additions & 32 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1621 | 1621 | | |
1622 | 1622 | | |
1623 | 1623 | | |
1624 | | - | |
1625 | | - | |
1626 | | - | |
1627 | | - | |
1628 | | - | |
1629 | | - | |
1630 | | - | |
1631 | | - | |
1632 | | - | |
1633 | | - | |
| 1624 | + | |
| 1625 | + | |
| 1626 | + | |
| 1627 | + | |
| 1628 | + | |
| 1629 | + | |
| 1630 | + | |
| 1631 | + | |
| 1632 | + | |
| 1633 | + | |
| 1634 | + | |
| 1635 | + | |
1634 | 1636 | | |
1635 | 1637 | | |
1636 | | - | |
1637 | | - | |
1638 | | - | |
1639 | | - | |
1640 | | - | |
1641 | | - | |
1642 | | - | |
1643 | | - | |
1644 | | - | |
1645 | | - | |
1646 | | - | |
1647 | | - | |
1648 | | - | |
1649 | | - | |
1650 | | - | |
1651 | | - | |
1652 | | - | |
1653 | | - | |
1654 | | - | |
1655 | | - | |
1656 | | - | |
1657 | | - | |
1658 | 1638 | | |
1659 | 1639 | | |
1660 | 1640 | | |
| |||
0 commit comments