Azure NAT Gateways¶
You can declare to scrape an Azure NAT Gateway via the NatGateway
resource
type.
When using declared resources, the following fields need to be provided:
natGatewayName
- The name of the Azure NAT Gateway
All supported metrics are documented in the official Azure Monitor documentation.
Example¶
Here is an example configuration:
name: azure_nat_gateway_datapath_availability
description: "DatapathAvailability usage of Azure nat gateway"
resourceType: NatGateway
azureMetricConfiguration:
metricName: DatapathAvailability
aggregation:
type: Average
resources: # Optional, required when no resource discovery is configured
- natGatewayName: promitor-nat-gateway-1
- natGatewayName: promitor-nat-gateway-2
resourceDiscoveryGroups: # Optional, requires Promitor Resource Discovery agent (https://docs.promitor.io/latest/how-it-works#using-resource-discovery)
- name: nat-gateways