- name: ArpAvailability
  description: ARP Availability from MSEE towards all peers.
  type: Metric
  verified: true
  visible: true
  tags:
  - alz
  properties:
    metricName: ArpAvailability
    metricNamespace: Microsoft.Network/expressRouteCircuits
    severity: 0
    windowSize: PT5M
    evaluationFrequency: PT1M
    timeAggregation: Average
    operator: LessThan
    threshold: 90
    criterionType: StaticThresholdCriterion
    autoMitigate: false
    enabled: true
  references:
  - name: Monitor ExpressRoute Alerts
    url: https://docs.microsoft.com/azure/expressroute/monitor-expressroute#alerts
  - name: ExpressRoute KQL Queries
    url: https://docs.microsoft.com/azure/expressroute/monitor-expressroute#sample-kusto-queries
  deployments:
  - name: Deploy ExpressRoute Circuits ARP Availability Alert
    template: Deploy-ERCIR-ARPAvailability-Alert.json
    type: Policy
    tags:
    - alz
    properties:
      scope: Resource
      multiResource: false
  guid: efc101c0-0623-4928-86a7-6f2d37faf24b
- name: BgpAvailability
  description: BGP Availability from MSEE towards all peers.
  type: Metric
  verified: true
  visible: true
  tags:
  - alz
  properties:
    metricName: BgpAvailability
    metricNamespace: Microsoft.Network/expressRouteCircuits
    severity: 0
    windowSize: PT5M
    evaluationFrequency: PT1M
    timeAggregation: Average
    operator: LessThan
    threshold: 90
    criterionType: StaticThresholdCriterion
    autoMitigate: false
    enabled: true
  references:
  - name: Monitor ExpressRoute Alerts
    url: https://docs.microsoft.com/azure/expressroute/monitor-expressroute#alerts
  - name: ExpressRoute KQL Queries
    url: https://docs.microsoft.com/azure/expressroute/monitor-expressroute#sample-kusto-queries
  deployments:
  - name: Deploy ExpressRoute Circuits BGP Availability Alert
    template: Deploy-ERCIR-BGPAvailability-Alert.json
    type: Policy
    tags:
    - alz
    properties:
      scope: Resource
      multiResource: false
  guid: 37302f31-86e2-45c8-a39f-d0b41c1271df
- name: QosDropBitsInPerSecond
  description: Ingress bits of data dropped per second
  type: Metric
  verified: false
  visible: true
  tags:
  - alz
  properties:
    metricName: QosDropBitsInPerSecond
    metricNamespace: Microsoft.Network/expressRouteCircuits
    severity: 2
    windowSize: PT5M
    evaluationFrequency: PT5M
    timeAggregation: Average
    operator: GreaterThan
    criterionType: DynamicThresholdCriterion
    alertSensitivity: Medium
    failingPeriods:
      numberOfEvaluationPeriods: 4
      minFailingPeriodsToAlert: 4
    autoMitigate: false
    enabled: true
  references:
  - name: Monitor ExpressRoute Alerts
    url: https://docs.microsoft.com/azure/expressroute/monitor-expressroute#alerts
  - name: ExpressRoute KQL Queries
    url: https://docs.microsoft.com/azure/expressroute/monitor-expressroute#sample-kusto-queries
  deployments:
  - name: Deploy ExpressRoute Circuits QosDropBitsInPerSecond Alert
    template: Deploy-ERCIR-QOSDropsBitsIn-Alert.json
    type: Policy
    tags:
    - alz
    properties:
      scope: Resource
      multiResource: false
  guid: d56551a8-1355-4aa3-871e-e20e1ce40f05
- name: QosDropBitsOutPerSecond
  description: Egress bits of data dropped per second
  type: Metric
  verified: false
  visible: true
  tags:
  - alz
  properties:
    metricName: QosDropBitsOutPerSecond
    metricNamespace: Microsoft.Network/expressRouteCircuits
    severity: 2
    windowSize: PT5M
    evaluationFrequency: PT5M
    timeAggregation: Average
    operator: GreaterThan
    criterionType: DynamicThresholdCriterion
    alertSensitivity: Medium
    failingPeriods:
      numberOfEvaluationPeriods: 4
      minFailingPeriodsToAlert: 4
    autoMitigate: false
    enabled: true
  references:
  - name: Monitor ExpressRoute Alerts
    url: https://docs.microsoft.com/azure/expressroute/monitor-expressroute#alerts
  - name: ExpressRoute KQL Queries
    url: https://docs.microsoft.com/azure/expressroute/monitor-expressroute#sample-kusto-queries
  deployments:
  - name: Deploy ExpressRoute Circuits QosDropBitsOutPerSecond Alert
    template: Deploy-ERCIR-QOSDropsBitsOut-Alert.json
    type: Policy
    tags:
    - alz
    properties:
      scope: Resource
      multiResource: false
  guid: 5808dbdb-712e-4bd3-b92e-4a08388c32c6
