Module prometheus

Module prometheus 

Source
Expand description

2026-09-26: The telemetry section of /metrics in the Prometheus text format, which the server appends to its registry output.

Names carry their unit (_seconds, _joules, _watts, _bytes, _celsius); the NVML-sourced energy counters, clocks and PCIe throughput keep NVML’s units (_millijoules, _mhz, _kbps). TTFT is not exported here: the server’s metrale_time_to_first_token_seconds carries it, labelled by model.

Owner: telemetry. Invariants: the section is empty at level Off.

Functions§

render
2026-09-26: Render the telemetry section. kernel_name names a kernel handle; a handle it cannot name is exported by address.