pub fn router(build_info: &'static BuildInfo) -> Router
Creates a router that serves the profiling endpoints.