statistics
Creates, updates, deletes, gets or lists a statistics resource.
Overview
| Name | statistics |
| Type | Resource |
| Id | linode.managed.statistics |
Fields
The following fields are returned by SELECT queries:
- list
A list of Managed Stats from the last 24 hours.
| Name | Datatype | Description |
|---|---|---|
cpu | array | CPU usage stats from the last 24 hours. |
disk | array | Disk usage stats from the last 24 hours. |
net_in | array | Inbound network traffic stats from the last 24 hours. |
net_out | array | Outbound network traffic stats from the last 24 hours. |
swap | array | Swap usage stats from the last 24 hours. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | Returns a list of metrics for the Linodes on your account in arrays of coordinates (x-axis and y-axis data points). You can use these data points to plot your own graph visualizations. These metrics reflect the last 24 hours of combined usage across all managed Linodes on your account, giving you a high-level snapshot of data for the following: - CPU - Disk I/O - Swap usage - Network in - Network out This operation can only be accessed by the unrestricted users of an account. Learn more... Learn more... |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|
SELECT examples
- list
Returns a list of metrics for the Linodes on your account in arrays of coordinates (x-axis and y-axis data points). You can use these data points to plot your own graph visualizations. These metrics reflect the last 24 hours of combined usage across all managed Linodes on your account, giving you a high-level snapshot of data for the following:
- CPU
- Disk I/O
- Swap usage
- Network in
- Network out
This operation can only be accessed by the unrestricted users of an account.
Learn more...
Learn more...
SELECT
cpu,
disk,
net_in,
net_out,
swap
FROM linode.managed.statistics
;