[Feat] Add proxy level prometheus metrics (#5789)

* add Proxy Level Tracking Metrics doc

* update service logger

* prometheus - track litellm_proxy_failed_requests_metric

* use REQUESTED_MODEL

* fix prom request_data
This commit is contained in:
Ishaan Jaff 2024-09-19 17:13:07 -07:00 committed by GitHub
parent 27272ca073
commit fd6cc10922
10 changed files with 166 additions and 18 deletions

View file

@ -1121,6 +1121,7 @@ async def user_api_key_auth(
if open_telemetry_logger is not None:
await open_telemetry_logger.async_post_call_failure_hook( # type: ignore
original_exception=e,
request_data={},
user_api_key_dict=UserAPIKeyAuth(parent_otel_span=parent_otel_span),
)