Azure Load Balancer¶
You can declare to scrape an Azure Load Balancer via the LoadBalancer
resource
type.
When using declared resources, the following fields need to be provided:
loadBalancerName
- The name of the Azure Load Balancer resource
All supported metrics are documented in the official Azure Monitor documentation.
Example¶
Here is an example configuration:
name: azure_load_balancer_traffic_bytes
description: "Average amount of bytes sent through an Azure Load Balancer"
resourceType: LoadBalancer
azureMetricConfiguration:
metricName: ByteCount
aggregation:
type: Average
resources: # Optional, required when no resource discovery is configured
- loadBalancerName: promitor-load-balancer-1
- loadBalancerName: promitor-load-balancer-2
resourceDiscoveryGroups: # Optional, requires Promitor Resource Discovery agent (https://promitor.io/concepts/how-it-works#using-resource-discovery)
- name: load-balancer-landscape