GET /load_balancers/{id}/metrics
You must specify the type of metric to get: open_connections
, connections_per_second
, requests_per_second
or bandwidth
. You can also specify more than one type by comma separation, e.g. requests_per_second,bandwidth
.
Depending on the type you will get different time series data:
Type | Timeseries | Unit | Description |
---|---|---|---|
open_connections | open_connections | number | Open connections |
connections_per_second | connections_per_second | connections/s | Connections per second |
requests_per_second | requests_per_second | requests/s | Requests per second |
bandwidth | bandwidth.in | bytes/s | Ingress bandwidth |
bandwidth.out | bytes/s | Egress bandwidth |
Metrics are available for the last 30 days only.
If you do not provide the step argument we will automatically adjust it so that 200 samples are returned.
We limit the number of samples to a maximum of 500 and will adjust the step parameter accordingly.
Servers
- https://api.hetzner.cloud/v1
Path parameters
Name | Type | Required | Description |
---|---|---|---|
id |
Integer | Yes |
ID of the Load Balancer. |
Query parameters
Name | Type | Required | Description |
---|---|---|---|
end |
String | Yes |
End of period to get Metrics for (in ISO-8601 format) |
step |
String | No |
Resolution of results in seconds |
type |
String | Yes |
Type of metrics to get Possible values:
|
start |
String | Yes |
Start of period to get Metrics for (in ISO-8601 format) |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.