SGLang インテグレーションのメトリクス
SGLang の監視に使う Datadog の公式インテグレーションです。収集するメトリクスは 99 件あります。
公式の紹介文 (英語)
Monitor SGLang request performance, token throughput, and KV cache efficiency
種別の内訳
- gauge (その時点の値): 57 件
- count (集計間隔内の発生回数): 42 件
メトリクスの一覧
説明は公式の定義の英文をそのまま載せています。
| メトリクス | 種別 | 単位 |
|---|---|---|
sglang.Cache configuration information. | gauge | - |
sglang.Total number of cached prompt tokens. | count | token |
sglang.Whether CUDA graph execution is active. | gauge | - |
sglang.Total number of CUDA graph execution passes. | count | - |
sglang.Sum of sequence lengths currently being decoded. | gauge | token |
sglang.Total number of failed bootstrap requests. | count | - |
sglang.Requests waiting for decode preallocation. | gauge | - |
sglang.Requests waiting for decode transfer. | gauge | - |
sglang.Time spent allocating memory for KV transfers. | gauge | millisecond |
sglang.Time spent bootstrapping KV transfers. | gauge | millisecond |
sglang.KV cache transfer throughput. | gauge | gigabyte/ |
sglang.KV cache transfer latency. | gauge | millisecond |
sglang.KV cache data transferred. | gauge | megabyte |
sglang.Requests in the prefill bootstrap queue. | gauge | - |
sglang.Requests in the prefill inflight queue. | gauge | - |
sglang.Requests waiting for prefill preallocation. | gauge | - |
sglang.Total number of retried prefill requests. | count | - |
sglang.Total number of failed KV transfer requests. | count | - |
sglang.End-to-end request latency (distribution). | gauge | second |
sglang.End-to-end request latency observation count. | count | - |
sglang.Sum of end-to-end request latency. | count | second |
sglang.Estimated floating-point operations per GPU. | count | operation |
sglang.Estimated bytes read per GPU. | count | byte |
sglang.Estimated bytes written per GPU. | count | byte |
sglang.Total model forward execution time. | count | second |
sglang.Generation throughput. | gauge | token/ |
sglang.Total number of generation tokens processed. | count | token |
sglang.Currently active HTTP requests. | gauge | - |
sglang.Total number of HTTP requests. | count | request |
sglang.Total number of HTTP responses. | count | response |
sglang.Inter-token latency (distribution). | gauge | second |
sglang.Inter-token latency observation count. | count | - |
sglang.Sum of inter-token latency. | count | second |
sglang.Full-attention KV cache usage as a fraction. | gauge | fraction |
sglang.Prefix KV cache hit rate. | gauge | fraction |
sglang.Maximum number of tokens in the KV cache pool. | gauge | token |
sglang.KV cache usage reserved by pending preallocations. | gauge | fraction |
sglang.Sliding-window-attention KV cache usage as a fraction. | gauge | fraction |
sglang.Overall KV cache usage as a fraction. | gauge | fraction |
sglang.Number of tokens currently stored in the KV cache. | gauge | token |
sglang.Mamba state pool usage as a fraction. | gauge | fraction |
sglang.Requests waiting for grammar compilation. | gauge | request |
sglang.Running low-priority offline batch requests. | gauge | request |
sglang.Number of running inference requests. | gauge | request |
sglang.Number of inference requests in the waiting queue. | gauge | request |
sglang.Total CPU time consumed by the SGLang process. | count | second |
sglang.Maximum number of file descriptors. | gauge | - |
sglang.Number of open file descriptors. | gauge | - |
sglang.Resident memory used by the SGLang process. | gauge | byte |
sglang.Unix timestamp when the SGLang process started. | gauge | second |
sglang.Virtual memory used by the SGLang process. | gauge | byte |
sglang.Total number of prompt tokens processed. | count | token |
sglang.Python garbage collection runs. | count | - |
sglang.Python objects collected by garbage collection. | count | object |
sglang.Python objects that garbage collection could not collect. | count | object |
sglang.Python runtime information. | gauge | - |
sglang.Time requests spend waiting in a queue (distribution). | gauge | second |
sglang.Request queue-time observation count. | count | - |
sglang.Sum of request queue time. | count | second |
sglang.Tokens processed in real time. | count | token |
sglang.Generation tokens per request (distribution). | gauge | token |
sglang.Generation-token histogram observation count. | count | - |
sglang.Sum of generation tokens observed per request. | count | token |
sglang.Prompt tokens per request (distribution). | gauge | token |
sglang.Prompt-token histogram observation count. | count | - |
sglang.Sum of prompt tokens observed per request. | count | token |
sglang.Per-stage request latency (distribution). | gauge | second |
sglang.Per-stage request latency observation count. | count | - |
sglang.Sum of per-stage request latency. | count | second |
sglang.Uncached prompt tokens per request (distribution). | gauge | token |
sglang.Uncached prompt-token histogram observation count. | count | - |
sglang.Sum of uncached prompt tokens observed per request. | count | token |
sglang.Total number of aborted requests. | count | request |
sglang.Total number of inference requests processed. | count | request |
sglang.Number of paused requests. | gauge | request |
sglang.Number of currently retracted requests. | gauge | request |
sglang.Total number of retracted requests. | count | request |
sglang.Input tokens belonging to retracted requests. | count | token |
sglang.Output tokens belonging to retracted requests. | count | token |
sglang.Number of routing keys with active requests. | gauge | - |
sglang.Total time the scheduler spent idle. | count | second |
sglang.Ratio used by the scheduler when allocating new tokens. | gauge | fraction |
sglang.Total scheduler CPU processing time. | count | second |
sglang.Scheduler utilization as a fraction. | gauge | fraction |
sglang.Average speculative decoding acceptance length. | gauge | token |
sglang.Average speculative decoding acceptance rate. | gauge | fraction |
sglang.Average accepted speculative tokens per block. | gauge | token |
sglang.Speculative decoding capture length. | gauge | token |
sglang.Number of draft tokens per speculative decoding step. | gauge | token |
sglang.Number of speculative decoding steps. | gauge | - |
sglang.Total speculative decoding verification calls. | count | - |
sglang.Time spent capturing CUDA graphs during startup. | gauge | second |
sglang.Startup duration for the phase identified by the phase tag. | gauge | second |
sglang.Time taken for the SGLang engine to start. | gauge | second |
sglang.Time from request receipt to first generated token (distribution). | gauge | second |
sglang.Time-to-first-token observation count. | count | - |
sglang.Sum of time to first token. | count | second |
sglang.Time taken to load model weights. | gauge | second |
sglang.Duration of the most recent weight update from the source identified by the source tag. | gauge | second |
公式ドキュメント
メトリクスの名前と説明は Datadog の公式インテグレーションの定義 (Copyright Datadog, Inc.・BSD-3-Clause) を英文のまま載せています。利用条件の全文は サイトについてにあります。