---
title: Azure Database for MySQL monitoring integration
source: https://docs.newrelic.com/docs/infrastructure/microsoft-azure-integrations/azure-integrations-list/azure-database-mysql-monitoring-integration
---

[New Relic's integrations](https://docs.newrelic.com/docs/infrastructure/introduction-infra-monitoring) include an integration for reporting your [Microsoft Azure Database for MySQL](https://azure.microsoft.com/en-us/services/mysql/) metrics and other data to New Relic. This document explains how to activate the integration and describes the data reported.

## Features

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](https://docs.newrelic.com/docs/infrastructure/integrations-getting-started/getting-started/use-integration-data-new-relic-insights).
-   Create alert conditions to notify you of changes in data.

## Activate integration [#activate]

Follow standard procedures to [activate your Azure service in New Relic](https://docs.newrelic.com/docs/infrastructure/microsoft-azure-integrations/getting-started/activate-azure-integrations).

## Configuration and polling [#polling]

You can change the polling frequency and filter data using [configuration options](https://docs.newrelic.com/docs/integrations/new-relic-integrations/getting-started/configure-polling-frequency-data-collection-cloud-integrations).

New Relic queries your Azure Database services according to a default [polling](https://docs.newrelic.com/docs/integrations/microsoft-azure-integrations/getting-started/azure-integration-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 [#find-and-use]

To [explore your integration data](https://docs.newrelic.com/docs/infrastructure/integrations/find-use-infrastructure-integration-data), go to **[one.newrelic.com > All capabilities](https://one.newrelic.com/all-capabilities) > 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 [#metrics]

This integration collects the following [metric data](https://docs.newrelic.com/docs/infrastructure/integrations-getting-started/getting-started/understand-integration-data-data-types#metric):

### Database sample metrics [#database-sample]

| Metric                       | Description                                      |
| ---------------------------- | ------------------------------------------------ |
| `activeConnections`          | Count of active connections.                     |
| `backupStorageUsedBytes`     | Backup storage used, in bytes.                   |
| `connectionsFailed`          | Count of failed connections.                     |
| `cpuPercent`                 | 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.                |
