Azure Database for PostgreSQL

Availability BadgeResource Discovery Support Badge

You can declare to scrape an Azure Database for PostgreSQL server via the PostgreSql resource type.

The following fields need to be provided:

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

Example:

name: azure_postgre_sql_cpu_percent
description: "The CPU percentage on the server"
resourceType: PostgreSql
scraping:
  schedule: "0 */2 * ? * *"
azureMetricConfiguration:
  metricName: cpu_percent
  aggregation:
    type: Average
    interval: 00:01:00
resources:
- serverName: Promitor-1
- serverName: Promitor-2
resourceDiscoveryGroups:
- name: postgres-databases

← back to metrics declarations
← back to introduction