Azure Network Interface¶
You can declare to scrape an Azure Network Interface
via the NetworkInterface
resource type.
When using declared resources, the following fields need to be provided:
networkInterfaceName
- The name of the network interface
All supported metrics are documented in the official Azure Monitor documentation.
Example¶
Here is an example configuration:
name: azure_network_interface_bytes_received_rate
description: "Number of bytes the Network Interface sent"
resourceType: NetworkInterface
azureMetricConfiguration:
metricName: BytesReceivedRate
aggregation:
type: Average
resources: # Optional, required when no resource discovery is configured
- networkInterfaceName: promitor-network-interface-1
- networkInterfaceName: promitor-network-interface-2
resourceDiscoveryGroups: # Optional, requires Promitor Resource Discovery agent (https://docs.promitor.io/latest/how-it-works#using-resource-discovery)
- name: network-interfaces-landscape