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

We offer a cloud integration for reporting your Azure MySQL flexible server data to our platform. Here we explain how to activate the integration and what data it collects.

## Activate the integration [#activate]

To enable the integration follow standard procedures to [activate your Azure service](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).

Default [polling](https://docs.newrelic.com/docs/infrastructure/microsoft-azure-integrations/getting-started/azure-integration-polling) information for the Azure MySQL Flexible Server integration:

-   New Relic polling interval: 5 minutes

## Find and use data [#find-data]

To find your integration data, go to **[one.newrelic.com](https://one.newrelic.com/ "Link opens in a new window.") > Infrastructure > Azure** and select the integration.

Data is attached to the following [event types](https://docs.newrelic.com/docs/data-apis/understand-data/new-relic-data-types/#event-data):

| Entity | Event Type                       | Provider                   |
| ------ | -------------------------------- | -------------------------- |
| Server | `AzureMySqlFlexibleServerSample` | `AzureMySqlFlexibleServer` |

For more on how to use your data, see [Understand and use integration data](https://docs.newrelic.com/docs/infrastructure/integrations/find-use-infrastructure-integration-data).

## Metric data [#metrics]

This integration collects Azure MySQL flexible server data for server.

### Server data for MySQL flexible server data integration [#server-data]

| Metric                   | Unit    | Description                                             |
| ------------------------ | ------- | ------------------------------------------------------- |
| `abortedConnections`     | Count   | Aborted Connections                                     |
| `activeConnections`      | Count   | Active Connections                                      |
| `backupStorageUsedBytes` | Bytes   | Backup Storage Used                                     |
| `cpuCreditsConsumed`     | Count   | Total number of credits consumed by the database server |
| `cpuCreditsRemaining`    | Count   | Total number of credits available to burst              |
| `cpuPercent`             | Percent | CPU percent                                             |
| `ioConsumptionPercent`   | Percent | CPU percent                                             |
| `memoryPercent`          | Percent | Memory percent                                          |
| `networkEgressBytes`     | Bytes   | Network Out across active connections                   |
| `networkIngressBytes`    | Bytes   | Network In across active connections                    |
| `queries`                | Count   | Queries                                                 |
| `replicationLagSeconds`  | Seconds | Replication Lag In Seconds                              |
| `storageLimitBytes`      | Bytes   | Storage Limit                                           |
| `storagePercent`         | Percent | Storage percent                                         |
| `storageUsedBytes`       | Bytes   | Storage used                                            |
| `totalConnections`       | Count   | Total Connections                                       |
