- name: storage_percent
  description: Storage percent
  type: Metric
  verified: false
  visible: true
  tags:
  - auto-generated
  - agc-10057
  properties:
    metricName: storage_percent
    metricNamespace: Microsoft.DBforPostgreSQL/flexibleServers
    severity: 2
    windowSize: PT5M
    evaluationFrequency: PT1M
    timeAggregation: Average
    operator: GreaterThan
    criterionType: StaticThresholdCriterion
    threshold: 90.0
    enabled: true
  guid: e397645f-359b-46d1-8182-d2cabab71aae
- name: cpu_percent
  description: CPU percent
  type: Metric
  verified: false
  visible: true
  tags:
  - auto-generated
  - agc-8697
  properties:
    metricName: cpu_percent
    metricNamespace: Microsoft.DBforPostgreSQL/flexibleServers
    severity: 2
    windowSize: PT5M
    evaluationFrequency: PT1M
    timeAggregation: Average
    operator: GreaterThan
    criterionType: StaticThresholdCriterion
    threshold: 90.0
    enabled: true
  guid: 389057c9-a0e0-4327-b89f-58c3dabb519d
- name: memory_percent
  description: Memory percent
  type: Metric
  verified: false
  visible: true
  tags:
  - auto-generated
  - agc-6514
  properties:
    metricName: memory_percent
    metricNamespace: Microsoft.DBforPostgreSQL/flexibleServers
    severity: 2
    windowSize: PT5M
    evaluationFrequency: PT1M
    timeAggregation: Average
    operator: GreaterThan
    criterionType: StaticThresholdCriterion
    threshold: 90.0
    enabled: true
  guid: 0c64aa8f-4bdb-4bb0-961c-d298000536af
- name: active_connections
  description: Active Connections
  type: Metric
  verified: false
  visible: true
  tags:
  - auto-generated
  - agc-3803
  properties:
    metricName: active_connections
    metricNamespace: Microsoft.DBforPostgreSQL/flexibleServers
    severity: 2
    windowSize: PT5M
    evaluationFrequency: PT1M
    timeAggregation: Average
    operator: GreaterThan
    criterionType: StaticThresholdCriterion
    threshold: 120.0
    enabled: true
  guid: f9b59221-8055-449e-bfd5-7a056945c694
- name: connections_failed
  description: Failed Connections
  type: Metric
  verified: false
  visible: true
  tags:
  - auto-generated
  - agc-3474
  properties:
    metricName: connections_failed
    metricNamespace: Microsoft.DBforPostgreSQL/flexibleServers
    severity: 3
    windowSize: PT5M
    evaluationFrequency: PT1M
    timeAggregation: Total
    operator: GreaterThan
    criterionType: StaticThresholdCriterion
    threshold: 5.0
    enabled: true
  guid: 5f9cdad0-db39-48c9-a4eb-3107b5b79414
- name: iops
  description: IO Operations per second
  type: Metric
  verified: false
  visible: true
  tags:
  - auto-generated
  - agc-992
  properties:
    metricName: iops
    metricNamespace: Microsoft.DBforPostgreSQL/flexibleServers
    severity: 3
    windowSize: PT5M
    evaluationFrequency: PT1M
    timeAggregation: Average
    operator: GreaterThan
    criterionType: StaticThresholdCriterion
    threshold: 450.0
    enabled: true
  guid: eb3e1fb3-83e9-4764-b6e1-532bb22ce1aa
- name: disk_iops_consumed_percentage
  description: Percentage of disk I/Os consumed per minute
  type: Metric
  verified: false
  visible: true
  tags:
  - auto-generated
  - agc-766
  properties:
    metricName: disk_iops_consumed_percentage
    metricNamespace: Microsoft.DBforPostgreSQL/flexibleServers
    severity: 2
    windowSize: PT5M
    evaluationFrequency: PT5M
    timeAggregation: Average
    operator: GreaterThan
    criterionType: StaticThresholdCriterion
    threshold: 90.0
    enabled: true
  guid: 5856ad80-7256-441f-8a62-af1fdc712018
- name: is_db_alive
  description: Indicates if the database is up or not
  type: Metric
  verified: false
  visible: true
  tags:
  - auto-generated
  - agc-698
  properties:
    metricName: is_db_alive
    metricNamespace: Microsoft.DBforPostgreSQL/flexibleServers
    severity: 1
    windowSize: PT15M
    evaluationFrequency: PT15M
    timeAggregation: Maximum
    operator: LessThan
    criterionType: StaticThresholdCriterion
    threshold: 1.0
    enabled: true
  guid: b0ac25d8-ae08-45e1-8a1e-5204514ad7bd
- name: storage_free
  description: Storage Free
  type: Metric
  verified: false
  visible: true
  tags:
  - auto-generated
  - agc-379
  properties:
    metricName: storage_free
    metricNamespace: Microsoft.DBforPostgreSQL/flexibleServers
    severity: 0
    windowSize: PT1H
    evaluationFrequency: PT5M
    timeAggregation: Average
    operator: LessThan
    criterionType: StaticThresholdCriterion
    threshold: 10737418240.0
    enabled: true
  guid: d389ee62-f431-4faa-a4bc-4a3d02cea182
- name: deadlocks
  description: Number of deadlocks detected in this database
  type: Metric
  verified: false
  visible: true
  tags:
  - auto-generated
  - agc-335
  properties:
    metricName: deadlocks
    metricNamespace: Microsoft.DBforPostgreSQL/flexibleServers
    severity: 3
    windowSize: PT5M
    evaluationFrequency: PT1M
    timeAggregation: Total
    operator: GreaterThan
    criterionType: StaticThresholdCriterion
    threshold: 1.0
    enabled: true
  guid: 1904dd93-9655-403f-bb89-dc42e5ebc666
- name: maximum_used_transactionIDs
  description: Maximum Used Transaction IDs
  type: Metric
  verified: false
  visible: true
  tags:
  - auto-generated
  - agc-269
  properties:
    metricName: maximum_used_transactionIDs
    metricNamespace: Microsoft.DBforPostgreSQL/flexibleServers
    severity: 0
    windowSize: PT1H
    evaluationFrequency: PT15M
    timeAggregation: Maximum
    operator: GreaterThan
    criterionType: StaticThresholdCriterion
    threshold: 10737418240.0
    enabled: true
  guid: 1103b9a5-3d3d-4aa8-a3c2-66958e32c220
