vLLM インテグレーションのメトリクス

vLLM の監視に使う Datadog の公式インテグレーション⁠で⁠す⁠。収集するメトリクスは 87 件あり⁠ま⁠す⁠。

公式の紹介文 (英語)

vLLM is a library for LLM inference and serving

種別の内訳

  • count (集計間隔内の発生回数): 72 件
  • gauge (その時点の値): 15 件

メトリクスの一覧

説明は公式の定義の英文をそのまま載せてい⁠ま⁠す⁠。

メトリクス種別単位
vllm.avg.generation_throughput.toks_per_sAverage generation throughput in tokens/sgauge-
vllm.avg.prompt.throughput.toks_per_sAverage prefill throughput in tokens/sgauge-
vllm.cache_config_infoInformation on cache configgauge-
vllm.cpu_cache_usage_percCPU KV-cache usage. 1 means 100 percent usagegaugepercent
vllm.e2e_request_latency.seconds.bucketThe observations of end to end request latency bucketed by seconds.count-
vllm.e2e_request_latency.seconds.countThe total number of observations of end to end request latency.count-
vllm.e2e_request_latency.seconds.sumThe sum of end to end request latency in seconds.countsecond
vllm.estimated_flops_per_gpu.countEstimated floating-point operations per GPU.countoperation
vllm.external_prefix_cache.hits.countExternal prefix cache hits measured in cached tokens.countitem
vllm.external_prefix_cache.queries.countExternal prefix cache queries measured in queried tokens.countitem
vllm.generation_tokens.countNumber of generation tokens processed.count-
vllm.gpu_cache_usage_percGPU KV-cache usage. 1 means 100 percent usagegaugepercent
vllm.inter_token_latency.seconds.bucketThe observations of inter-token latency bucketed by seconds.count-
vllm.inter_token_latency.seconds.countThe total number of observations of inter-token latency.count-
vllm.inter_token_latency.seconds.sumThe sum of inter-token latency in seconds.countsecond
vllm.kv_cache_usage_percKV-cache usage. 1 means 100 percent usage. Replaces gpu_cache_usage_perc in newer vLLM versions.gaugepercent
vllm.nixl.bytes_transferred.bucketBytes moved per NIXL KV cache transfer, by histogram bucket.count-
vllm.nixl.bytes_transferred.countNumber of NIXL KV cache transfers, counted by the bytes transferred histogram.count-
vllm.nixl.bytes_transferred.sumTotal bytes moved by NIXL KV cache transfers.countbyte
vllm.nixl.num_descriptors.bucketDescriptor count per NIXL KV cache transfer, by histogram bucket.count-
vllm.nixl.num_descriptors.countNumber of NIXL KV cache transfers, counted by the descriptor count histogram.count-
vllm.nixl.num_descriptors.sumTotal descriptors across NIXL KV cache transfers.countitem
vllm.nixl.num_failed_notifications.countNumber of NIXL transfer completion notifications that failed to reach the prefill instance. Not counted in vllm.nixl.num_failed_transfers.count-
vllm.nixl.num_failed_transfers.countNumber of failed NIXL KV cache transfers, including handshake failures.count-
vllm.nixl.num_kv_expired_reqs.countNumber of requests whose KV blocks expired on the prefill instance before the decode instance read them.countrequest
vllm.nixl.num_notifications_after_expiry.countNumber of NIXL completion notifications received for a request that is no longer tracked, usually because its KV blocks expired.count-
vllm.nixl.post_time.seconds.bucketTime to submit a NIXL KV cache transfer to the NIXL backend, by histogram bucket.count-
vllm.nixl.post_time.seconds.countNumber of NIXL KV cache transfer submissions, counted by the post time histogram.count-
vllm.nixl.post_time.seconds.sumTotal time spent submitting NIXL KV cache transfers to the NIXL backend.countsecond
vllm.nixl.xfer_time.seconds.bucketDuration of NIXL KV cache transfers between prefill and decode instances, from submission until vLLM detects completion, by histogram bucket.count-
vllm.nixl.xfer_time.seconds.countNumber of NIXL KV cache transfers, counted by the transfer duration histogram.count-
vllm.nixl.xfer_time.seconds.sumTotal duration of NIXL KV cache transfers between prefill and decode instances, from submission until vLLM detects completion.countsecond
vllm.num_preemptions.countCumulative number of preemption from the engine.count-
vllm.num_requests.runningNumber of requests currently running on GPU.gauge-
vllm.num_requests.swappedNumber of requests swapped to CPU.gauge-
vllm.num_requests.waitingNumber of requests waiting.gauge-
vllm.prefix_cache.hits.countPrefix cache hits measured in cached tokens.countitem
vllm.prefix_cache.queries.countPrefix cache queries measured in queried tokens.countitem
vllm.process.cpu_seconds.countTotal user and system CPU time spent in seconds.countsecond
vllm.process.max_fdsMaximum number of open file descriptors.gaugefile
vllm.process.open_fdsNumber of open file descriptors.gaugefile
vllm.process.resident_memory_bytesResident memory size in bytes.gaugebyte
vllm.process.start_time_secondsStart time of the process since unix epoch in seconds.gaugesecond
vllm.process.virtual_memory_bytesVirtual memory size in bytes.gaugebyte
vllm.prompt_tokens.cached.countNumber of cached prompt tokens from local and external caches.countitem
vllm.prompt_tokens.countNumber of prefill tokens processed.count-
vllm.python.gc.collections.countNumber of times this generation was collectedcount-
vllm.python.gc.objects.collected.countObjects collected during gccount-
vllm.python.gc.objects.uncollectable.countUncollectable objects found during GCcount-
vllm.python.infoPython platform informationgauge-
vllm.request.decode_time.seconds.bucketRequest decode-time histogram buckets.count-
vllm.request.decode_time.seconds.countNumber of request decode-time observations.count-
vllm.request.decode_time.seconds.sumTotal request decode time.countsecond
vllm.request.generation_tokens.bucketNumber of generation tokens processed.count-
vllm.request.generation_tokens.countNumber of generation tokens processed.count-
vllm.request.generation_tokens.sumNumber of generation tokens processed.count-
vllm.request.params.best_of.bucketHistogram of the best_of request parameter.count-
vllm.request.params.best_of.countHistogram of the best_of request parameter.count-
vllm.request.params.best_of.sumHistogram of the best_of request parameter.count-
vllm.request.params.n.bucketHistogram of the n request parameter.count-
vllm.request.params.n.countHistogram of the n request parameter.count-
vllm.request.params.n.sumHistogram of the n request parameter.count-
vllm.request.prefill_kv_computed_tokens.bucketHistogram buckets for new KV tokens computed during prefill.count-
vllm.request.prefill_kv_computed_tokens.countNumber of prefill KV token observations.count-
vllm.request.prefill_kv_computed_tokens.sumTotal new KV tokens computed during prefill.countitem
vllm.request.prefill_time.seconds.bucketRequest prefill-time histogram buckets.count-
vllm.request.prefill_time.seconds.countNumber of request prefill-time observations.count-
vllm.request.prefill_time.seconds.sumTotal request prefill time.countsecond
vllm.request.prompt_tokens.bucketNumber of prefill tokens processed.count-
vllm.request.prompt_tokens.countNumber of prefill tokens processed.count-
vllm.request.prompt_tokens.sumNumber of prefill tokens processed.count-
vllm.request.queue_time.seconds.bucketRequest queue-time histogram buckets.count-
vllm.request.queue_time.seconds.countNumber of request queue-time observations.count-
vllm.request.queue_time.seconds.sumTotal request queue time.countsecond
vllm.request.success.countCount of successfully processed requests.count-
vllm.request.time_per_output_token.seconds.bucketThe observations of per-request average time per output token bucketed by seconds.count-
vllm.request.time_per_output_token.seconds.countThe total number of observations of per-request average time per output token.count-
vllm.request.time_per_output_token.seconds.sumThe sum of per-request average time per output token in seconds.countsecond
vllm.spec_decode.num_accepted_tokens.countNumber of speculative decode tokens accepted.countitem
vllm.spec_decode.num_accepted_tokens_per_pos.countNumber of accepted speculative decode tokens by draft position.countitem
vllm.spec_decode.num_draft_tokens.countNumber of speculative decode draft tokens.countitem
vllm.time_per_output_token.seconds.bucketThe observations of time per output token bucketed by seconds.count-
vllm.time_per_output_token.seconds.countThe total number of observations of time per output token.count-
vllm.time_per_output_token.seconds.sumThe sum of time per output token in seconds.countsecond
vllm.time_to_first_token.seconds.bucketThe observations of time to first token bucketed by seconds.count-
vllm.time_to_first_token.seconds.countThe total number of observations of time to first token.count-
vllm.time_to_first_token.seconds.sumThe sum of time to first token in seconds.countsecond

公式ドキュメント

vLLM インテグレーションの公式ドキュメント

メトリクスの名前と説明は Datadog の公式インテグレーションの定義 (Copyright Datadog, Inc. / BSD-3-Clause) を英文のまま載せてい⁠ま⁠す⁠。利用条件の全文は サイトについてにあり⁠ま⁠す⁠。