lb_frontend_network_throughput_http
Creates, updates, deletes, gets or lists a lb_frontend_network_throughput_http resource.
Overview
| Name | lb_frontend_network_throughput_http |
| Type | Resource |
| Id | digitalocean.monitoring.lb_frontend_network_throughput_http |
Fields
The following fields are returned by SELECT queries:
- monitoring_get_lb_frontend_network_throughput_http
The response will be a JSON object with a key called data and status.
| Name | Datatype | Description |
|---|---|---|
data | object | |
status | string | (example: success) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
monitoring_get_lb_frontend_network_throughput_http | select | lb_id, start, end | To retrieve frontend HTTP throughput in bytes per second for a given load balancer, send a GET request to /v2/monitoring/metrics/load_balancer/frontend_network_throughput_http. |
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 |
|---|---|---|
end | string | UNIX timestamp to end metric window. (example: 1620705417) |
lb_id | string | A unique identifier for a load balancer. (example: 4de7ac8b-495b-4884-9a69-1050c6793cd6) |
start | string | UNIX timestamp to start metric window. (example: 1620683817) |
SELECT examples
- monitoring_get_lb_frontend_network_throughput_http
To retrieve frontend HTTP throughput in bytes per second for a given load balancer, send a GET request to /v2/monitoring/metrics/load_balancer/frontend_network_throughput_http.
SELECT
data,
status
FROM digitalocean.monitoring.lb_frontend_network_throughput_http
WHERE lb_id = '{{ lb_id }}' -- required
AND start = '{{ start }}' -- required
AND end = '{{ end }}' -- required
;