Base URL of the Rhino Compute server with http:// or https:// scheme (e.g., 'http://localhost:6500')
OptionalapiKey: stringOptional API key for authentication
Disposes of all resources and stops all active monitors. Call this when you're done using the stats instance.
Get the number of active child processes on the server.
Number of active children, or null if unavailable
Get comprehensive server statistics. Fetches all available server information in parallel.
Object containing server status and available stats
Get the server version information.
Version object with rhino, compute, and git_sha, or null if unavailable
Check if the server is online.
Continuously monitor server stats at specified interval.
Function called with stats on each interval
Milliseconds between checks (default: 5000)
Function to stop monitoring
ComputeServerStats provides methods to query Rhino Compute server statistics.
Use this for server health monitoring and statistics.
Example