litellm/tests/otel_tests
Cursor Agent 793a35dfe2
test(prometheus): update master-key hash assertions to alias
PR #26484 substitutes LITELLM_PROXY_MASTER_KEY_ALIAS for
hash_token(master_key) in UserAPIKeyAuth so the master key (or its
hash) never reaches spend logs / metrics. The otel prometheus tests
still hardcoded the SHA-256 of "sk-1234"
("88dc28d0f030c55ed4ab77ed8faf098196cb1c05df778539800c9f1243fe6b4b"),
so the metric labels no longer matched and test_proxy_failure_metrics
failed. Reference the alias constant directly.

https://claude.ai/code/session_01UkzyZKiADEkZDbZFwB98yV

Co-authored-by: Mateo Wang <mateo-berri@users.noreply.github.com>
2026-04-30 03:09:52 +00:00
..
test_e2e_budgeting.py fix(tests): increase MAX_CALLS and reduce sleep in flaky e2e budget test 2026-03-13 00:04:31 -07:00
test_e2e_model_access.py fix: use fastuuid helper (#14903) 2025-09-25 15:47:01 -07:00
test_guardrails.py [Feat] Guardrails Load Balancing - Allow Platform admins to load balance between guardrails (#18181) 2025-12-19 00:08:03 +05:30
test_key_logging_callbacks.py
test_model_info.py
test_moderations.py test_basic_moderations_on_proxy_with_model 2025-10-27 13:49:47 -07:00
test_otel.py Model Armor - Logging guardrail response on llm responses (#16977) 2025-11-22 15:44:28 -08:00
test_prometheus.py test(prometheus): update master-key hash assertions to alias 2026-04-30 03:09:52 +00:00
test_rerank.py fix: use fastuuid helper (#14903) 2025-09-25 15:47:01 -07:00
test_team_member_permissions.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_team_tag_routing.py fix: use fastuuid helper (#14903) 2025-09-25 15:47:01 -07:00