Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/sovereign-intelligence/blob/main/docs/archive/drakestapleton.com-old/crates/site-server/src/routes/health.rs # sovereign-intelligence Front door to Drake Stapleton's sovereign stack. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `sovereign-intelligence / docs / archive / drakestapleton.com-old / crates / site-server / src / routes / health.rs` 18 lines ยท 641 bytes Raw Blame History 1 use axum::extract::State; 2 use axum::Json; 3 use serde_json::{json, Value}; 4 use crate::state::AppState; 5 6 pub async fn health_check(State(state): State) -> Json { 7 let telemetry = state.latest_telemetry.read().await; 8 Json(json!({ 9 "status": "ok", 10 "host": "spark-gb10", 11 "runtime": "rust-axum-sovereign", 12 "uptime_seconds": state.start_time.elapsed().as_secs(), 13 "active_goal": telemetry.active_goal, 14 "latest_milestone": telemetry.latest_milestone, 15 "gpu_utilization_pct": telemetry.gpu_utilization_pct, 16 "gpu_temperature_c": telemetry.gpu_temperature_c 17 })) 18 }