action hetzner_get_load_balancers_id_metrics { label: "Get Metrics for a LoadBalancer" description: "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`.\n\nDepending on the type you will get different time series data:\n\n|Type | Timeseries | Unit | Description |\n|---- |------------|------|-------------|\n| open_connections | open_connections | number | Open connections |\n| connections_per_second | connections_per_second | connections/s | Connections per second |\n| requests_per_second | requests_per_second | requests/s | Requests per second |\n| bandwidth | bandwidth.in | bytes/s | Ingress bandwidth |\n|| bandwidth.out | bytes/s | Egress bandwidth |\n\nMetrics are available for the last 30 days only.\n\nIf you do not provide the step argument we will automatically adjust it so that 200 samples are returned.\n\nWe limit the number of samples to a maximum of 500 and will adjust the step parameter accordingly.\n" provider: hetzner method: GET path: "/load_balancers/{id}/metrics" encoding: json input: { type: "object" properties: { end: { type: "string" } id: { type: "integer" } start: { type: "string" } step: { type: "string" } type: { type: "string" enum: ["open_connections", "connections_per_second", "requests_per_second", "bandwidth"] } } required: ["end", "id", "start", "type"] additionalProperties: false } output: { type: "object" required: ["metrics"] properties: { metrics: { type: "object" required: ["end", "start", "step", "time_series"] properties: { end: { type: "string" description: "End of period of metrics reported (in ISO-8601 format)" } start: { type: "string" description: "Start of period of metrics reported (in ISO-8601 format)" } step: { type: "number" description: "Resolution of results in seconds." } time_series: { type: "object" description: "Hash with timeseries information, containing the name of timeseries as key" } } } } } }