litellm/tests/otel_tests
Ishaan Jaff 1719dc23c7
(Feat) - emit litellm_team_budget_reset_at_metric and litellm_api_key_budget_remaining_hours_metric on prometheus (#7946)
* set litellm_team_budget_reset_at_metric

* add _get_team_info_from_db_lru_cached

* _set_team_budget_metrics

* e2e test_team_budget_metrics

* update doc string

* add _get_remaining_hours_for_budget_reset

* fix team endpoints

* _get_remaining_hours_for_budget_reset

* _set_key_budget_metrics  on startup

* test_key_budget_metrics

* prom fixes for emitting key / team metrics

* fix _set_api_key_budget_metrics_after_api_request

* test_increment_remaining_budget_metrics

* unit test test_increment_remaining_budget_metrics

* test_initialize_remaining_budget_metrics
2025-01-23 18:12:47 -08:00
..
test_e2e_budgeting.py (Bug fix) - Allow setting null for max_budget, rpm_limit, tpm_limit when updating values on a team (#7912) 2025-01-21 19:19:36 -08:00
test_guardrails.py LiteLLM Minor Fixes & Improvements (11/29/2024) (#6965) 2024-12-01 05:24:11 -08:00
test_key_logging_callbacks.py (feat) add /key/health endpoint to test key based logging (#6073) 2024-10-05 11:56:55 +05:30
test_model_info.py [Feat] Allow setting supports_vision for Custom OpenAI endpoints + Added testing (#5821) 2024-09-21 11:35:55 -07:00
test_moderations.py (docs + fix) Add docs on Moderations endpoint, Text Completion (#6947) 2024-11-27 16:30:48 -08:00
test_otel.py test(test_otel.py): fix test 2024-09-23 08:10:06 -07:00
test_prometheus.py (Feat) - emit litellm_team_budget_reset_at_metric and litellm_api_key_budget_remaining_hours_metric on prometheus (#7946) 2025-01-23 18:12:47 -08:00
test_rerank.py add /rerank test 2024-08-27 17:50:37 -07:00
test_team_tag_routing.py [Feat] Allow setting supports_vision for Custom OpenAI endpoints + Added testing (#5821) 2024-09-21 11:35:55 -07:00