Skip to content

HTTP API, Metrics & Fleet

When --gui or --api-enabled true is active, DodaRig exposes a lightweight Axum HTTP & WebSocket server for dashboards, Prometheus scraping, and multi-rig fleet control.


HTTP & WebSocket Endpoints

EndpointAuthDescription
GET /PublicEmbedded Web GUI Dashboard
GET /wsPublicLive 1-second WebSocket telemetry stream
GET /metricsPublicPrometheus / OpenMetrics scrape endpoint
GET /healthPublicHealth check ({"status":"ok"})
GET /api/summaryPublicJSON summary (hashrate, shares, uptime, pool)
GET /api/threadsPublicPer-thread hashrate breakdown
GET /api/profilesPublicList saved coin/wallet profiles & active profile
GET /api/proxy/connectionsPublicActive downstream Stratum proxy sessions
GET /api/gpu/devicesPublicDetected CUDA/OpenCL devices
GET /api/gpu/healthPublicGPU clocks, temperature, power (W), fan speed (%) via NVML
GET /api/fleet/rigsPublicPolled status of all registered fleet rigs
GET /api/fleet/alertsPublicRecent fleet alerts (online/offline transitions)
POST /api/profilesToken*Save a new coin/wallet profile to config.toml
GET/PUT /api/configToken*View or queue runtime config updates
POST /api/restartToken*Trigger graceful shutdown for supervisor restart
POST /api/stopToken*Graceful miner shutdown

*Token required when api.access_token is set (Authorization: Bearer <token>).


Thermal & Hashrate Webhook Alerts

DodaRig’s AlertManager monitors:

  • CPU / System Temperatures via sysinfo sensors (alerts when any sensor exceeds max_temp, default 85.0°C).
  • Low Hashrate & Zero Submitted Shares.
  • NVIDIA GPU Telemetry via nvml-wrapper (temperature, power draw in watts, fan speed percentage).

Pass --fleet-alert-webhook https://your-webhook-url to receive JSON webhook notifications automatically.


Related Documentation

Stay Updated

Subscribe to Our Newsletter

Product updates, security tips, and release announcements delivered directly to your inbox.

No spam. Unsubscribe anytime.