LiteLLM インテグレーションのメトリクス
LiteLLM の監視に使う Datadog の公式インテグレーションです。収集するメトリクスは 152 件あります。
公式の紹介文 (英語)
This integration allows for real-time collection of LiteLLM metrics for enhanced observability and monitoring.
種別の内訳
- count (集計間隔内の発生回数): 114 件
- gauge (その時点の値): 38 件
メトリクスの一覧
説明は公式の定義の英文をそのまま載せています。
| メトリクス | 種別 | 単位 |
|---|---|---|
litellm.Number of billable users in LiteLLM (excludes SCIM-deactivated users) | gauge | user |
litellm.Remaining hours for api key budget to be reset | gauge | hour |
litellm.Maximum budget set for api key | gauge | - |
litellm.Number of failed requests for auth service in the time period | count | error |
litellm.Number of observations that fall into each upper_bound latency bucket for auth service | count | - |
litellm.Number of latency observations for auth service in the time period | count | - |
litellm.Latency for auth service | count | millisecond |
litellm.Number of requests for auth service in the time period | count | request |
litellm.Number of failed requests for batch_write_to_db service in the time period | count | error |
litellm.Number of observations that fall into each upper_bound latency bucket for batch_write_to_db service | count | - |
litellm.Number of latency observations for batch_write_to_db service in the time period | count | - |
litellm.Latency for batch_write_to_db service | count | millisecond |
litellm.Number of requests for batch_write_to_db service in the time period | count | request |
litellm.Total number of LiteLLM cache hits | count | - |
litellm.Total number of LiteLLM cache misses | count | - |
litellm.Total tokens served from LiteLLM cache | count | token |
litellm.Total number of failures when emitting logs to callbacks (e.g. s3_v2, langfuse, etc) | count | - |
litellm.Total number of errors in CheckBatchCost by error type | count | - |
litellm.Number of unprocessed batches found by the last CheckBatchCost poll | gauge | - |
litellm.Total number of batches successfully cost-tracked by CheckBatchCost | count | - |
litellm.Unix timestamp of the last CheckBatchCost job run | gauge | second |
litellm.Number of times a deployment has been cooled down by LiteLLM load balancing logic in the time period. exception_status is the status of the exception that caused the deployment to be cooled down | count | event |
litellm.Number of failed fallback requests from primary model -> fallback model in the time period | count | error |
litellm.Number of failed LLM API calls for a specific LLM deployment by custom metadata tags in the time period | count | error |
litellm.Number of failed LLM API calls for a specific LLM deployment in the time period. exception_status is the status of the exception from the LLM API | count | error |
litellm.Number of observations that fall into each upper_bound latency per output token bucket for deployment | count | - |
litellm.Number of latency per output token observations for deployment in the time period | count | - |
litellm.Latency per output token | count | millisecond |
litellm.Deployment RPM limit found in config | gauge | - |
litellm.The state of the deployment: 0 = healthy,1 = partial outage,2 = complete outage | gauge | unit |
litellm.Number of successful LLM API calls via litellm in the time period | count | response |
litellm.Number of successful fallback requests from primary model -> fallback model in the time period | count | response |
litellm.Number of LLM API calls via litellm in the time period - success + failure | count | request |
litellm.Deployment TPM limit found in config | gauge | - |
litellm.Total number of errors encountered during guardrail execution | count | - |
litellm.Number of observations that fall into each upper_bound bucket for latency (seconds) for guardrail execution | count | - |
litellm.Number of observations for latency (seconds) for guardrail execution in the time period | count | - |
litellm.Latency (seconds) for guardrail execution | count | second |
litellm.Total number of guardrail invocations | count | - |
litellm.Number of images generated, from the image generation response | count | - |
litellm.Number of HTTP requests currently in-flight on this uvicorn worker | gauge | - |
litellm.Gauge for in_memory_daily_spend_update_queue service | gauge | item |
litellm.Gauge for in_memory_spend_update_queue service | gauge | item |
litellm.Number of input tokens from LLM requests in the time period | count | token |
litellm.Audio input tokens reported in prompt_tokens_details.audio_tokens | count | token |
litellm.Provider-side input tokens written to prompt cache (e.g. Anthropic cache_creation_input_tokens) | count | token |
litellm.Provider-side cached input tokens (e.g. OpenAI prompt_tokens_details.cached_tokens, Anthropic cache_read_input_tokens) | count | token |
litellm.Total number of input tokens from LLM requests | count | token |
litellm.Deprecated - use litellm.proxy.failed_requests.metric. Number of failed responses from proxy in the time period - the client did not get a success response from litellm proxy | count | error |
litellm.Number of observations that fall into each upper_bound latency bucket (seconds) for a model's LLM API call | count | - |
litellm.Number of latency observations (seconds) for a model's LLM API call in the time period | count | - |
litellm.Total latency (seconds) for a model's LLM API call | count | second |
litellm.Number of observations that fall into each upper_bound time to first token bucket for a model's LLM API call | count | - |
litellm.Number of time to first token observations for a model's LLM API call in the time period | count | - |
litellm.Time to first token for a model's LLM API call | count | second |
litellm.Total number of managed batches created | count | - |
litellm.Number of observations that fall into each upper_bound bucket for duration of completed managed batches in seconds (completed_at - created_at) | count | - |
litellm.Number of observations for duration of completed managed batches in seconds (completed_at - created_at) in the time period | count | - |
litellm.Duration of completed managed batches in seconds (completed_at - created_at) | count | second |
litellm.Total number of managed files created | count | - |
litellm.Total number of managed file deletions (success or blocked) | count | - |
litellm.Size of the most recent managed batch file in bytes (last-seen value per label combination) | gauge | byte |
litellm.Total spend on MCP tool calls, segmented by tool and server name | count | - |
litellm.Total MCP tool calls, segmented by tool and server name | count | - |
litellm.Remaining hours for org budget to be reset | gauge | hour |
litellm.Maximum budget set for org | gauge | - |
litellm.Number of output tokens from LLM requests in the time period | count | token |
litellm.Audio output tokens reported in completion_tokens_details.audio_tokens | count | token |
litellm.Reasoning tokens reported in completion_tokens_details.reasoning_tokens | count | token |
litellm.Total number of output tokens from LLM requests | count | token |
litellm.Number of observations that fall into each upper_bound overhead latency bucket (milliseconds) added by LiteLLM processing | count | - |
litellm.Number of overhead latency observations (milliseconds) added by LiteLLM processing in the time period | count | - |
litellm.Latency overhead (milliseconds) added by LiteLLM processing | count | millisecond |
litellm.Number of observations that fall into each upper_bound bucket for total internal latency (seconds) added by LiteLLM, including pre/post-call guardrails (excludes the LLM API call) | count | - |
litellm.Number of observations for total internal latency (seconds) added by LiteLLM, including pre/post-call guardrails (excludes the LLM API call) in the time period | count | - |
litellm.Total internal latency (seconds) added by LiteLLM, including pre/post-call guardrails (excludes the LLM API call) | count | second |
litellm.Gauge for pod_lock_manager service | gauge | item |
litellm.Number of failed requests for Postgres service in the time period | count | error |
litellm.Number of observations that fall into each upper_bound latency bucket for Postgres service | count | - |
litellm.Number of latency observations for Postgres service in the time period | count | - |
litellm.Latency for Postgres service | count | millisecond |
litellm.Number of requests for Postgres service in the time period | count | request |
litellm.Start time of the process since unix epoch in seconds. | gauge | second |
litellm.Remaining budget for provider - used when you set provider budget limits | gauge | - |
litellm.Total prompt/input tokens written to provider prompt cache (e.g. Anthropic/Bedrock) | count | token |
litellm.Total prompt/input tokens read from provider prompt cache (e.g. OpenAI/Anthropic/Gemini/Bedrock) | count | token |
litellm.Number of failed responses from proxy in the time period - the client did not get a success response from litellm proxy | count | error |
litellm.Number of failed requests for proxy_pre_call service in the time period | count | error |
litellm.Number of observations that fall into each upper_bound latency bucket for proxy_pre_call service | count | - |
litellm.Number of latency observations for proxy_pre_call service in the time period | count | - |
litellm.Latency for proxy_pre_call service | count | millisecond |
litellm.Number of requests for proxy_pre_call service in the time period | count | request |
litellm.Number of requests made to the proxy server in the time period - track number of client side requests | count | request |
litellm.Number of pending daily agent spend updates in the Redis queue waiting to be written to the database | gauge | item |
litellm.Number of pending daily end user spend updates in the Redis queue waiting to be written to the database | gauge | item |
litellm.Gauge for redis_daily_spend_update_queue service | gauge | item |
litellm.Number of failed requests for redis_daily_tag_spend_update_queue service in the time period | count | error |
litellm.Number of observations that fall into each upper_bound latency bucket for redis_daily_tag_spend_update_queue service | count | - |
litellm.Number of latency observations for redis_daily_tag_spend_update_queue service in the time period | count | - |
litellm.Latency for redis_daily_tag_spend_update_queue service | count | millisecond |
litellm.Number of requests for redis_daily_tag_spend_update_queue service in the time period | count | request |
litellm.Number of failed requests for redis_daily_team_spend_update_queue service in the time period | count | error |
litellm.Number of observations that fall into each upper_bound latency bucket for redis_daily_team_spend_update_queue service | count | - |
litellm.Number of latency observations for redis_daily_team_spend_update_queue service in the time period | count | - |
litellm.Latency for redis_daily_team_spend_update_queue service | count | millisecond |
litellm.Number of requests for redis_daily_team_spend_update_queue service in the time period | count | request |
litellm.Number of failed requests for Redis service in the time period | count | error |
litellm.Number of observations that fall into each upper_bound latency bucket for Redis service | count | - |
litellm.Number of latency observations for Redis service in the time period | count | - |
litellm.Total latency (milliseconds) for Redis service | count | millisecond |
litellm.Gauge for redis_spend_update_queue service | gauge | item |
litellm.Number of requests for Redis service in the time period | count | request |
litellm.Remaining budget for api key | gauge | - |
litellm.Remaining requests API Key can make for model (model based rpm limit on key) | gauge | request |
litellm.Remaining tokens API Key can make for model (model based tpm limit on key) | gauge | token |
litellm.Remaining budget for org | gauge | - |
litellm.Remaining requests for model, returned from LLM API Provider | gauge | request |
litellm.Remaining budget for team | gauge | - |
litellm.Remaining budget for user | gauge | - |
litellm.Track x-ratelimit-remaining-requests returned from LLM API Deployment | gauge | request |
litellm.Remaining tokens for model, returned from LLM API Provider | gauge | token |
litellm.Remaining tokens for model, returned from LLM API Provider | gauge | token |
litellm.Number of observations that fall into each upper_bound bucket for time spent in request queue before processing starts (seconds) | count | - |
litellm.Number of observations for time spent in request queue before processing starts (seconds) in the time period | count | - |
litellm.Time spent in request queue before processing starts (seconds) | count | second |
litellm.Number of observations that fall into each upper_bound total latency bucket (seconds) for a request to LiteLLM | count | - |
litellm.Number of total latency observations (seconds) for a request to LiteLLM in the time period | count | - |
litellm.Total latency (seconds) for a request to LiteLLM | count | second |
litellm.Deprecated - use litellm.proxy.total_requests.metric.count. Number of LLM calls to litellm in the time period - track total per API Key, team, user | count | request |
litellm.Number of failed requests for reset_budget_job service in the time period | count | error |
litellm.Latency for reset_budget_job service | count | - |
litellm.Number of requests for reset_budget_job service in the time period | count | request |
litellm.Number of failed requests for router service in the time period | count | error |
litellm.Number of observations that fall into each upper_bound latency bucket for router service | count | - |
litellm.Number of latency observations for router service in the time period | count | - |
litellm.Latency for router service | count | millisecond |
litellm.Number of requests for router service in the time period | count | request |
litellm.Number of failed requests for self service in the time period | count | error |
litellm.Number of observations that fall into each upper_bound latency bucket for self service | count | - |
litellm.Number of latency observations for self service in the time period | count | - |
litellm.Latency for self service | count | millisecond |
litellm.Number of requests for self service in the time period | count | request |
litellm.Spend on LLM requests in the time period | count | - |
litellm.Remaining hours for team budget to be reset | gauge | hour |
litellm.Maximum budget set for team | gauge | - |
litellm.Number of members in a team | gauge | - |
litellm.Total number of teams in LiteLLM | gauge | - |
litellm.Number of input + output tokens from LLM requests in the time period | count | token |
litellm.Total number of users in LiteLLM | gauge | user |
litellm.Remaining hours for user budget to be reset | gauge | hour |
litellm.Maximum budget set for user | gauge | - |
litellm.Seconds of video generated, from usage.duration_seconds on video generation calls | count | second |
公式ドキュメント
メトリクスの名前と説明は Datadog の公式インテグレーションの定義 (Copyright Datadog, Inc.・BSD-3-Clause) を英文のまま載せています。利用条件の全文は サイトについてにあります。