forked from phoenix/litellm-mirror
fix(utils.py): support prometheus failed call metrics
This commit is contained in:
parent
05d6d9e45f
commit
28edb77350
4 changed files with 38 additions and 4 deletions
|
@ -2205,9 +2205,9 @@ class ProxyConfig:
|
|||
# these are litellm callbacks - "langfuse", "sentry", "wandb"
|
||||
else:
|
||||
litellm.failure_callback.append(callback)
|
||||
verbose_proxy_logger.debug(
|
||||
f"{blue_color_code} Initialized Success Callbacks - {litellm.failure_callback} {reset_color_code}"
|
||||
)
|
||||
print( # noqa
|
||||
f"{blue_color_code} Initialized Failure Callbacks - {litellm.failure_callback} {reset_color_code}"
|
||||
) # noqa
|
||||
elif key == "cache_params":
|
||||
# this is set in the cache branch
|
||||
# see usage here: https://docs.litellm.ai/docs/proxy/caching
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue