Skip to main content

api_service_runtimes

Function api_service_runtimes 

Source
pub fn api_service_runtimes(
    _caller: Actor,
    service: &str,
    offset: Option<i64>,
    page_size: Option<i64>,
    pool: &State<DbPool>,
) -> Result<Json<ServiceRuntimeDto>, Status>
Expand description

Conversion-runtime report for a service (agent twin of the runtime screen): distribution summary

  • histogram + paginated slowest conversions, from the worker’s runtime_ms log lines. Token-gated via the Actor guard (401 without a token). Paginated (offset/page_size, default 100, max MAX_REPORT_PAGE_SIZE; offset capped at MAX_REPORT_OFFSET); 404 if the service is unknown.