mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
track service types on prom services
This commit is contained in:
parent
05b30e28db
commit
3256b6af6c
1 changed files with 11 additions and 0 deletions
|
|
@ -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):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue