Skip to main content

service_runtimes_page

Function service_runtimes_page 

Source
pub fn service_runtimes_page(
    service: &str,
    offset: Option<i64>,
    page_size: Option<i64>,
    session: Option<AdminSession>,
    return_to: ReturnTo,
    pool: &State<DbPool>,
) -> Result<Template, AdminReject>
Expand description

The conversion-runtime screen for a service (HTML twin of api_service_runtimes): the aggregate runtime histogram (bar chart) + the paginated slowest conversions, reached from the worker screen. Signed-in admins only (anonymous → sign-in). Separate from the worker view because it reads the task_runtimes rollup. 404 if the service is unknown.