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:
- get_managed_stats
A list of Managed Stats from the last 24 hours.
Name | Datatype | Description |
---|---|---|
0 | string | (example: Graphs are not yet available.) |
1 | string | (example: Graphs are not yet available.) |
2 | string | (example: Graphs are not yet available.) |
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 |
---|---|---|---|---|
get_managed_stats | select | Returns a list of Managed Stats on your Account in the form of x and y data points. You can use these data points to plot your own graph visualizations. These stats 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 - swap - 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
- get_managed_stats
Returns a list of Managed Stats on your Account in the form of x and y data points. You can use these data points to plot your own graph visualizations. These stats 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
- swap
- network in
- network out
This operation can only be accessed by the unrestricted users of an account.
Learn more...
Learn more...
SELECT
0,
1,
2,
cpu,
disk,
net_in,
net_out,
swap
FROM linode.managed.statistics;