System metrics for Version 2.3 (v2.3)
POST/v2.3/api/tenants/:tenant_id/monitor/sys_metrics
Get system metrics like CPU, Memory and Disk usage. External API used for stats queries. In addition to CPUUsage, Memory Usage and DiskUsage InterfaceBandwidthUsage, InterfaceDroppedPackets, InterfaceErrors, InterfaceFifoErrors, InterfaceIngressCRCErrors, InterfaceIngressFrameErrors, InterfaceEgressCarrierErrors additional metrics like InterfacePoePowerConsumption, DeviceTemperature. Below are the tenet for queries
- interval is required
- start_time, end_time and max_datapoints are optional with the following restrictions, at least one of them needs to be specified. all the three can not be specified, as the result is ambiguous. Note
- Start time, if not specified, default to epoch.
- End time, if not specified, default to now.
- Limit, if not specified, defaults to None..
- Start and end times need to be specified in ISO8601 UTC format.
- Metrics need to specified according to 2.1 specifications. Invalid metrics will be ignored and the result will not include them.
- Filters need to be specified according to the specifications.
Request
Responses
- 200
- 400
- 500
Successful Operation
Bad Request
Internal Server Error