diff --git a/docs/web_api.md b/docs/web_api.md index a00efc8..a95ab12 100644 --- a/docs/web_api.md +++ b/docs/web_api.md @@ -1033,7 +1033,8 @@ An object in the following format: "tx_bytes": 113430843, "bandwidth": 4455.91 } - } + }, + "websocket_connections": 4 } ``` Process information is sampled every second. The `moonraker_stats` field @@ -1085,6 +1086,9 @@ will be tracked. Each interface reports the following fields: If network information is not available then the `network` field will contain an empty object. +The `websocket_connections` field reports the number of active websockets +currently connected to moonraker. + ### File Operations Most file operations are available over both APIs, however file upload and @@ -3285,7 +3289,8 @@ process statistics: "tx_bytes": 115035939, "bandwidth": 3458.77 } - } + }, + "websocket_connections": 2 }] } ```