litellm/tests/otel_tests
Krish Dholakia 57e5ec07cc
Improved wildcard route handling on /models and /model_group/info (#8473)
* fix(model_checks.py): update returning known model from wildcard to filter based on given model prefix

ensures wildcard route - `vertex_ai/gemini-*` just returns known vertex_ai/gemini- models

* test(test_proxy_utils.py): add unit testing for new 'get_known_models_from_wildcard' helper

* test(test_models.py): add e2e testing for `/model_group/info` endpoint

* feat(prometheus.py): support tracking total requests by user_email on prometheus

adds initial support for tracking total requests by user_email

* test(test_prometheus.py): add testing to ensure user email is always tracked

* test: update testing for new prometheus metric

* test(test_prometheus_unit_tests.py): add user email to total proxy metric

* test: update tests

* test: fix spend tests

* test: fix test

* fix(pagerduty.py): fix linting error
2025-02-11 19:37:43 -08:00
..
test_e2e_budgeting.py (Testing) e2e testing for team budget enforcement checks (#7988) 2025-01-24 18:18:12 -08:00
test_e2e_model_access.py (QA / testing) - Add e2e tests for key model access auth checks (#8000) 2025-01-25 17:15:11 -08:00
test_guardrails.py (Feat) set guardrails per team (#7993) 2025-01-25 10:41: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 Improved wildcard route handling on /models and /model_group/info (#8473) 2025-02-11 19:37:43 -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