docs: update proc_stats documentation

The "websocket_connections" is now reported by proc_stats.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2021-09-21 14:22:19 -04:00
parent d6fafef902
commit 2447ccab62
1 changed files with 7 additions and 2 deletions

View File

@ -1033,7 +1033,8 @@ An object in the following format:
"tx_bytes": 113430843, "tx_bytes": 113430843,
"bandwidth": 4455.91 "bandwidth": 4455.91
} }
} },
"websocket_connections": 4
} }
``` ```
Process information is sampled every second. The `moonraker_stats` field 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 If network information is not available then the `network` field will
contain an empty object. contain an empty object.
The `websocket_connections` field reports the number of active websockets
currently connected to moonraker.
### File Operations ### File Operations
Most file operations are available over both APIs, however file upload and Most file operations are available over both APIs, however file upload and
@ -3285,7 +3289,8 @@ process statistics:
"tx_bytes": 115035939, "tx_bytes": 115035939,
"bandwidth": 3458.77 "bandwidth": 3458.77
} }
} },
"websocket_connections": 2
}] }]
} }
``` ```