Skip to content

Azure Integration - Database for MySQL

Mackerel supports obtaining and monitoring Database for MySQL metrics in Azure Integration. Billable targets are determined using the conversion 1 resource = 1 Micro Host.

Please refer to the following page for Azure Integration configuration methods and a list of supported Azure services.
Azure Integration

Obtaining metrics

The following metrics can be retrieved for Database for MySQL. A maximum of 36 metrics will be retrieved. The actual metrics obtained may be reduced depending on the server SKU and role. For Metric explanations, please refer to the Azure documentation.

Graph namesMetricMetric name in MackerelUnitAggregation Type
Backup Storage usedbackup_storage_usedazure.db_for_mysql.backup_storage_used.bytesbytesAverage
Connectionsactive_connections
aborted_connections
total_connections
azure.db_for_mysql.connections.active
azure.db_for_mysql.connections.aborted
azure.db_for_mysql.connections.total
floatAverage
Total
Total
CPU credits Remaining/Consumedcpu_credits_remaining
cpu_credits_consumed
azure.db_for_mysql.cpu_credits.remaining
azure.db_for_mysql.cpu_credits.consumed
floatAverage
CPU percentcpu_percentazure.db_for_mysql.cpu.percentpercentageAverage
HA IO/SQL StatusHA_IO_status
HA_SQL_status
azure.db_for_mysql.ha_status.io
azure.db_for_mysql.ha_status.sql
floatAverage
InnoDB Buffer Pool Reads/Requests CountInnodb_buffer_pool_reads
Innodb_buffer_pool_read_requests
azure.db_for_mysql.innodb_buffer_pool_read.reads
azure.db_for_mysql.innodb_buffer_pool_read.requests
floatTotal
IO percentio_consumption_percentazure.db_for_mysql.io.percentpercentageAverage
Memory percentmemory_percentazure.db_for_mysql.memory.percentpercentageAverage
MySQL DDL CommandCom_create_db
Com_drop_db
Com_create_table
Com_drop_table
Com_alter_table
azure.db_for_mysql.cmd_ddl.Com_create_db
azure.db_for_mysql.cmd_ddl.Com_drop_db
azure.db_for_mysql.cmd_ddl.Com_create_table
azure.db_for_mysql.cmd_ddl.Com_drop_table
azure.db_for_mysql.cmd_ddl.Com_alter_table
floatTotal
MySQL DML CommandCom_select
Com_update
Com_insert
Com_delete
azure.db_for_mysql.cmd_dml.Com_select
azure.db_for_mysql.cmd_dml.Com_update
azure.db_for_mysql.cmd_dml.Com_insert
azure.db_for_mysql.cmd_dml.Com_delete
floatTotal
Network In/Outnetwork_bytes_egress
network_bytes_ingress
azure.db_for_mysql.network.out
azure.db_for_mysql.network.in
bytesTotal
Total/Slow QueriesQueries
Slow_queries
azure.db_for_mysql.queries.total
azure.db_for_mysql.queries.slow
floatTotal
Replica IO/SQL RunningReplica_IO_Running
Replica_SQL_Running
db_for_mysql.replica_running.io
db_for_mysql.replica_running.sql
floatAverage
Replication lag in secondsreplication_lagdb_for_mysql.replication_lagsecondsMaximum
Server Log storage limit/usedserverlog_storage_limit
serverlog_storage_usage
azure.db_for_mysql.server_log_storage_limit_used.limit
azure.db_for_mysql.server_log_storage_limit_used.used
bytesMaximum
Average
Server Log storage percentserverlog_storage_percentazure.db_for_mysql.server_log_storage.percentpercentageAverage
Storage IO countstorage_io_countazure.db_for_mysql.storage_io_countfloatTotal
Storage limit/usedstorage_limit
storage_used
azure.db_for_mysql.storage_limit_used.limit
azure.db_for_mysql.storage_limit_used.used
bytesMaximum
Average
Storage percentstorage_percentazure.db_for_mysql.storage.percentpercentageAverage

Notes

  • Of the graphs / metrics that can be obtained with Azure integration listed above, Backup Storage used is normally obtained with a 15-minute interval granularity according to the specifications of the Azure Monitor API used by Azure integration. Also, updates can have a latency of up to 30 minutes.