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: add PROMETHEUS_MULTIPROC_DIR to docs
AlexsanderHamir1ad6763500df
diff --git a/docs/my-website/docs/proxy/prometheus.md b/docs/my-website/docs/proxy/prometheus.mdindex 2dae463514a..cd2b3b68f37 100644--- a/docs/my-website/docs/proxy/prometheus.md+++ b/docs/my-website/docs/proxy/prometheus.md@@ -49,6 +49,16 @@ http://localhost:4000/metrics# <proxy_base_url>/metrics```+### Multiple Workers++When using LiteLLM with multiple workers, you need to set the `PROMETHEUS_MULTIPROC_DIR` environment variable to enable aggregated metric collection across worker processes.++```shell+export PROMETHEUS_MULTIPROC_DIR="/prometheus_multiproc"+```++This directory is used by the Prometheus client library to store metric files that can be shared across multiple worker processes. Make sure the directory exists and is writable by your LiteLLM process.+## Virtual Keys, Teams, Internal UsersUse this for for tracking per [user, key, team, etc.](virtual_keys)