mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-28 00:00:38 +00:00
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> |
||
|---|---|---|
| .. | ||
| send_emails | ||
| __init__.py | ||
| test_callback_controls.py | ||
| test_llm_guard.py | ||
| test_pagerduty_alerting.py | ||
| test_prometheus_logging_callbacks.py | ||
| test_secret_detection.py | ||