inference/research
verifiedhigh · 0.94updated 2026-10-04

Triton+TRT-LLM TRT-LLM KV-cache block gauge, label-switched

triton-inference-server · gauge

Fields

id
metric-exposures/w3m-triton-inference-server-nv-trt-llm-kv-cache-block-metrics
Metric name
nv_trt_llm_kv_cache_block_metrics
Metric type
gauge
Unit
1
Exposure
prometheus
Endpoint
:8002/metrics
Labels
modelversionkv_cache_block_type
Enabled by default
yes
notes
Triton main, docs/user_guide/metrics.md, read 2026-10-04. On by default: 'By default, these metrics are available at http://localhost:8002/metrics', and the endpoint is pure pull - 'not pushed or published to any remote server'. tritonserver --allow-metrics=false turns the whole thing off. Labels are model and version, and crucially the LATENCY families are per MODEL, per request-update - not per-request observations as in vLLM/SGLang/TGI. Backend-contributed via the Triton custom metrics API, NOT a Triton core metric. All six families share the model and version labels. Observed label values: ['fraction', 'tokens_per', 'used', 'free', 'max']. This is where a Triton+TRT-LLM deployment's KV occupancy lives. Note it is a BLOCK count family - the same four quantities trtllm_kv_cache_utilization and friends carry in the standalone server, in a different shape.

Notes

Triton main, docs/user_guide/metrics.md, read 2026-10-04. On by default: 'By default, these metrics are available at http://localhost:8002/metrics', and the endpoint is pure pull - 'not pushed or published to any remote server'. tritonserver --allow-metrics=false turns the whole thing off. Labels are model and version, and crucially the LATENCY families are per MODEL, per request-update - not per-request observations as in vLLM/SGLang/TGI. Backend-contributed via the Triton custom metrics API, NOT a Triton core metric. All six families share the model and version labels. Observed label values: ['fraction', 'tokens_per', 'used', 'free', 'max']. This is where a Triton+TRT-LLM deployment's KV occupancy lives. Note it is a BLOCK count family - the same four quantities trtllm_kv_cache_utilization and friends carry in the standalone server, in a different shape.

Cross-references