mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
fix litellm_overhead_latency_metric
This commit is contained in:
parent
3f053fc99c
commit
a57b8f6802
2 changed files with 4 additions and 1 deletions
|
@ -1011,7 +1011,9 @@ class PrometheusLogger(CustomLogger):
|
|||
litellm_model_name,
|
||||
standard_logging_payload["metadata"]["user_api_key_hash"],
|
||||
standard_logging_payload["metadata"]["user_api_key_alias"],
|
||||
).observe(litellm_overhead_time_ms)
|
||||
).observe(
|
||||
litellm_overhead_time_ms / 1000
|
||||
) # set as seconds
|
||||
|
||||
if remaining_requests:
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue