Skip to content

Azureインテグレーション - Database for MySQL

MackerelはAzureインテグレーションにてDatabase for MySQLのメトリック取得や監視に対応しています。課金対象として 1リソース = 1マイクロホスト と換算します。

Azureインテグレーションの設定方法や対応Azureサービス一覧についてはこちらのページをご確認ください。
Azureインテグレーション

取得メトリック

Database for MySQLサーバーで取得できるメトリックは以下の通りです。最大で36個のメトリックが取得されます。 実際に取得されるメトリックはサーバーのSKUやロールによって異なる場合があります。 メトリック の説明に関してはAzureのドキュメントをご確認ください。

グラフ名メトリックMackerel上のメトリック名単位Aggregation 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

注意事項

  • Azureインテグレーションにより取得可能な上記のグラフ・メトリックのうち、Backup Storage usedについては、Azureインテグレーションが利用しているAzure Monitor APIの仕様により、通常、15分間隔粒度でのメトリックが取得されます。また、更新は最大で30分遅延します。