Skip to main content

api_telemetry

Function api_telemetry 

Source
pub fn api_telemetry(
    corpus: &str,
    service: &str,
    pool: &State<DbPool>,
    cache: &State<TelemetryCache>,
) -> Result<Json<TelemetrySummary>, Status>
Expand description

The telemetry rollup as an agent API (the JSON twin of telemetry_report_page): wall/RSS percentiles, per-phase P99, outcome mix, and witness papers for a completed (corpus, service) run. Served from the shared TelemetryCache. 404 on an unknown corpus/service, 503 if the pool is exhausted.