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 #11857 (#11859)
Shankyg58dce17414af
diff --git a/docs/my-website/docs/proxy/prometheus.md b/docs/my-website/docs/proxy/prometheus.mdindex 0b754fa4865..d3fb6eca591 100644--- a/docs/my-website/docs/proxy/prometheus.md+++ b/docs/my-website/docs/proxy/prometheus.md@@ -23,9 +23,9 @@ If you're using the LiteLLM CLI with `litellm --config proxy_config.yaml` then yAdd this to your proxy config.yaml```yamlmodel_list:- - model_name: gpt-3.5-turbo+ - model_name: gpt-4olitellm_params:- model: gpt-3.5-turbo+ model: gpt-4olitellm_settings:callbacks: ["prometheus"]```@@ -40,7 +40,7 @@ Test Requestcurl --location 'http://0.0.0.0:4000/chat/completions' \--header 'Content-Type: application/json' \--data '{- "model": "gpt-3.5-turbo",+ "model": "gpt-4o","messages": [{"role": "user",@@ -201,9 +201,9 @@ Track custom metrics on prometheus on all events mentioned above.```yamlmodel_list:- - model_name: openai/gpt-3.5-turbo+ - model_name: openai/gpt-4olitellm_params:- model: openai/gpt-3.5-turbo+ model: openai/gpt-4oapi_key: os.environ/OPENAI_API_KEYlitellm_settings:@@ -218,7 +218,7 @@ curl -L -X POST 'http://0.0.0.0:4000/v1/chat/completions' \-H 'Content-Type: application/json' \-H 'Authorization: Bearer <LITELLM_API_KEY>' \-d '{- "model": "openai/gpt-3.5-turbo",+ "model": "openai/gpt-4o","messages": [{"role": "user",@@ -254,9 +254,9 @@ Configure which metrics to emit by specifying them in `prometheus_metrics_config```yamlmodel_list:- - model_name: gpt-3.5-turbo+ - model_name: gpt-4olitellm_params:- model: gpt-3.5-turbo+ model: gpt-4olitellm_settings:callbacks: ["prometheus"]@@ -358,9 +358,9 @@ To monitor the health of litellm adjacent services (redis / postgres), do:```yamlmodel_list:- - model_name: gpt-3.5-turbo+ - model_name: gpt-4olitellm_params:- model: gpt-3.5-turbo+ model: gpt-4olitellm_settings:service_callback: ["prometheus_system"]```