The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
[Fix] Tests: Restore /metrics access for prometheus test suite
Yuneng Jiang0976fbc6c408
diff --git a/.circleci/config.yml b/.circleci/config.ymlindex a883c07021f..b91143f06fe 100644--- a/.circleci/config.yml+++ b/.circleci/config.yml@@ -1475,7 +1475,7 @@ jobs:- run:name: Run testscommand: |- uv run --no-sync python -m pytest -v tests/otel_tests -x --junitxml=test-results/junit.xml --durations=5+ uv run --no-sync python -m pytest -v tests/otel_tests --junitxml=test-results/junit.xml --durations=5no_output_timeout: 15m# Clean up first container- run:diff --git a/litellm/proxy/example_config_yaml/otel_test_config.yaml b/litellm/proxy/example_config_yaml/otel_test_config.yamlindex fc506a792eb..dc612865732 100644--- a/litellm/proxy/example_config_yaml/otel_test_config.yaml+++ b/litellm/proxy/example_config_yaml/otel_test_config.yaml@@ -46,6 +46,9 @@ litellm_settings:cache: truecallbacks: ["otel", "prometheus"]disable_end_user_cost_tracking_prometheus_only: True+ # /metrics auth is on by default; tests/otel_tests/test_prometheus.py+ # scrapes the endpoint without credentials, so opt out here.+ require_auth_for_metrics_endpoint: Falseguardrails:- guardrail_name: "bedrock-pre-guard"