From 3256b6af6c0432f5ce310623f61c5e57eec91a08 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Wed, 2 Apr 2025 18:03:09 -0700 Subject: [PATCH] track service types on prom services --- litellm/types/services.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/litellm/types/services.py b/litellm/types/services.py index 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): """