litellm/tests/unit/enterprise
tin-berri 33769b8d72
fix(prometheus): emit every declared label on litellm_deployment_cooled_down (#54488)
increment_deployment_cooled_down passed five positional label values while
the metric is declared with get_labels_for_metric, which adds custom metadata
labels and tags and applies exclude/include filters. Custom labels raised
Incorrect label count and dropped the sample; a filter that kept the count at
five recorded values under the wrong label names. Build the labels with
prometheus_label_factory like set_litellm_deployment_state does.

Based on #39106.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 11:39:52 -08:00
..
enterprise_callbacks fix(prometheus): emit every declared label on litellm_deployment_cooled_down (#54488) 2026-11-25 11:39:52 -08:00
integrations refactor(typing): clear about 1,100 basedpyright Any errors across 303 files (#49986) 2026-11-06 13:31:15 -08:00
proxy fix(proxy): fence the Gemini pass-through file list by owner (#54308) 2026-11-25 11:25:16 -08:00
__init__.py test: add __init__.py to migrated tests/unit packages 2026-09-20 11:53:49 +00:00
conftest.py ci(unit): cut unit check time with cheaper per-test resets and fewer non-unit tests (#51864) 2026-11-14 15:41:30 -08:00