- name: globalreachbitsinpersecond
  description: "Bits ingressing Azure per second for Global Reach"
  type: Metric
  verified: false
  visible: false
  tags:
  - auto-generated
  - agc-15
  properties:
    metricName: globalreachbitsinpersecond
    metricNamespace: Microsoft.Network/expressRouteCircuits
    severity: 2
    windowSize: PT5M
    evaluationFrequency: PT5M
    timeAggregation: Average
    operator: LessThan
    criterionType: StaticThresholdCriterion
    threshold: 0.0
    autoMitigate: false
    enabled: true
  references:
  - name: View Global Reach Metrics
    url: https://learn.microsoft.com/azure/expressroute/expressroute-monitoring-metrics-alerts#expressroute-metrics
  guid: 47fe6c76-47a0-433f-92d6-a23d9f573771
- name: globalreachbitsoutpersecond
  description: "Bits egressing Azure per second	for Global Reach"
  type: Metric
  verified: false
  visible: false
  tags:
  - auto-generated
  - agc-14
  properties:
    metricName: globalreachbitsoutpersecond
    metricNamespace: Microsoft.Network/expressRouteCircuits
    severity: 2
    windowSize: PT5M
    evaluationFrequency: PT5M
    timeAggregation: Average
    operator: LessThan
    criterionType: StaticThresholdCriterion
    threshold: 0.0
    autoMitigate: false
    enabled: true
  references:
  - name: View Global Reach Metrics
    url: https://learn.microsoft.com/azure/expressroute/expressroute-monitoring-metrics-alerts#expressroute-metrics
  guid: 8a586e59-0f53-41bd-8406-174f9f0ecf7e
- name: fastpathroutescountforcircuit
  description: "Count of fastpath routes configured on circuit"
  type: Metric
  verified: false
  visible: false
  tags:
  - auto-generated
  - agc-13
  properties:
    metricName: fastpathroutescountforcircuit
    metricNamespace: Microsoft.Network/expressRouteCircuits
    severity: 2
    windowSize: PT5M
    evaluationFrequency: PT1M
    timeAggregation: Average
    operator: LessThan
    criterionType: StaticThresholdCriterion
    threshold: 0.01
    autoMitigate: false
    enabled: true
  references:
  - name: FastPath Routes Count (at circuit level)
    url: https://learn.microsoft.com/azure/expressroute/expressroute-monitoring-metrics-alerts#fastpath-routes-count-at-circuit-level
  guid: afc45643-7bd3-4321-9924-ac710bb78f88
- name: BitsInPerSecond
  description: Bits ingressing Azure per second
  type: Metric
  verified: false
  visible: true
  tags:
  - auto-generated
  - agc-1594
  properties:
    metricName: BitsInPerSecond
    metricNamespace: Microsoft.Network/expressRouteCircuits
    severity: 2
    windowSize: PT5M
    evaluationFrequency: PT1M
    timeAggregation: Average
    operator: GreaterThan
    criterionType: StaticThresholdCriterion
    threshold: 800000000.0
    enabled: true
  guid: 2e4ae517-3d35-4677-a4b0-441ca19e7670
- name: BitsOutPerSecond
  description: Bits egressing Azure per second
  type: Metric
  verified: false
  visible: true
  tags:
  - auto-generated
  - agc-1381
  properties:
    metricName: BitsOutPerSecond
    metricNamespace: Microsoft.Network/expressRouteCircuits
    severity: 2
    windowSize: PT5M
    evaluationFrequency: PT1M
    timeAggregation: Average
    operator: GreaterThan
    criterionType: StaticThresholdCriterion
    threshold: 800000000.0
    enabled: true
  guid: cc428042-1a21-43f7-b5f8-598dea50f4a2
