πStats API
Low level utilities with the Bubbaloop server to get system stats and metrics
The Bubbaloop server provides a comprehensive REST API that allows users to retrieve detailed system information through the /api/v0/stats endpoint. This API leverages established Rust libraries to deliver accurate and extensive system data in a structured JSON format.
We expose the following functionality
Available API
GET /api/v0/stats/whoamiβ Provides detailed information about the system's identityGET /api/v0/stats/sysinfoβ Delivers comprehensive system resource metric
Usage
whoami
just whoami 0.0.0.0 3000Server terminal
[2025-04-13T15:03:20Z DEBUG bubbaloop::api::handles::stats::whoami] π€ Received request for whoamiClient terminal
Result: {
"arch": "Arm64",
"desktop_env": "Unknown",
"device_name": "nvidia-desktop",
"distro": "Ubuntu 22.04.5 LTS",
"hostname": "nvidia-desktop",
"platform": "Linux",
"realname": "nvidia",
"username": "nvidia"
}sysinfo
Server terminal
Client terminal
Last updated