MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / render_metrics

Function render_metrics

crates/openshell-server/src/http.rs:176–178  ·  view source on GitHub ↗
(State(handle): State<PrometheusHandle>)

Source from the content-addressed store, hash-verified

174}
175
176async fn render_metrics(State(handle): State<PrometheusHandle>) -> impl IntoResponse {
177 handle.render()
178}
179
180/// Create the HTTP router served on the multiplexed gateway port.
181pub fn http_router(state: Arc<crate::ServerState>) -> Router {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected