Azure Database for MySQL monitoring integration

New Relic's integrations include an integration for reporting your Microsoft Azure Database for MySQL metrics and inventory data to New Relic. This document explains how to activate the integration and describes the data reported.


New Relic gathers database data from the Azure Database for MySQL service, which provides fully managed, enterprise-ready MySQL Community database as a service. The service provides high availability, elastic scaling, automatic backups, and data protection at-rest and in-motion.

Using New Relic, you can:

  • View Azure Database for MySQL data in pre-built dashboards.
  • Run custom queries and visualize the data in New Relic One.
  • Create alert conditions to notify you of changes in data.

Activate integration

Follow standard procedures to activate your Azure service in New Relic Infrastructure.

Configuration and polling

You can change the polling frequency and filter data using configuration options.

New Relic queries your Azure Database services according to a default polling interval, which varies depending on the integration. For Azure Database for MySQL integrations:

  • Polling interval: 5 minutes (maximum recommended polling frequency: 1 hour)
  • Resolution: 1 data point per minute

Find and use data

To explore your integration data, go > Infrastructure > Azure > (select an integration).

Data about a single database is attached to the AzureMySqlServerSample event type, with a provider value of AzureMySqlServer.

Metric data

This integration collects the following metric data.

Database sample metrics

Metric Description


Count of active connections.
backupStorageUsedBytes Backup storage used, in bytes.
connectionsFailed Count of failed connections.


Percentage of CPU used.
memoryPercent Percentage of memory used.
networkEgressBytes Network Out across active connections, in bytes.
networkIngressBytes Network In across active connections, in bytes.
secondsBehindMaster Replication lag, in seconds.
serverlogStorageLimitBytes Server log storage limit, in bytes.
serverlogStoragePercent Percentage of server log storage used.
serverlogStorageUsageBytes Server log storage used, in bytes.
storageLimitBytes Amount of storage available, in bytes.
storagePercent Percentage of available storage used.
storageUsedBytes Amount of storage used, in bytes.

Inventory data

This integration collects the following inventory data about your system's state and configuration.


  • administratorLogin
  • configuration
  • databaseNames
  • databases
  • domainName
  • earliestRestoreDate
  • firewalls
  • geoRedundantBackup
  • isDataWarehouse
  • isReplica
  • MasterServerid
  • maxConnections
  • name
  • regionName
  • replicaCapacity
  • resourceGroupName
  • skuCapacity
  • skuFamily
  • skuName
  • skuTier
  • sslEnforcement
  • storageAutoGrow
  • tags
  • type
  • userVisibleState
  • version

For more help

If you need more help, check out these support and learning resources: