Skip to content

Azure Database for MariaDB

Availability BadgeResource Discovery Support Badge

You can declare to scrape an Azure Database for MariaDB via the MariaDb resource type.

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

  • serverName - The name of the Azure Database for MariaDB server

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

Example

Here is an example configuration:

name: azure_db_mariadb_percentage_cpu
description: "Average percentage cpu usage on an Azure Database for MariaDB"
resourceType: MariaDb
azureMetricConfiguration:
  metricName: cpu_percent
  aggregation:
    type: Average
resources: # Optional, required when no resource discovery is configured
- serverName: promitor-maria-db-1
- serverName: promitor-maria-db-2
resourceDiscoveryGroups: # Optional, requires Promitor Resource Discovery agent (https://docs.promitor.io/latest/how-it-works#using-resource-discovery)
- name: maria-db-landscape