get_metrics
Retrieve Horizon performance and capacity metrics in one call: pools, sessions, machines, system, RDS servers, license. Per-scope errors return strings without blocking the whole call.
Instructions
Get performance and capacity metrics across the Horizon environment in a single call.
Scopes:
pools: session and machine counts per desktop pool
sessions: aggregate connected/disconnected/pending session totals
machines: aggregate machine state counts across all pools
system: CPU and memory metrics for connection servers
rds_servers: RDS server state counts across all farms
license: current and peak license usage
Results are keyed by scope name. A failed scope returns its error as a string rather than failing the whole call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Metric scopes to retrieve: pools, sessions, machines, system, rds_servers, license. Defaults to all. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||