Skip to main content

render_prometheus

Function render_prometheus 

Source
pub fn render_prometheus(
    core: &CoreTelemetry,
    fuse: &FuseTelemetry,
    alloc: Option<&AllocatorStats>,
    syscalls: Option<&Snapshot>,
) -> String
Expand description

Render a full Prometheus exposition-format document. Feature-gated blocks (alloc, syscalls) are omitted entirely when their Option is None.