Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The following table lists the metrics available for the Microsoft.DBforMySQL/servers resource type.
Table headings
- Metric - The metric display name as it appears in the Azure portal.
- Name in Rest API - Metric name as referred to in the REST API.
- Advanced platform metrics - A premium, paid tier of platform metrics in Azure Monitor that provide more granular observability for Azure resources.
- Unit - Unit of measure.
- Aggregation - The default aggregation type. Valid values: Average, Minimum, Maximum, Total, Count.
- Dimensions - Dimensions available for the metric.
- Time Grains - Intervals at which the metric is sampled. For example,
PT1Mindicates that the metric is sampled every minute,PT30Mevery 30 minutes,PT1Hevery hour, and so on. - DS Export -S Whether the metric is exportable to Azure Monitor Logs via Diagnostic Settings.
For information on exporting metrics, see - Metrics export using data collection rules and Create diagnostic settings in Azure Monitor.
For information on metric retention, see Azure Monitor Metrics overview.
For a list of supported logs, see Supported log categories - Microsoft.DBforMySQL/servers
Category: Errors
| Metric | Name in REST API | Advanced platform metrics | Unit | Aggregation | Dimensions | Time Grains | DS Export |
|---|---|---|---|---|---|---|---|
| Failed Connections Failed Connections |
connections_failed |
No | Count | Total (Sum) | <none> | PT1M | Yes |
Category: Latency
| Metric | Name in REST API | Advanced platform metrics | Unit | Aggregation | Dimensions | Time Grains | DS Export |
|---|---|---|---|---|---|---|---|
| Replication lag in seconds Replication lag in seconds |
seconds_behind_master |
No | Count | Average, Maximum, Minimum | <none> | PT1M | Yes |
Category: Saturation
| Metric | Name in REST API | Advanced platform metrics | Unit | Aggregation | Dimensions | Time Grains | DS Export |
|---|---|---|---|---|---|---|---|
| Backup Storage used Backup Storage used |
backup_storage_used |
No | Bytes | Average, Maximum, Minimum | <none> | PT15M, PT30M, PT1H, PT6H, PT12H, P1D | Yes |
| CPU percent CPU percent |
cpu_percent |
No | Percent | Average, Maximum, Minimum | <none> | PT1M | Yes |
| IO percent IO percent |
io_consumption_percent |
No | Percent | Average, Maximum, Minimum | <none> | PT1M | Yes |
| Memory percent Memory percent |
memory_percent |
No | Percent | Average, Maximum, Minimum | <none> | PT1M | Yes |
| Server Log storage limit Server Log storage limit |
serverlog_storage_limit |
No | Bytes | Maximum | <none> | PT1M | Yes |
| Server Log storage percent Server Log storage percent |
serverlog_storage_percent |
No | Percent | Average, Maximum, Minimum | <none> | PT1M | Yes |
| Server Log storage used Server Log storage used |
serverlog_storage_usage |
No | Bytes | Average, Maximum, Minimum | <none> | PT1M | Yes |
| Storage limit Storage limit |
storage_limit |
No | Bytes | Maximum | <none> | PT1M | Yes |
| Storage percent Storage percent |
storage_percent |
No | Percent | Average, Maximum, Minimum | <none> | PT1M | Yes |
| Storage used Storage used |
storage_used |
No | Bytes | Average, Maximum, Minimum | <none> | PT1M | Yes |
Category: Traffic
| Metric | Name in REST API | Advanced platform metrics | Unit | Aggregation | Dimensions | Time Grains | DS Export |
|---|---|---|---|---|---|---|---|
| Active Connections Active Connections |
active_connections |
No | Count | Average, Maximum, Minimum | <none> | PT1M | Yes |
| Network Out Network Out across active connections |
network_bytes_egress |
No | Bytes | Total (Sum) | <none> | PT1M | Yes |
| Network In Network In across active connections |
network_bytes_ingress |
No | Bytes | Total (Sum) | <none> | PT1M | Yes |