Skip to content

Azure Virtual Network

Availability BadgeResource Discovery Support Badge

You can declare to scrape an Azure Virtual Network via the VirtualNetwork resource type.

When using declared resources, the following fields need to be provided:

  • virtualNetworkName - The name of the Azure Virtual Network resource

All supported metrics are documented in the official Azure Monitor documentation.

Example

Here is an example configuration:

name: azure_virtual_network_ddos_attack
description: "Indication whether or not there is a DDOS attack on the Azure Virtual Network"
resourceType: VirtualNetwork
azureMetricConfiguration:
  metricName: IfUnderDDoSAttack
  aggregation:
    type: Maximum
resources: # Optional, required when no resource discovery is configured
- virtualNetworkName: promitor-virtual-network-1
- virtualNetworkName: promitor-virtual-network-2
resourceDiscoveryGroups: # Optional, requires Promitor Resource Discovery agent (https://promitor.io/concepts/how-it-works#using-resource-discovery)
- name: virtual-network-landscape