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
track service types on prom services
Ishaan Jaff3256b6af6c04
diff --git a/litellm/types/services.py b/litellm/types/services.pyindex 05944772d79..e7b3c91ed32 100644--- a/litellm/types/services.py+++ b/litellm/types/services.py@@ -27,6 +27,17 @@ class ServiceTypes(str, enum.Enum):PROXY_PRE_CALL = "proxy_pre_call"POD_LOCK_MANAGER = "pod_lock_manager"+ """+ Operational metrics for DB Transaction Queues+ """+ # daily spend update queue - actual transaction events+ IN_MEMORY_DAILY_SPEND_UPDATE_QUEUE = "in_memory_daily_spend_update_queue"+ REDIS_DAILY_SPEND_UPDATE_QUEUE = "redis_daily_spend_update_queue"++ # spend update queue - current spend of key, user, team+ IN_MEMORY_SPEND_UPDATE_QUEUE = "in_memory_spend_update_queue"+ REDIS_SPEND_UPDATE_QUEUE = "redis_spend_update_queue"+class ServiceConfig(TypedDict):"""