OpenMetrics v1 Exposition Format

When queried with Accept: application/openmetrics-text; version=1.0.0, the agent streams pre-allocated ring counters directly to the response buffer without intermediate JSON serialization.

Sample Payload

# HELP kaltdata_blk_queue_depth Active block I/O requests in device queue
# TYPE kaltdata_tcp_retrans_total counter
kaltdata_tcp_retrans_total{iface="eth0"} 4128

# HELP kaltdata_psi_mem_some_seconds Memory pressure stall accumulator
# TYPE kaltdata_psi_mem_some_seconds counter
kaltdata_psi_mem_some_seconds 0.842

# HELP kaltdata_ring_used_bytes Memory mapped ring buffer utilization
# TYPE kaltdata_ring_used_bytes gauge
kaltdata_ring_used_bytes 6291456
# EOF

HTTP/2 Scrape Guidelines

Keep persistent scrape connections open with keepalive_timeout 300s on reverse proxies to amortize TLS 1.3 handshake overhead across clusters.