---
name: databases-for-mysql-reference-monitoring
title: Monitoring integration
description: Monitoring for Cloud Databases is provided through integration with the IBM Cloud&reg; Monitoring service. Your instances forward select information so that you can monitor instance health and resource usage. To start collecting and viewing monitoring data, follow the instructions to enable Platform Metrics. Platform Metrics need to be enabled in the same region as your instance. Use the Metrics Router to configure which Sysdig instance your platform metrics flows to. For more information, see IBM Cloud Metrics Routing.
last-updated: 2026-07-28
---

> ## Documentation Index
> The table of contents for this documentation set is at https://cloud.ibm.com/docs/databases-for-mysql?format=markdown
> The index for all IBM Cloud docs is at: https://cloud.ibm.com/docs/llms.txt
> Use these files to discover more information as needed.

# Monitoring integration
{: #monitoring}

Monitoring for Cloud Databases is provided through integration with the IBM Cloud&reg; Monitoring service. Your instances forward select information so that you can monitor instance health and resource usage. To start collecting and viewing monitoring data, follow the instructions to enable [Platform Metrics](https://cloud.ibm.com/docs/metrics-router?topic=metrics-router-platform-metrics&format=markdown).
Platform Metrics need to be enabled in the same region as your instance. Use the Metrics Router to configure which Sysdig instance your platform metrics flows to. For more information, see [IBM Cloud Metrics Routing](https://cloud.ibm.com/docs/metrics-router?format=markdown).

You can then access your monitoring dashboard for each region from the IBM Cloud Monitoring area in the [Cloud console](https://cloud.ibm.com/) (under Observability).

IBM Cloud Monitoring is available for instances in every region. Instances in Multi-zone Regions (MZRs) - `eu-gb`, `eu-de`, `us-east`, `us-south`, `jp-tok`, `au-syd` - have their metrics in the same region.
If you have instances that are in a Single-zone Region (SZR) (e.g. `che01`) then your logs are forwarded to an IBM Cloud Monitoring instance in another region. You need to provision monitoring instances in the region where your metrics are forwarded to. Metrics for instances in `che01` go to `jp-tok`.
{: note}

Use IBM Cloud Monitoring dashboards to monitor your environments and applications. IBM Cloud Monitoring dashboards are designed around time. Select your dashboard based on specific data gathered over a set time range.


## Common metrics
{: #sysdig-monitor-dashboards-common-metrics}

Here is a detailed description about two of the common metrics across all Cloud Databases offerings.

### CPU cores used per member
{: #sysdig-monitor-dashboards-cpu-cores-used-per-member}

The usage that is presented in this dashboard is the number of CPU cores used per member, which is measured in core seconds. This metric is available for all hosting models; you can monitor this metric for both, databases that are hosted either as a single-tenant on underlying hardware and databases running on multi-tenant hosts.
We recommend that you use this metric to track historical CPU allocation over time, which can help you to decide how many CPU cores to allocate for your database to match desired performance.

### CPU used per member (data only available with dedicated cores)
{: #sysdig-monitor-dashboards-cpu-used-per-member-dedicated}

The usage that is presented in this dashboard is a percentage of total CPU being used, based on the number of cores in your Cloud Databases instance. For example, if you have 8 cores and your usage is 12.5%, then that percentage reflects that your database member is using 1 core's worth of CPU seconds. However, this does not guarantee that your member's workload is pinned to 1 core – the workload might be distributed unevenly among your 8 cores. In the same example, 25% usage reflects that your database member is using 2 core's worth of CPU seconds out of your available 8 cores.

The title of this metric specifies "data only available with dedicated cores," which is an anachronism. This panel now displays information about instances using the [Isolated Compute](https://cloud.ibm.com/docs/cloud-databases?topic=cloud-databases-hosting-models&interface=ui&format=markdown#hosting-models-iso-compute-ui) hosting model; however, it will not display information about any instances on the legacy hosting model once referred to as "dedicated cores." Dedicated cores were deprecated during the hosting model transition outlined [here](https://cloud.ibm.com/docs/cloud-databases?topic=cloud-databases-hosting-model-transition&format=markdown), so there should be no instances using the hosting model anymore. This panel contains a subset of the metrics that are visible in the newer panel, **CPU used per member (all instance types)**.
{: note}

### CPU used per member (all instance types)
{: #sysdig-monitor-dashboards-cpu-used-per-member-all}

The metrics in this panel cover instances of both the [Isolated Compute and Shared Compute hosting models](https://cloud.ibm.com/docs/cloud-databases?topic=cloud-databases-hosting-models&interface=ui&format=markdown). The usage that is presented in this dashboard is a percentage of total CPU being used, based on the number of cores in your Cloud Databases instance. For example, if you have 8 cores and your usage is 12.5%, then that percentage reflects that your database member is using 1 core's worth of CPU seconds. However, this does not guarantee that your member's workload is pinned to 1 core – the workload might be distributed unevenly among your 8 cores. In the same example, 25% usage reflects that your database member is using 2 core's worth of CPU seconds out of your available 8 cores.

## Metrics available by service plan
{: #metrics-by-plan}

In addition to the previous metrics, each database service has its own set of metrics that can be monitored.

## MongoDB metrics
{: #metrics-by-plan-mongodb}

| Metric name |
|-----------|
| [MongoDB Average time spent acquiring locks in microseconds](#ibm_databases_for_mongodb_locks_time_acquiring_microseconds_W_average) |
| [MongoDB Average time spent acquiring locks in microseconds](#ibm_databases_for_mongodb_locks_time_acquiring_microseconds_total_average) |
| [MongoDB Connections](#ibm_databases_for_mongodb_connections) |
| [MongoDB Disk read latency mean](#ibm_databases_for_mongodb_disk_read_latency_mean) |
| [MongoDB Disk write latency mean](#ibm_databases_for_mongodb_disk_write_latency_mean) |
| [MongoDB IO utilization in percent 15-minute average](#ibm_databases_for_mongodb_disk_io_utilization_percent_average_15m) |
| [MongoDB IO utilization in percent 30-minute average](#ibm_databases_for_mongodb_disk_io_utilization_percent_average_30m) |
| [MongoDB IO utilization in percent 5-minute average](#ibm_databases_for_mongodb_disk_io_utilization_percent_average_5m) |
| [MongoDB IO utilization in percent 60-minute average](#ibm_databases_for_mongodb_disk_io_utilization_percent_average_60m) |
| [MongoDB IOPS read and write total count for an instance](#ibm_databases_for_mongodb_disk_iops_read_write_total) |
| [MongoDB Maximum allowed memory for an instance](#ibm_databases_for_mongodb_memory_limit_bytes) |
| [MongoDB Oplog gigabyte per hour](#ibm_databases_for_mongodb_oplog_gb_per_hour) |
| [MongoDB Oplog used bytes](#ibm_databases_for_mongodb_oplog_used_bytes) |
| [MongoDB Oplog used bytes percent of total](#ibm_databases_for_mongodb_oplog_used_bytes_percent) |
| [MongoDB Oplog window hours](#ibm_databases_for_mongodb_oplog_window_hours) |
| [MongoDB Page faults](#ibm_databases_for_mongodb_page_faults) |
| [MongoDB Process resident memory in bytes](#ibm_databases_for_mongodb_process_resident_memory_bytes) |
| [MongoDB Process virtual memory in bytes](#ibm_databases_for_mongodb_process_virtual_memory_bytes) |
| [MongoDB Replica set member state](#ibm_databases_for_mongodb_status) |
| [MongoDB Replication lag](#ibm_databases_for_mongodb_replica_lag) |
| [MongoDB Total disk space for an instance](#ibm_databases_for_mongodb_disk_total_bytes) |
| [MongoDB Used CPU for an instance](#ibm_databases_for_mongodb_cpu_used_percent) |
| [MongoDB Used disk space for an instance](#ibm_databases_for_mongodb_disk_used_bytes) |
| [MongoDB Used disk space for an instance](#ibm_databases_for_mongodb_disk_used_percent) |
| [MongoDB Used memory for an instance](#ibm_databases_for_mongodb_memory_used_bytes) |
| [MongoDB Used memory for an instance](#ibm_databases_for_mongodb_memory_used_percent) |
{: caption="Metrics available by plan names" caption-side="top"}

### MongoDB metric descriptions
{: #metrics-by-plan-mongodb-desc}

#### MongoDB Average time spent acquiring locks in microseconds total W-average
{: #ibm_databases_for_mongodb_locks_time_acquiring_microseconds_W_average}

Average time spent acquiring exclusive (W) locks in microseconds

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mongodb_locks_time_acquiring_microseconds_W_average`|
| `Metric Type` | `gauge` |
| `Value Type`  | `second` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Average time spent acquiring exclusive (W) locks in microseconds metric metadata" caption-side="top"}

#### MongoDB Average time spent acquiring locks in microseconds total_average
{: #ibm_databases_for_mongodb_locks_time_acquiring_microseconds_total_average}

Average time spent acquiring locks in microseconds

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mongodb_locks_time_acquiring_microseconds_total_average`|
| `Metric Type` | `gauge` |
| `Value Type`  | `second` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Average time spent acquiring locks in microseconds metric metadata" caption-side="top"}

#### MongoDB Connections
{: #ibm_databases_for_mongodb_connections}

The number of connections to the database

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mongodb_connections`|
| `Metric Type` | `gauge` |
| `Value Type`  | `none` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Connections metric metadata" caption-side="top"}

#### MongoDB Disk read latency mean
{: #ibm_databases_for_mongodb_disk_read_latency_mean}

Disk read latency mean

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mongodb_disk_read_latency_mean`|
| `Metric Type` | `gauge` |
| `Frequency` | `60ms` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption=" Disk read latency mean metric metadata" caption-side="top"}

#### MongoDB Disk write latency mean
{: #ibm_databases_for_mongodb_disk_write_latency_mean}

Disk write latency mean

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mongodb_disk_write_latency_mean`|
| `Metric Type` | `gauge` |
| `Frequency` | `60ms` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Disk write latency mean metric metadata" caption-side="top"}

#### MongoDB IO utilization in percent 15-minute average
{: #ibm_databases_for_mongodb_disk_io_utilization_percent_average_15m}

How much disk I/O has been used over 15 minutes as a percentage of total disk I/O available

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mongodb_disk_io_utilization_percent_average_15m`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="IO utilization in percent 15 minute average metric metadata" caption-side="top"}

#### MongoDB IO utilization in percent 30-minute average
{: #ibm_databases_for_mongodb_disk_io_utilization_percent_average_30m}

How much disk I/O has been used over 30 minutes as a percentage of total disk I/O available

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mongodb_disk_io_utilization_percent_average_30m`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="IO utilization in percent 30 minute average metric metadata" caption-side="top"}

#### MongoDB IO utilization in percent 5-minute average
{: #ibm_databases_for_mongodb_disk_io_utilization_percent_average_5m}

How much disk I/O has been used over 5 minutes as a percentage of total disk I/O available

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mongodb_disk_io_utilization_percent_average_5m`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="IO utilization in percent 5 minute average metric metadata" caption-side="top"}

#### MongoDB IO utilization in percent 60-minute average
{: #ibm_databases_for_mongodb_disk_io_utilization_percent_average_60m}

How much disk I/O has been used over 60 minutes as a percentage of total disk I/O available

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mongodb_disk_io_utilization_percent_average_60m`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="IO utilization in percent 60 minute average metric metadata" caption-side="top"}

#### MongoDB IOPS read & write total count for an instance
{: #ibm_databases_for_mongodb_disk_iops_read_write_total}

How many input-output operations per second your instance is performing

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mongodb_disk_iops_read_write_total`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="IOPS read & write total count for an instance metric metadata" caption-side="top"}

#### MongoDB Maximum allowed memory for an instance
{: #ibm_databases_for_mongodb_memory_limit_bytes}

The maximum amount of memory available to your instance

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mongodb_memory_limit_bytes`|
| `Metric Type` | `gauge` |
| `Value Type`  | `byte` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Maximum allowed memory for an instance metric metadata" caption-side="top"}

#### MongoDB Oplog gigabyte per hour
{: #ibm_databases_for_mongodb_oplog_gb_per_hour}

The gigabytes of oplog per hour the primary generates

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mongodb_oplog_gb_per_hour`|
| `Metric Type` | `gauge` |
| `Value Type`  | `none` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Oplog gigabyte per hour metric metadata" caption-side="top"}

#### MongoDB Oplog used bytes
{: #ibm_databases_for_mongodb_oplog_used_bytes}

The total amount of space used by the oplog in bytes.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mongodb_oplog_used_bytes`|
| `Metric Type` | `gauge` |
| `Value Type`  | `byte` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Oplog used bytes metric metadata" caption-side="top"}

#### MongoDB Oplog used bytes percent of total
{: #ibm_databases_for_mongodb_oplog_used_bytes_percent}

The total used oplog space in percent

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mongodb_oplog_used_bytes_percent`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Oplog used bytes percent of total metric metadata" caption-side="top"}

#### MongoDB Oplog window hours
{: #ibm_databases_for_mongodb_oplog_window_hours}

The approximate number of hours available in the oplog.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mongodb_oplog_window_hours`|
| `Metric Type` | `gauge` |
| `Value Type`  | `none` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Oplog window hours metric metadata" caption-side="top"}

#### MongoDB Page faults
{: #ibm_databases_for_mongodb_page_faults}

The number of times per second that MongoDB had to request data from disk. Scale RAM to reduce the number of disk requests

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mongodb_page_faults`|
| `Metric Type` | `gauge` |
| `Value Type`  | `none` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Page faults metric metadata" caption-side="top"}

#### MongoDB Process resident memory in bytes
{: #ibm_databases_for_mongodb_process_resident_memory_bytes}

Amount of actual physical memory used by the MongoDB process.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mongodb_process_resident_memory_bytes`|
| `Metric Type` | `gauge` |
| `Value Type`  | `byte` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Process resident memory in bytes metric metadata" caption-side="top"}

#### MongoDB Process virtual memory in bytes
{: #ibm_databases_for_mongodb_process_virtual_memory_bytes}

Amount of virtual memory used by the MongoDB process.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mongodb_process_virtual_memory_bytes`|
| `Metric Type` | `gauge` |
| `Value Type`  | `byte` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Process virtual memory in bytes metric metadata" caption-side="top"}

#### MongoDB Replica set member state
{: #ibm_databases_for_mongodb_status}

An integer between 0 and 10 that represents the replica state of the current member.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mongodb_status`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Replica set member state metric metadata" caption-side="top"}

#### MongoDB Replication lag
{: #ibm_databases_for_mongodb_replica_lag}

The replication lag in seconds

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mongodb_replica_lag`|
| `Metric Type` | `gauge` |
| `Value Type`  | `second` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Replication lag metric metadata" caption-side="top"}

#### MongoDB Total disk space for an instance
{: #ibm_databases_for_mongodb_disk_total_bytes}

Represents the total amount of disk space available to your deployment

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mongodb_disk_total_bytes`|
| `Metric Type` | `gauge` |
| `Value Type`  | `byte` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Total disk space for an instance metric metadata" caption-side="top"}

#### MongoDB Used CPU for an instance
{: #ibm_databases_for_mongodb_cpu_used_percent}

How much CPU is used as a percentage of total CPU available. Only for deployments that have dedicated CPU

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mongodb_cpu_used_percent`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Used CPU for an instance metric metadata" caption-side="top"}

#### MongoDB Used disk space for an instance bytes
{: #ibm_databases_for_mongodb_disk_used_bytes}

How much disk space your instance is using

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mongodb_disk_used_bytes`|
| `Metric Type` | `gauge` |
| `Value Type`  | `byte` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Used disk space for an instance metric metadata" caption-side="top"}

#### MongoDB Used disk space for an instance
{: #ibm_databases_for_mongodb_disk_used_percent}

How much disk space is used as a percentage of total disk available

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mongodb_disk_used_percent`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Used disk space for an instance metric metadata" caption-side="top"}

#### MongoDB Used memory for an instance
{: #ibm_databases_for_mongodb_memory_used_bytes}

How much memory your instance is using

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mongodb_memory_used_bytes`|
| `Metric Type` | `gauge` |
| `Value Type`  | `byte` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Used memory for an instance metric metadata" caption-side="top"}

#### MongoDB Used memory for an instance percent
{: #ibm_databases_for_mongodb_memory_used_percent}

How much memory is used as a percentage of total memory available

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mongodb_memory_used_percent`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Used memory for an instance metric metadata" caption-side="top"}

## PostgreSQL Metrics
{: #metrics-by-plan-postgresql}

| Metric Name |
|-----------|
| [PostgreSQL Cache hit ratio](#ibm_databases_for_postgresql_cache_hit_ratio) |
| [PostgreSQL Disk read latency mean](#ibm_databases_for_postgresql_disk_read_latency_mean) |
| [PostgreSQL Disk write latency mean](#ibm_databases_for_postgresql_disk_write_latency_mean) |
| [PostgreSQL IO utilization in percent 15-minute average](#ibm_databases_for_postgresql_disk_io_utilization_percent_average_15m) |
| [PostgreSQL IO utilization in percent 30-minute average](#ibm_databases_for_postgresql_disk_io_utilization_percent_average_30m) |
| [PostgreSQL IO utilization in percent 5-minute average](#ibm_databases_for_postgresql_disk_io_utilization_percent_average_5m) |
| [PostgreSQL IO utilization in percent 60-minute average](#ibm_databases_for_postgresql_disk_io_utilization_percent_average_60m) |
| [PostgreSQL IOPS read & write total count for an instance](#ibm_databases_for_postgresql_disk_iops_read_write_total) |
| [PostgreSQL Maximum allowed memory for an instance](#ibm_databases_for_postgresql_memory_limit_bytes) |
| [PostgreSQL Out-of-memory rate](#ibm_databases_for_postgresql_out_of_memory_rate) |
| [PostgreSQL Read replica replication lag](#ibm_databases_for_postgresql_read_replica_replication_lag_bytes) |
| [PostgreSQL Successful archive rate](#ibm_databases_for_postgresql_successful_archive_rate) |
| [PostgreSQL Temporary files size in bytes](#ibm_databases_for_postgresql_temp_bytes_count) |
| [PostgreSQL The total number of PostgreSQL connections being used](#ibm_databases_for_postgresql_total_connections) |
| [PostgreSQL Total disk space for an instance](#ibm_databases_for_postgresql_disk_total_bytes) |
| [PostgreSQL Transaction commit count](#ibm_databases_for_postgresql_transaction_commit_count) |
| [PostgreSQL Transaction commit rate](#ibm_databases_for_postgresql_transaction_commit_rate) |
| [PostgreSQL Transaction rollback count](#ibm_databases_for_postgresql_transaction_rollback_count) |
| [PostgreSQL Transaction rollback rate](#ibm_databases_for_postgresql_transaction_rollback_rate) |
| [PostgreSQL Tuples deleted count](#ibm_databases_for_postgresql_tuples_deleted_count) |
| [PostgreSQL Tuples deleted rate](#ibm_databases_for_postgresql_tuples_deleted_rate) |
| [PostgreSQL Tuples fetched count](#ibm_databases_for_postgresql_tuples_fetched_count) |
| [PostgreSQL Tuples fetched rate](#ibm_databases_for_postgresql_tuples_fetched_rate) |
| [PostgreSQL Tuples inserted count](#ibm_databases_for_postgresql_tuples_inserted_count) |
| [PostgreSQL Tuples inserted rate](#ibm_databases_for_postgresql_tuples_inserted_rate) |
| [PostgreSQL Tuples returned rate](#ibm_databases_for_postgresql_tuples_returned_rate) |
| [PostgreSQL Tuples updated count](#ibm_databases_for_postgresql_tuples_updated_count) |
| [PostgreSQL Tuples updated rate](#ibm_databases_for_postgresql_tuples_updated_rate) |
| [PostgreSQL Used CPU for an instance](#ibm_databases_for_postgresql_cpu_used_percent) |
| [PostgreSQL Used disk space for an instance](#ibm_databases_for_postgresql_disk_used_bytes) |
| [PostgreSQL Used disk space for an instance](#ibm_databases_for_postgresql_disk_used_percent) |
| [PostgreSQL Used memory for an instance](#ibm_databases_for_postgresql_memory_used_bytes) |
| [PostgreSQL Used memory for an instance](#ibm_databases_for_postgresql_memory_used_percent) |
| [PostgreSQL WAL logs used bytes](#ibm_databases_for_postgresql_wal_used_bytes) |
| [PostgreSQL Blocks hit rate](#ibm_databases_for_postgresql_blocks_hit_rate) |
| [PostgreSQL Blocks read rate](#ibm_databases_for_postgresql_blocks_read_rate) |
| [PostgreSQL Buffers backend rate](#ibm_databases_for_postgresql_buffers_backend_rate) |
| [PostgreSQL Buffers checkpoint rate](#ibm_databases_for_postgresql_buffers_checkpoint_rate) |
| [PostgreSQL Deadlocks count](#ibm_databases_for_postgresql_deadlocks_count) |
| [PostgreSQL Deadlocks rate](#ibm_databases_for_postgresql_deadlocks_rate) |
{: caption="Metrics Available by Plan Names" caption-side="top"}

### PostgreSQL Metric Descriptions
{: #metrics-by-plan-postgres-desc}

#### PostgreSQL Blocks hit rate
{: #ibm_databases_for_postgresql_blocks_hit_rate}

Blocks hit rate

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_blocks_hit_rate`|
| `Metric Type` | `gauge` |
| `Value Type`  | `rate` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Blocks hit rate metric metadata" caption-side="top"}

#### PostgreSQL Blocks read rate
{: #ibm_databases_for_postgresql_blocks_read_rate}

Blocks read rate

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_blocks_read_rate`|
| `Metric Type` | `gauge` |
| `Value Type`  | `rate` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Blocks read rate metric metadata" caption-side="top"}

#### PostgreSQL Buffers backend rate
{: #ibm_databases_for_postgresql_buffers_backend_rate}

Buffers backend rate

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_buffers_backend_rate`|
| `Metric Type` | `gauge` |
| `Value Type`  | `rate` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Buffers backend rate metric metadata" caption-side="top"}

#### PostgreSQL Buffers checkpoint rate
{: #ibm_databases_for_postgresql_buffers_checkpoint_rate}

Buffers checkpoint rate

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_buffers_checkpoint_rate`|
| `Metric Type` | `gauge` |
| `Value Type`  | `rate` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Buffers checkpoint rate metric metadata" caption-side="top"}

#### PostgreSQL Cache hit ratio
{: #ibm_databases_for_postgresql_cache_hit_ratio}

Cache hit ratio

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_cache_hit_ratio`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Cache hit ratio metric metadata" caption-side="top"}

#### PostgreSQL Deadlocks count
{: #ibm_databases_for_postgresql_deadlocks_count}

Deadlocks count

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_deadlocks_count`|
| `Metric Type` | `gauge` |
| `Value Type`  | `none` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Deadlocks count metric metadata" caption-side="top"}

#### PostgreSQL Deadlocks rate
{: #ibm_databases_for_postgresql_deadlocks_rate}

Deadlocks rate

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_deadlocks_rate`|
| `Metric Type` | `gauge` |
| `Value Type`  | `rate` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Deadlocks rate metric metadata" caption-side="top"}

#### PostgreSQL Disk read latency mean
{: #ibm_databases_for_postgresql_disk_read_latency_mean}

Disk read latency mean

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_disk_read_latency_mean`|
| `Metric Type` | `gauge` |
| `Frequency` | `60ms` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Disk read latency mean metric metadata" caption-side="top"}

#### PostgreSQL Disk write latency mean
{: #ibm_databases_for_postgresql_disk_write_latency_mean}

Disk write latency mean

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_disk_write_latency_mean`|
| `Metric Type` | `gauge` |
| `Frequency` | `60ms` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Disk write latency mean metric metadata" caption-side="top"}

#### PostgreSQL IO utilization in percent 15-minute average
{: #ibm_databases_for_postgresql_disk_io_utilization_percent_average_15m}

How much disk I/O has been used over 15 minutes as a percentage of total disk I/O available

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_disk_io_utilization_percent_average_15m`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="IO utilization in percent 15 minute average metric metadata" caption-side="top"}

#### PostgreSQL IO utilization in percent 30-minute average
{: #ibm_databases_for_postgresql_disk_io_utilization_percent_average_30m}

How much disk I/O has been used over 30 minutes as a percentage of total disk I/O available

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_disk_io_utilization_percent_average_30m`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="IO utilization in percent 30 minute average metric metadata" caption-side="top"}

#### PostgreSQL IO utilization in percent 5-minute average
{: #ibm_databases_for_postgresql_disk_io_utilization_percent_average_5m}

How much disk I/O has been used over 5 minutes as a percentage of total disk I/O available

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_disk_io_utilization_percent_average_5m`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="IO utilization in percent 5 minute average metric metadata" caption-side="top"}

#### PostgreSQL IO utilization in percent 60-minute average
{: #ibm_databases_for_postgresql_disk_io_utilization_percent_average_60m}

How much disk I/O has been used over 60 minutes as a percentage of total disk I/O available

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_disk_io_utilization_percent_average_60m`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="IO utilization in percent 60 minute average metric metadata" caption-side="top"}

#### PostgreSQL IOPS read & write total count for an instance
{: #ibm_databases_for_postgresql_disk_iops_read_write_total}

How many input-output operations per second your instance is performing

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_disk_iops_read_write_total`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="IOPS read & write total count for an instance metric metadata" caption-side="top"}

#### PostgreSQL Maximum allowed memory for an instance
{: #ibm_databases_for_postgresql_memory_limit_bytes}

The maximum amount of memory available to your instance

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_memory_limit_bytes`|
| `Metric Type` | `gauge` |
| `Value Type`  | `byte` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Maximum allowed memory for an instance metric metadata" caption-side="top"}

#### Out-of-memory rate
{: #ibm_databases_for_postgresql_out_of_memory_rate}

The rate of Out-of-memory (OOM) events detected for database member containers over a rolling 5-minute window. This metric is derived from the Kubernetes `container_oom_events_total` metric and helps identify memory pressure or instability events. A sustained or increasing value can indicate memory exhaustion, workload pressure, inefficient queries, or insufficient scaling causing container restarts or degraded stability.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_out_of_memory_rate`|
| `Metric Type` | `gauge` |
| `Value Type`  | `rate` |
| `Segment By` | `Service instance, Service instance name, Resource group name` |
{: caption="Out-of-memory rate metric metadata" caption-side="top"}

##### Usage example 1: basic OOM detection
{: #ibm_databases_for_postgresql_out_of_memory_rate_ex1}

Alert when OOM events occured in the last 5 minutes:
```promql
avg_over_time(ibm_databases_for_postgresql_out_of_memory_rate[5m]) > 0
```

##### Usage example 2: instance-specific monitoring
{: #ibm_databases_for_postgresql_out_of_memory_rate_ex2}

Monitor a specific PostgreSQL instance with tiered severity:

Warning alert (10-minute window):
```promql
avg_over_time(ibm_databases_for_postgresql_out_of_memory_rate[10m]) > 0
```

Critical alert (15-minute window with higher threshold):
```promql
avg_over_time(ibm_databases_for_postgresql_out_of_memory_rate[15m]) > 0.1
```

Scope to specific instance:
```promql
avg_over_time(
  ibm_databases_for_postgresql_out_of_memory_rate{
    ibm_service_instance_name="my-postgres"
  }[10m]
) > 0
```

Alert on sustained non-zero values rather than single spikes. Combine with memory utilization metrics for better signal quality. Repeated OOM activity indicates scaling or workload tuning might be required.
{: note}


#### PostgreSQL Read replica replication lag
{: #ibm_databases_for_postgresql_read_replica_replication_lag_bytes}

How far behind a PostgreSQL read-only replica is, in bytes

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_read_replica_replication_lag_bytes`|
| `Metric Type` | `gauge` |
| `Value Type`  | `none` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Read replica replication lag metric metadata" caption-side="top"}

#### PostgreSQL Successful archive rate
{: #ibm_databases_for_postgresql_successful_archive_rate}

Successful archive rate

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_successful_archive_rate`|
| `Metric Type` | `gauge` |
| `Value Type`  | `rate` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Successful archive rate metric metadata" caption-side="top"}

#### PostgreSQL Temporary files size in bytes
{: #ibm_databases_for_postgresql_temp_bytes_count}

Temporary files size in bytes

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_temp_bytes_count`|
| `Metric Type` | `gauge` |
| `Value Type`  | `none` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Temporary files size in bytes metric metadata" caption-side="top"}

#### PostgreSQL The total number of PostgreSQL connections being used
{: #ibm_databases_for_postgresql_total_connections}

The total number of PostgreSQL connections being used

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_total_connections`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="The total number of PostgreSQL connections being used metric metadata" caption-side="top"}

#### PostgreSQL Total disk space for an instance
{: #ibm_databases_for_postgresql_disk_total_bytes}

Represents the total amount of disk space available to your deployment

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_disk_total_bytes`|
| `Metric Type` | `gauge` |
| `Value Type`  | `byte` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Total disk space for an instance metric metadata" caption-side="top"}

#### PostgreSQL Transaction commit count
{: #ibm_databases_for_postgresql_transaction_commit_count}

Transaction commit count

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_transaction_commit_count`|
| `Metric Type` | `gauge` |
| `Value Type`  | `none` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Transaction commit count metric metadata" caption-side="top"}

#### PostgreSQL Transaction commit rate
{: #ibm_databases_for_postgresql_transaction_commit_rate}

Transaction commit rate

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_transaction_commit_rate`|
| `Metric Type` | `gauge` |
| `Value Type`  | `rate` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Transaction commit rate metric metadata" caption-side="top"}

#### PostgreSQL Transaction rollback count
{: #ibm_databases_for_postgresql_transaction_rollback_count}

Transaction rollback count

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_transaction_rollback_count`|
| `Metric Type` | `gauge` |
| `Value Type`  | `none` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Transaction rollback count metric metadata" caption-side="top"}

#### PostgreSQL Transaction rollback rate
{: #ibm_databases_for_postgresql_transaction_rollback_rate}

Transaction rollback rate

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_transaction_rollback_rate`|
| `Metric Type` | `gauge` |
| `Value Type`  | `rate` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Transaction rollback rate metric metadata" caption-side="top"}

#### PostgreSQL Tuples deleted count
{: #ibm_databases_for_postgresql_tuples_deleted_count}

Tuples deleted count

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_tuples_deleted_count`|
| `Metric Type` | `gauge` |
| `Value Type`  | `none` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Tuples deleted count metric metadata" caption-side="top"}

#### PostgreSQL Tuples deleted rate
{: #ibm_databases_for_postgresql_tuples_deleted_rate}

Tuples deleted rate

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_tuples_deleted_rate`|
| `Metric Type` | `gauge` |
| `Value Type`  | `rate` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Tuples deleted rate metric metadata" caption-side="top"}

#### PostgreSQL Tuples fetched count
{: #ibm_databases_for_postgresql_tuples_fetched_count}

Tuples fetched count

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_tuples_fetched_count`|
| `Metric Type` | `gauge` |
| `Value Type`  | `none` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Tuples fetched count metric metadata" caption-side="top"}

#### PostgreSQL Tuples fetched rate
{: #ibm_databases_for_postgresql_tuples_fetched_rate}

Tuples fetched rate

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_tuples_fetched_rate`|
| `Metric Type` | `gauge` |
| `Value Type`  | `rate` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Tuples fetched rate metric metadata" caption-side="top"}

#### PostgreSQL Tuples inserted count
{: #ibm_databases_for_postgresql_tuples_inserted_count}

Tuples inserted count

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_tuples_inserted_count`|
| `Metric Type` | `gauge` |
| `Value Type`  | `none` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Tuples inserted count metric metadata" caption-side="top"}

#### PostgreSQL Tuples inserted rate
{: #ibm_databases_for_postgresql_tuples_inserted_rate}

Tuples inserted rate

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_tuples_inserted_rate`|
| `Metric Type` | `gauge` |
| `Value Type`  | `rate` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Tuples inserted rate metric metadata" caption-side="top"}

#### PostgreSQL Tuples returned rate
{: #ibm_databases_for_postgresql_tuples_returned_rate}

Tuples returned rate

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_tuples_returned_rate`|
| `Metric Type` | `gauge` |
| `Value Type`  | `rate` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Tuples returned rate metric metadata" caption-side="top"}

#### PostgreSQL Tuples updated count
{: #ibm_databases_for_postgresql_tuples_updated_count}

Tuples updated count

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_tuples_updated_count`|
| `Metric Type` | `gauge` |
| `Value Type`  | `none` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Tuples updated count metric metadata" caption-side="top"}

#### PostgreSQL Tuples updated rate
{: #ibm_databases_for_postgresql_tuples_updated_rate}

Tuples updated rate

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_tuples_updated_rate`|
| `Metric Type` | `gauge` |
| `Value Type`  | `rate` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Tuples updated rate metric metadata" caption-side="top"}

#### PostgreSQL Used CPU for an instance
{: #ibm_databases_for_postgresql_cpu_used_percent}

How much CPU is used as a percentage of total CPU available. This metric is available only for the Dedicated Hosting Model. For deployments on the Shared Hosting Model, use the `ibm_databases_for_postgresql_cpu_usage_seconds` metric to assess database CPU utilization. Applying the `average_over_time` function to this metric can provide meaningful insights.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_cpu_used_percent`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Used CPU for an instance metric metadata" caption-side="top"}

#### PostgreSQL Used disk space for an instance bytes
{: #ibm_databases_for_postgresql_disk_used_bytes}

How much disk space your instance is using

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_disk_used_bytes`|
| `Metric Type` | `gauge` |
| `Value Type`  | `byte` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Used disk space for an instance metric metadata" caption-side="top"}

#### PostgreSQL Used disk space for an instance
{: #ibm_databases_for_postgresql_disk_used_percent}

How much disk space is used as a percentage of total disk available

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_disk_used_percent`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Used disk space for an instance metric metadata" caption-side="top"}

#### PostgreSQL Used memory for an instance bytes
{: #ibm_databases_for_postgresql_memory_used_bytes}

How much memory your instance is using

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_memory_used_bytes`|
| `Metric Type` | `gauge` |
| `Value Type`  | `byte` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Used memory for an instance metric metadata" caption-side="top"}

#### PostgreSQL Used memory for an instance percent
{: #ibm_databases_for_postgresql_memory_used_percent}

How much memory is used as a percentage of total memory available

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_memory_used_percent`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Used memory for an instance metric metadata" caption-side="top"}

#### PostgreSQL WAL logs used bytes
{: #ibm_databases_for_postgresql_wal_used_bytes}

How much WAL log file uses, in bytes

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_postgresql_wal_used_bytes`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="WAL logs used bytes metric metadata" caption-side="top"}

## MySQL Metrics
{: #metrics-by-plan-mysql}

| Metric Name |
|-----------|
| [MySQL Cache hit ratio](#ibm_databases_for_mysql_cache_hit_ratio) |
| [MySQL Connection usage for an instance](#ibm_databases_for_mysql_connection_used_percent) |
| [MySQL Disk read latency mean](#ibm_databases_for_mysql_disk_read_latency_mean) |
| [MySQL Disk write latency mean](#ibm_databases_for_mysql_disk_write_latency_mean) |
| [MySQL IO utilization in percent 15-minute average](#ibm_databases_for_mysql_disk_io_utilization_percent_average_15m) |
| [MySQL IO utilization in percent 30-minute average](#ibm_databases_for_mysql_disk_io_utilization_percent_average_30m) |
| [MySQL IO utilization in percent 5-minute average](#ibm_databases_for_mysql_disk_io_utilization_percent_average_5m) |
| [MySQL IO utilization in percent 60-minute average](#ibm_databases_for_mysql_disk_io_utilization_percent_average_60m) |
| [MySQL IOPS read & write total count for an instance](#ibm_databases_for_mysql_disk_iops_read_write_total) |
| [MySQL Maximum allowed memory for an instance](#ibm_databases_for_mysql_memory_limit_bytes) |
| [MySQL The maximum permitted number of simultaneous client connections.](#ibm_databases_for_mysql_max_connections) |
| [MySQL Percent of threads connected](#ibm_databases_for_mysql_threads_connected_usage) |
| [MySQL Percent of threads running](#ibm_databases_for_mysql_threads_running_usage) |
| [MySQL The number of connections that were aborted because the client died without closing the connection properly](#ibm_databases_for_mysql_aborted_clients_rate) |
| [MySQL The number of threads created to handle connections](#ibm_databases_for_mysql_threads_created) |
| [MySQL The number of threads in the thread cache](#ibm_databases_for_mysql_thread_cache_size) |
| [MySQL The number of threads in the thread cache](#ibm_databases_for_mysql_threads_cached) |
| [MySQL The open file usage](#ibm_databases_for_mysql_open_file_usage) |
| [MySQL The pool hit rate](#ibm_databases_for_mysql_pool_hit_rate) |
| [MySQL The pool utilization](#ibm_databases_for_mysql_pool_utilization) |
| [MySQL The rate of bytes received from all clients](#ibm_databases_for_mysql_bytes_received_rate) |
| [MySQL The rate of bytes sent to all clients](#ibm_databases_for_mysql_bytes_sent_rate) |
| [MySQL The rate of failed attempts to connect to the MySQL server](#ibm_databases_for_mysql_aborted_connects_rate) |
| [MySQL The rate of joins that did a full scan of the first table](#ibm_databases_for_mysql_select_scan_rate) |
| [MySQL The rate of joins that perform table scans because they do not use indexes](#ibm_databases_for_mysql_select_full_join_rate) |
| [MySQL The rate of joins that used a range search on a reference table](#ibm_databases_for_mysql_select_full_range_join_rate) |
| [MySQL The rate of joins that used ranges on the first table](#ibm_databases_for_mysql_select_range_rate) |
| [MySQL The rate of joins without keys that check for key usage after each row](#ibm_databases_for_mysql_select_range_check_rate) |
| [MySQL The rate of merge passes that the sort algorithm has had to do](#ibm_databases_for_mysql_sort_merge_passes_rate) |
| [MySQL The rate of queries that have taken more than long_query_time seconds](#ibm_databases_for_mysql_slow_queries_rate) |
| [MySQL The rate of sorted rows](#ibm_databases_for_mysql_sort_rows_rate) |
| [MySQL The rate of sorts that were done by scanning the table](#ibm_databases_for_mysql_sort_scan_rate) |
| [MySQL The rate of sorts that were done using ranges](#ibm_databases_for_mysql_sort_range_rate) |
| [MySQL The rate of statements executed by the server](#ibm_databases_for_mysql_questions_rate) |
| [MySQL The rate of times that a request for a table lock could be granted immediately](#ibm_databases_for_mysql_table_locks_immediate_rate) |
| [MySQL The rate of times that a request for a table lock could not be granted immediately and a wait was needed](#ibm_databases_for_mysql_table_locks_waited_rate) |
| [MySQL The rate of times that the log buffer was too small and a wait was required for it to be flushed before continuing](#ibm_databases_for_mysql_innodb_log_waits_rate) |
| [MySQL The rate of total command statements executed](#ibm_databases_for_mysql_commands_total_rate) |
| [MySQL Total disk space for an instance](#ibm_databases_for_mysql_disk_total_bytes) |
| [MySQL Used CPU for an instance](#ibm_databases_for_mysql_cpu_used_percent) |
| [MySQL Used disk space for an instance](#ibm_databases_for_mysql_disk_used_bytes) |
| [MySQL Used disk space for an instance](#ibm_databases_for_mysql_disk_used_percent) |
| [MySQL Used memory for an instance](#ibm_databases_for_mysql_memory_used_bytes) |
| [MySQL Used memory for an instance](#ibm_databases_for_mysql_memory_used_percent) |
| [MySQL Total active connections to the database](#ibm_databases_for_mysql_total_connections) |
| [MySQL Replica lag](#ibm_databases_for_mysql_replica_lag) |
| [MySQL Replica state](#ibm_databases_for_mysql_replica_state) |
{: caption="Metrics Available by Plan Names" caption-side="top"}

### MySQL Metrics Descriptions
{: #metrics-by-plan-mysql-desc}

#### MySQLCache hit ratio
{: #ibm_databases_for_mysql_cache_hit_ratio}

Cache hit ratio

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_cache_hit_ratio`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Cache hit ratio metric metadata" caption-side="top"}

#### MySQL Connection usage for an instance
{: #ibm_databases_for_mysql_connection_used_percent}

Represents the connection usage for your deployment.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_connection_used_percent`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
`Segment By` | `Service instance, Service instance name` |
{: caption="Connection usage for an instance metric metadata" caption-side="top"}

#### MySQL Disk read latency mean
{: #ibm_databases_for_mysql_disk_read_latency_mean}

Disk read latency mean

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_disk_read_latency_mean`|
| `Metric Type` | `gauge` |
| `Frequency` | `60ms` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Disk read latency mean metric metadata" caption-side="top"}

#### MySQL Disk write latency mean
{: #ibm_databases_for_mysql_disk_write_latency_mean}

Disk write latency mean

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_disk_write_latency_mean`|
| `Metric Type` | `gauge` |
| `Frequency` | `60ms` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Disk write latency mean metric metadata" caption-side="top"}

#### MySQL IO utilization in percent 15-minute average
{: #ibm_databases_for_mysql_disk_io_utilization_percent_average_15m}

How much disk I/O has been used over 15 minutes as a percentage of total disk I/O available

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_disk_io_utilization_percent_average_15m`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="IO utilization in percent 15 minute average metric metadata" caption-side="top"}

#### MySQL IO utilization in percent 30-minute average
{: #ibm_databases_for_mysql_disk_io_utilization_percent_average_30m}

How much disk I/O has been used over 30 minutes as a percentage of total disk I/O available

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_disk_io_utilization_percent_average_30m`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="IO utilization in percent 30 minute average metric metadata" caption-side="top"}

#### MySQL IO utilization in percent 5-minute average
{: #ibm_databases_for_mysql_disk_io_utilization_percent_average_5m}

How much disk I/O has been used over 5 minutes as a percentage of total disk I/O available

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_disk_io_utilization_percent_average_5m`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="IO utilization in percent 5 minute average metric metadata" caption-side="top"}

#### MySQL IO utilization in percent 60-minute average
{: #ibm_databases_for_mysql_disk_io_utilization_percent_average_60m}

How much disk I/O has been used over 60 minutes as a percentage of total disk I/O available

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_disk_io_utilization_percent_average_60m`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="IO utilization in percent 60 minute average metric metadata" caption-side="top"}

#### MySQL IOPS read & write total count for an instance
{: #ibm_databases_for_mysql_disk_iops_read_write_total}

How many input-output operations per second your instance is performing

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_disk_iops_read_write_total`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="IOPS read & write total count for an instance metric metadata" caption-side="top"}

#### MySQL Maximum allowed memory for an instance
{: #ibm_databases_for_mysql_memory_limit_bytes}

The maximum amount of memory available to your instance

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_memory_limit_bytes`|
| `Metric Type` | `gauge` |
| `Value Type`  | `byte` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Maximum allowed memory for an instance metric metadata" caption-side="top"}

#### MySQL Maximum permitted number of simultaneous client connections.
{: #ibm_databases_for_mysql_max_connections}

Represents the maximum permitted number of simultaneous client connections.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_max_connections`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
 `Segment By` | `Service instance, Service instance name` |
{: caption="The maximum permitted number of simultaneous client connections. metric metadata" caption-side="top"}

#### MySQL Percent of threads connected
{: #ibm_databases_for_mysql_threads_connected_usage}

Percent of threads connected.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_threads_connected_usage`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Percent of threads connected metric metadata" caption-side="top"}

#### MySQL Percent of threads running
{: #ibm_databases_for_mysql_threads_running_usage}

Percent of threads running.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_threads_running_usage`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Percent of threads running metric metadata" caption-side="top"}

#### MySQL The number of connections that were aborted because the client died without closing the connection properly
{: #ibm_databases_for_mysql_aborted_clients_rate}

The number of connections that were aborted because the client died without closing the connection properly.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_aborted_clients_rate`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="The number of connections that were aborted because the client died without closing the connection properly metric metadata" caption-side="top"}

#### MySQL The number of threads created to handle connections
{: #ibm_databases_for_mysql_threads_created}

The number of threads created to handle connections.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_threads_created`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="The number of threads created to handle connections metric metadata" caption-side="top"}

#### MySQL The number of threads in the thread cache size
{: #ibm_databases_for_mysql_thread_cache_size}

The number of threads in the thread cache.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_thread_cache_size`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="The number of threads in the thread cache metric metadata" caption-side="top"}

#### MySQL The number of threads in the thread cache
{: #ibm_databases_for_mysql_threads_cached}

The number of threads in the thread cache.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_threads_cached`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="The number of threads in the thread cache metric metadata" caption-side="top"}

#### MySQL The open file usage
{: #ibm_databases_for_mysql_open_file_usage}

The open file usage.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_open_file_usage`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="The open file usage metric metadata" caption-side="top"}

#### MySQL The pool hit rate
{: #ibm_databases_for_mysql_pool_hit_rate}

The pool hit rate.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_pool_hit_rate`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="The pool hit rate metric metadata" caption-side="top"}

#### MySQL The pool utilization
{: #ibm_databases_for_mysql_pool_utilization}

The pool utilization.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_pool_utilization`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="The pool utilization metric metadata" caption-side="top"}

#### MySQL The rate of bytes received from all clients
{: #ibm_databases_for_mysql_bytes_received_rate}

The rate of bytes received from all clients.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_bytes_received_rate`|
| `Metric Type` | `gauge` |
| `Value Type`  | `byte` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="The rate of bytes received from all clients metric metadata" caption-side="top"}

#### MySQL The rate of bytes sent to all clients
{: #ibm_databases_for_mysql_bytes_sent_rate}

The rate of bytes sent to all clients.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_bytes_sent_rate`|
| `Metric Type` | `gauge` |
| `Value Type`  | `byte` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="The rate of bytes sent to all clients metric metadata" caption-side="top"}

#### MySQL The rate of failed attempts to connect to the MySQL server
{: #ibm_databases_for_mysql_aborted_connects_rate}

The rate of failed attempts to connect to the MySQL server.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_aborted_connects_rate`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="The rate of failed attempts to connect to the MySQL server metric metadata" caption-side="top"}

#### MySQL The rate of joins that did a full scan of the first table
{: #ibm_databases_for_mysql_select_scan_rate}

The rate of joins that did a full scan of the first table.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_select_scan_rate`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="The rate of joins that did a full scan of the first table metric metadata" caption-side="top"}

#### MySQL The rate of joins that perform table scans because they do not use indexes
{: #ibm_databases_for_mysql_select_full_join_rate}

The rate of joins that perform table scans because they do not use indexes.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_select_full_join_rate`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="The rate of joins that perform table scans because they do not use indexes metric metadata" caption-side="top"}

#### MySQL The rate of joins that used a range search on a reference table
{: #ibm_databases_for_mysql_select_full_range_join_rate}

The rate of joins that used a range search on a reference table.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_select_full_range_join_rate`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="The rate of joins that used a range search on a reference table metric metadata" caption-side="top"}

#### MySQL The rate of joins that used ranges on the first table
{: #ibm_databases_for_mysql_select_range_rate}

The rate of joins that used ranges on the first table.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_select_range_rate`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="The rate of joins that used ranges on the first table metric metadata" caption-side="top"}

#### MySQL The rate of joins without keys that check for key usage after each row
{: #ibm_databases_for_mysql_select_range_check_rate}

The rate of joins without keys that check for key usage after each row.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_select_range_check_rate`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="The rate of joins without keys that check for key usage after each row metric metadata" caption-side="top"}

#### MySQL The rate of merge passes that the sort algorithm has had to do
{: #ibm_databases_for_mysql_sort_merge_passes_rate}

The rate of merge passes that the sort algorithm has had to do.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_sort_merge_passes_rate`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="The rate of merge passes that the sort algorithm has had to do metric metadata" caption-side="top"}

#### MySQL The rate of queries that have taken more than long_query_time seconds
{: #ibm_databases_for_mysql_slow_queries_rate}

The rate of queries that have taken more than long_query_time seconds.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_slow_queries_rate`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="The rate of queries that have taken more than long_query_time seconds metric metadata" caption-side="top"}

#### MySQL The rate of sorted rows
{: #ibm_databases_for_mysql_sort_rows_rate}

The rate of sorted rows.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_sort_rows_rate`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="The rate of sorted rows metric metadata" caption-side="top"}

#### MySQL The rate of sorts that were done by scanning the table
{: #ibm_databases_for_mysql_sort_scan_rate}

The rate of sorts that were done by scanning the table.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_sort_scan_rate`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="The rate of sorts that were done by scanning the table metric metadata" caption-side="top"}

#### MySQL The rate of sorts that were done using ranges
{: #ibm_databases_for_mysql_sort_range_rate}

The rate of sorts that were done using ranges.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_sort_range_rate`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="The rate of sorts that were done using ranges metric metadata" caption-side="top"}

#### MySQL The rate of statements executed by the server
{: #ibm_databases_for_mysql_questions_rate}

The rate of statements executed by the server.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_questions_rate`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="The rate of statements executed by the server metric metadata" caption-side="top"}

#### MySQL The rate of times that a request for a table lock could be granted immediately
{: #ibm_databases_for_mysql_table_locks_immediate_rate}

The rate of times that a request for a table lock could be granted immediately.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_table_locks_immediate_rate`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="The rate of times that a request for a table lock could be granted immediately metric metadata" caption-side="top"}

#### MySQL The rate of times that a request for a table lock could not be granted immediately and a wait was needed
{: #ibm_databases_for_mysql_table_locks_waited_rate}

The rate of times that a request for a table lock could not be granted immediately and a wait was needed.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_table_locks_waited_rate`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="The rate of times that a request for a table lock could not be granted immediately and a wait was needed metric metadata" caption-side="top"}

#### MySQL The rate of times that the log buffer was too small and a wait was required for it to be flushed before continuing
{: #ibm_databases_for_mysql_innodb_log_waits_rate}

The rate of times that the log buffer was too small and a wait was required for it to be flushed before continuing.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_innodb_log_waits_rate`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="The rate of times that the log buffer was too small and a wait was required for it to be flushed before continuing metric metadata" caption-side="top"}

#### MySQL The rate of total command statements executed
{: #ibm_databases_for_mysql_commands_total_rate}

The rate of total command statements executed.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_commands_total_rate`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="The rate of total command statements executed metric metadata" caption-side="top"}

#### MySQL Total disk space for an instance
{: #ibm_databases_for_mysql_disk_total_bytes}

Represents the total amount of disk space available to your deployment

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_disk_total_bytes`|
| `Metric Type` | `gauge` |
| `Value Type`  | `byte` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Total disk space for an instance metric metadata" caption-side="top"}

#### MySQL Used CPU for an instance
{: #ibm_databases_for_mysql_cpu_used_percent}

How much CPU is used as a percentage of total CPU available. Only for deployments that have dedicated CPU

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_cpu_used_percent`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Used CPU for an instance metric metadata" caption-side="top"}

#### MySQL Used disk space for an instance
{: #ibm_databases_for_mysql_disk_used_bytes}

How much disk space your instance is using

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_disk_used_bytes`|
| `Metric Type` | `gauge` |
| `Value Type`  | `byte` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Used disk space for an instance metric metadata" caption-side="top"}

#### MySQL Used disk space for an instance percent
{: #ibm_databases_for_mysql_disk_used_percent}

How much disk space is used as a percentage of total disk available

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_disk_used_percent`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Used disk space for an instance metric metadata" caption-side="top"}

#### MySQL Used memory for an instance
{: #ibm_databases_for_mysql_memory_used_bytes}

How much memory your instance is using

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_memory_used_bytes`|
| `Metric Type` | `gauge` |
| `Value Type`  | `byte` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Used memory for an instance metric metadata" caption-side="top"}

#### MySQL Used memory for an instance percent
{: #ibm_databases_for_mysql_memory_used_percent}

How much memory is used as a percentage of total memory available

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_memory_used_percent`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Used memory for an instance metric metadata" caption-side="top"}

#### MySQL Total active connections to the database
{: #ibm_databases_for_mysql_total_connections}

Represents the total number of active connections to the database

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_total_connections`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Used memory for an instance metric metadata" caption-side="top"}

#### Replica lag
{: #ibm_databases_for_mysql_replica_lag}

Represents the delay of a replica relative to the leader.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_replica_lag`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Resource Id, Service instance name` |
{: caption="Replica lag metric metadata" caption-side="top"}

#### Replica state
{: #ibm_databases_for_mysql_replica_state}

Represents the state of the replicas.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_mysql_replica_state`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Resource Id, Service instance name` |
{: caption="Replica state metric metadata" caption-side="top"}

## Elasticsearch Metrics
{: #metrics-by-plan-elasticsearch}

| Metric Name |
|-----------|
| [Elasticsearch Cluster status](#ibm_databases_for_elasticsearch_cluster_status) |
| [Elasticsearch Disk read latency mean](#ibm_databases_for_elasticsearch_disk_read_latency_mean) |
| [Elasticsearch Disk write latency mean](#ibm_databases_for_elasticsearch_disk_write_latency_mean) |
| [Elasticsearch GC Percentage](#ibm_databases_for_elasticsearch_garbage_collection_percent_average_15m) |
| [Elasticsearch IO utilization in percent 15-minute average](#ibm_databases_for_elasticsearch_disk_io_utilization_percent_average_15m) |
| [Elasticsearch IO utilization in percent 30-minute average](#ibm_databases_for_elasticsearch_disk_io_utilization_percent_average_30m) |
| [Elasticsearch IO utilization in percent 5-minute average](#ibm_databases_for_elasticsearch_disk_io_utilization_percent_average_5m) |
| [Elasticsearch IO utilization in percent 60-minute average](#ibm_databases_for_elasticsearch_disk_io_utilization_percent_average_60m) |
| [Elasticsearch IOPS read & write total count for an instance](#ibm_databases_for_elasticsearch_disk_iops_read_write_total) |
| [Elasticsearch Maximum allowed memory for an instance](#ibm_databases_for_elasticsearch_memory_limit_bytes) |
| [Elasticsearch Number of unassigned shards](#ibm_databases_for_elasticsearch_unassigned_shards_total) |
| [Elasticsearch Total disk space for an instance](#ibm_databases_for_elasticsearch_disk_total_bytes) |
| [Elasticsearch Used CPU for an instance](#ibm_databases_for_elasticsearch_cpu_used_percent) |
| [Elasticsearch Used JVM heap for a database member of the instance in percent](#ibm_databases_for_elasticsearch_jvm_heap_percent) |
| [Elasticsearch Used disk space for an instance](#ibm_databases_for_elasticsearch_disk_used_bytes) |
| [Elasticsearch Used disk space for an instance](#ibm_databases_for_elasticsearch_disk_used_percent) |
| [Elasticsearch Used memory for an instance](#ibm_databases_for_elasticsearch_memory_used_bytes) |
| [Elasticsearch Used memory for an instance](#ibm_databases_for_elasticsearch_memory_used_percent) |
{: caption="Metrics Available by Plan Names" caption-side="top"}

### Elasticsearch Metrics Descriptions
{: #metrics-by-plan-elasticsearch-desc}

#### Elasticsearch Cluster status
{: #ibm_databases_for_elasticsearch_cluster_status}

A number derived from the status value of the /_cluster/health endpoint. Possible Values: 'green' = 1.0, 'yellow' = 0.5, 'red' = 0, ERROR = -1

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_elasticsearch_cluster_status`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Cluster status metric metadata" caption-side="top"}

#### Elasticsearch Disk read latency mean
{: #ibm_databases_for_elasticsearch_disk_read_latency_mean}

Disk read latency mean

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_elasticsearch_disk_read_latency_mean`|
| `Metric Type` | `gauge` |
| `Frequency` | `60ms` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Disk read latency mean metric metadata" caption-side="top"}

#### Elasticsearch Disk write latency mean
{: #ibm_databases_for_elasticsearch_disk_write_latency_mean}

Disk write latency mean

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_elasticsearch_disk_write_latency_mean`|
| `Metric Type` | `gauge` |
| `Frequency` | `60ms` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Disk write latency mean metric metadata" caption-side="top"}

#### Elasticsearch GC Percentage
{: #ibm_databases_for_elasticsearch_garbage_collection_percent_average_15m}

Percentage of time the Elasticsearch JVM spends on garbage collection

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_elasticsearch_garbage_collection_percent_average_15m`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="GC Percentage metric metadata" caption-side="top"}

#### Elasticsearch IO utilization in percent 15-minute average
{: #ibm_databases_for_elasticsearch_disk_io_utilization_percent_average_15m}

How much disk I/O has been used over 15 minutes as a percentage of total disk I/O available

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_elasticsearch_disk_io_utilization_percent_average_15m`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="IO utilization in percent 15 minute average metric metadata" caption-side="top"}

#### Elasticsearch IO utilization in percent 30-minute average
{: #ibm_databases_for_elasticsearch_disk_io_utilization_percent_average_30m}

How much disk I/O has been used over 30 minutes as a percentage of total disk I/O available

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_elasticsearch_disk_io_utilization_percent_average_30m`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="IO utilization in percent 30 minute average metric metadata" caption-side="top"}

#### Elasticsearch IO utilization in percent 5-minute average
{: #ibm_databases_for_elasticsearch_disk_io_utilization_percent_average_5m}

How much disk I/O has been used over 5 minutes as a percentage of total disk I/O available

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_elasticsearch_disk_io_utilization_percent_average_5m`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="IO utilization in percent 5 minute average metric metadata" caption-side="top"}

#### Elasticsearch IO utilization in percent 60-minute average
{: #ibm_databases_for_elasticsearch_disk_io_utilization_percent_average_60m}

How much disk I/O has been used over 60 minutes as a percentage of total disk I/O available

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_elasticsearch_disk_io_utilization_percent_average_60m`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="IO utilization in percent 60 minute average metric metadata" caption-side="top"}

#### Elasticsearch IOPS read & write total count for an instance
{: #ibm_databases_for_elasticsearch_disk_iops_read_write_total}

How many input-output operations per second your instance is performing

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_elasticsearch_disk_iops_read_write_total`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="IOPS read & write total count for an instance metric metadata" caption-side="top"}

#### Elasticsearch Maximum allowed memory for an instance
{: #ibm_databases_for_elasticsearch_memory_limit_bytes}

The maximum amount of memory available to your instance

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_elasticsearch_memory_limit_bytes`|
| `Metric Type` | `gauge` |
| `Value Type`  | `byte` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Maximum allowed memory for an instance metric metadata" caption-side="top"}

#### Elasticsearch Number of unassigned shards
{: #ibm_databases_for_elasticsearch_unassigned_shards_total}

Number of unassigned shards

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_elasticsearch_unassigned_shards_total`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Number of unassigned shards metric metadata" caption-side="top"}

#### Elasticsearch Total disk space for an instance
{: #ibm_databases_for_elasticsearch_disk_total_bytes}

Represents the total amount of disk space available to your deployment

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_elasticsearch_disk_total_bytes`|
| `Metric Type` | `gauge` |
| `Value Type`  | `byte` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Total disk space for an instance metric metadata" caption-side="top"}

#### Elasticsearch Used CPU for an instance
{: #ibm_databases_for_elasticsearch_cpu_used_percent}

How much CPU is used as a percentage of total CPU available. Only for deployments that have dedicated CPU

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_elasticsearch_cpu_used_percent`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Used CPU for an instance metric metadata" caption-side="top"}

#### Elasticsearch Used JVM heap for a database member of the instance in percent
{: #ibm_databases_for_elasticsearch_jvm_heap_percent}

How much JVM heap is used as a percentage of total JVM heap is available

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_elasticsearch_jvm_heap_percent`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Used JVM heap for a database member of the instance in percent metric metadata" caption-side="top"}

#### Elasticsearch Used disk space for an instance bytes
{: #ibm_databases_for_elasticsearch_disk_used_bytes}

How much disk space your instance is using

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_elasticsearch_disk_used_bytes`|
| `Metric Type` | `gauge` |
| `Value Type`  | `byte` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Used disk space for an instance metric metadata" caption-side="top"}

#### Elasticsearch Used disk space for an instance percent
{: #ibm_databases_for_elasticsearch_disk_used_percent}

How much disk space is used as a percentage of total disk available

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_elasticsearch_disk_used_percent`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Used disk space for an instance metric metadata" caption-side="top"}

#### Elasticsearch Used memory for an instance
{: #ibm_databases_for_elasticsearch_memory_used_bytes}

How much memory your instance is using

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_elasticsearch_memory_used_bytes`|
| `Metric Type` | `gauge` |
| `Value Type`  | `byte` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Used memory for an instance metric metadata" caption-side="top"}

#### Elasticsearch Used memory for an instance percent
{: #ibm_databases_for_elasticsearch_memory_used_percent}

How much memory is used as a percentage of total memory available

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_elasticsearch_memory_used_percent`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Used memory for an instance metric metadata" caption-side="top"}

## Redis metrics
{: #metrics-by-plan-redis}

| Metric name |
|-----------|
| [Redis IO utilization in percent 15-minute average](#ibm_databases_for_redis_disk_io_utilization_percent_average_15m) |
| [Redis IO utilization in percent 30-minute average](#ibm_databases_for_redis_disk_io_utilization_percent_average_30m) |
| [Redis IO utilization in percent 5-minute average](#ibm_databases_for_redis_disk_io_utilization_percent_average_5m) |
| [Redis IO utilization in percent 60-minute average](#ibm_databases_for_redis_disk_io_utilization_percent_average_60m) |
| [Redis IOPS read & write total count for an instance](#ibm_databases_for_redis_disk_iops_read_write_total) |
| [Redis maximum allowed memory for an instance](#ibm_databases_for_redis_memory_limit_bytes) |
| [Redis total disk space for an instance](#ibm_databases_for_redis_disk_total_bytes) |
| [Redis used CPU for an instance](#ibm_databases_for_redis_cpu_used_percent) |
| [Redis used disk space for an instance](#ibm_databases_for_redis_disk_used_bytes) |
| [Redis used disk space for an instance](#ibm_databases_for_redis_disk_used_percent) |
| [Redis used memory for an instance](#ibm_databases_for_redis_memory_used_bytes) |
| [Redis used memory for an instance](#ibm_databases_for_redis_memory_used_percent) |
| [Redis blocked clients](#ibm_databases_for_redis_blocked_cleints) |
| [Redis connected clients](#ibm_databases_for_redis_connected_clients) |
| [Redis rejected connections](#ibm_databases_for_redis_rejected_connections) |
| [Redis instantaneous ops](#ibm_databases_for_redis_instantaneous_ops_sec) |
| [Redis total commands processed](#ibm_databases_for_redis_total_commands_processed) |
| [Redis AOF current file size](#ibm_databases_for_redis_aof_current_size) |
| [Redis RDB current file size](#ibm_databases_for_redis_rdb_current_size) |
| [Redis changes since last snapshot](#ibm_databases_for_redis_rdb_changes_since_last_save) |
| [Redis last RDB save duration (sec)](#ibm_databases_for_redis_rdb_last_bgsave_time_sec) |
| [Redis last AOF rewrite duration (sec)](#ibm_databases_for_redis_aof_last_rewrite_time_sec) |
| [Redis cache hit ratio](#ibm_databases_for_redis_cache_hit_ratio)  |
| [Redis total reads processed](#ibm_databases_for_redis_total_reads_processed) |
| [Redis total writes processed](#ibm_databases_for_redis_total_writes_processed) |
| [Redis total evicted keys](#ibm_databases_for_redis_evicted_keys) |
| [Redis reads per second](#ibm_databases_for_redis_reads_per_second) |
| [Redis writes per second](#ibm_databases_for_redis_writes_per_second) |
| [Redis operations per second](#ibm_databases_for_redis_operations_per_second) |
{: caption="Metrics available by plan names" caption-side="top"}

### Redis metrics descriptions
{: #metrics-by-plan-redis-desc}

#### Redis IO utilization in percent 15-minute average
{: #ibm_databases_for_redis_disk_io_utilization_percent_average_15m}

How much disk I/O has been used over 15 minutes as a percentage of total disk I/O available

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_redis_disk_io_utilization_percent_average_15m`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="IO utilization in percent 15 minute average metric metadata" caption-side="top"}

#### Redis IO utilization in percent 30-minute average
{: #ibm_databases_for_redis_disk_io_utilization_percent_average_30m}

How much disk I/O has been used over 30 minutes as a percentage of total disk I/O available

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_redis_disk_io_utilization_percent_average_30m`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="IO utilization in percent 30 minute average metric metadata" caption-side="top"}

#### Redis IO utilization in percent 5-minute average
{: #ibm_databases_for_redis_disk_io_utilization_percent_average_5m}

How much disk I/O has been used over 5 minutes as a percentage of total disk I/O available

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_redis_disk_io_utilization_percent_average_5m`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="IO utilization in percent 5 minute average metric metadata" caption-side="top"}

#### Redis IO utilization in percent 60-minute average
{: #ibm_databases_for_redis_disk_io_utilization_percent_average_60m}

How much disk I/O has been used over 60 minutes as a percentage of total disk I/O available

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_redis_disk_io_utilization_percent_average_60m`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="IO utilization in percent 60 minute average metric metadata" caption-side="top"}

#### Redis IOPS read & write total count for an instance
{: #ibm_databases_for_redis_disk_iops_read_write_total}

How many input-output operations per second your instance is performing

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_redis_disk_iops_read_write_total`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="IOPS read & write total count for an instance metric metadata" caption-side="top"}

#### Redis maximum allowed memory for an instance
{: #ibm_databases_for_redis_memory_limit_bytes}

The maximum amount of memory available to your instance

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_redis_memory_limit_bytes`|
| `Metric Type` | `gauge` |
| `Value Type`  | `byte` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Maximum allowed memory for an instance metric metadata" caption-side="top"}

#### Redis total disk space for an instance
{: #ibm_databases_for_redis_disk_total_bytes}

Represents the total amount of disk space available to your deployment

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_redis_disk_total_bytes`|
| `Metric Type` | `gauge` |
| `Value Type`  | `byte` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Total disk space for an instance metric metadata" caption-side="top"}

#### Redis used CPU for an instance
{: #ibm_databases_for_redis_cpu_used_percent}

How much CPU is used as a percentage of total CPU available. Only for deployments that have dedicated CPU

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_redis_cpu_used_percent`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Used CPU for an instance metric metadata" caption-side="top"}

#### Redis used disk space for an instance
{: #ibm_databases_for_redis_disk_used_bytes}

How much disk space your instance is using

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_redis_disk_used_bytes`|
| `Metric Type` | `gauge` |
| `Value Type`  | `byte` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Used disk space for an instance metric metadata" caption-side="top"}

#### Redis used disk space for an instance percent
{: #ibm_databases_for_redis_disk_used_percent}

How much disk space is used as a percentage of total disk available

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_redis_disk_used_percent`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Used disk space for an instance metric metadata" caption-side="top"}

#### Redis used memory for an instance bytes
{: #ibm_databases_for_redis_memory_used_bytes}

How much memory your instance is using

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_redis_memory_used_bytes`|
| `Metric Type` | `gauge` |
| `Value Type`  | `byte` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Used memory for an instance metric metadata" caption-side="top"}

#### Redis used memory for an instance percent
{: #ibm_databases_for_redis_memory_used_percent}

Memory used as a percentage of total memory available.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_redis_memory_used_percent`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Used memory for an instance metric metadata" caption-side="top"}

#### Redis blocked clients
{: #ibm_databases_for_redis_blocked_cleints}

Number of clients pending on a blocking call.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_redis_blocked_clients`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Redis blocked clients" caption-side="top"}

#### Redis connected clients
{: #ibm_databases_for_redis_connected_clients}

Number of client connections.

Higher number of client connections can impact performance of the Redis instance, as aggregate memory consumption can be extremely high, leading to out-of-memory errors. It is recommended to use [Connection pooling](https://cloud.ibm.com/docs/databases-for-redis?topic=databases-for-redis-managing-redis-connections&format=markdown#managing-redis-connection-pooling).
{: note}

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_redis_connected_clients`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Redis connected clients" caption-side="top"}

#### Redis rejected connections
{: #ibm_databases_for_redis_rejected_connections}

Number of connections rejected because of maxclients limit. Read more about [Managing connections](https://cloud.ibm.com/docs/databases-for-redis?topic=databases-for-redis-managing-redis-connections&format=markdown).

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_redis_rejected_connections`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Redis rejected connections" caption-side="top"}

#### Redis instantaneous ops
{: #ibm_databases_for_redis_instantaneous_ops_sec}

Number of commands processed per second. Note: Operations per second is averaged over a minute scale, and is disaplyed in metrics.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_redis_instantaneous_ops`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |comm
{: caption="Commands proceesed by Redis per second" caption-side="top"}

#### Redis total commands processed
{: #ibm_databases_for_redis_total_commands_processed}

Total number of commands processed by the server. Note: This is an incremental number which resets when your Redis instance restarts.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_redis_total_commands_processed`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Total commands processed by Redis" caption-side="top"}

#### Redis AOF current file size
{: #ibm_databases_for_redis_aof_current_size}

Shows the AOF current file size.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_redis_aof_current_size` |
| `Metric Type` | `gauge` |
| `Value Type`  | `byte` |
| `Segment By` | `Service instance` |
{: caption="AOF current file size" caption-side="top"}

#### Redis RDB current file size
{: #ibm_databases_for_redis_rdb_current_size}

Shows the RDB current file size.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_redis_rdb_current_size` |
| `Metric Type` | `gauge` |
| `Value Type`  | `byte` |
| `Segment By` | `Service instance` |
{: caption="RDB current file size" caption-side="top"}

#### Redis changes since last snapshot
{: #ibm_databases_for_redis_rdb_changes_since_last_save}

Shows the number of write operations performed since the last RDB snapshot was saved.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_redis_rdb_changes_since_last_save` |
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance` |
{: caption="Changes since last snapshot" caption-side="top"}

#### Redis last RDB save duration (sec)
{: #ibm_databases_for_redis_rdb_last_bgsave_time_sec}

Represents the duration in seconds taken by the last background RDB save operation. A higher value may indicate performance issues during snapshotting.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_redis_rdb_last_bgsave_time_sec` |
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance` |
{: caption="Last RDB save duration (sec)" caption-side="top"}

#### Redis last AOF rewrite duration (sec)
{: #ibm_databases_for_redis_aof_last_rewrite_time_sec}

Shows the duration in seconds taken by the last AOF (Append-Only File) rewrite operation. Longer durations may indicate performance bottlenecks during log rewriting.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_redis_aof_last_rewrite_time_sec` |
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance` |
{: caption="Last AOF rewrite duration (sec)" caption-side="top"}

#### Redis cache hit ratio
{: #ibm_databases_for_redis_cache_hit_ratio}

Indicates the efficiency of key lookups by showing the ratio of successful key hits to total lookups in Redis. A higher ratio reflects better cache performance.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_redis_cache_hit_ratio` |
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance` |
{: caption="Cache hit ratio" caption-side="top"}

#### Redis total reads processed
{: #ibm_databases_for_redis_total_reads_processed}

Shows the total number of successful key lookups in the main Redis dictionary, representing all read operations processed over time.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_redis_total_reads_processed` |
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance` |
{: caption="Total reads processed" caption-side="top"}

#### Redis total writes processed
{: #ibm_databases_for_redis_total_writes_processed}

Shows the total number of successful key modifications in the main Redis dictionary, indicating the number of write operations processed over time.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_redis_total_writes_processed` |
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance` |
{: caption="Total writes processed" caption-side="top"}

#### Redis total Evicted Keys
{: #ibm_databases_for_redis_evicted_keys}

Represents the total number of keys evicted from Redis due to memory constraints, typically when the max memory limit is reached and keys are removed based on the eviction policy.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_redis_evicted_keys` |
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance` |
{: caption="Total evicted keys" caption-side="top"}

#### Redis reads Per Second
{: #ibm_databases_for_redis_reads_per_second}

Shows the rate of read operations processed by Redis each second, indicating the current read workload and query throughput.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_redis_reads_per_second` |
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance` |
{: caption="Reads per second" caption-side="top"}

#### Redis writes Per Second
{: #ibm_databases_for_redis_writes_per_second}

Shows the rate of write operations processed by Redis each second, indicating the current write workload and data modification throughput.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_redis_writes_per_second` |
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance` |
{: caption="Writes per second" caption-side="top"}

#### Redis operations Per Second
{: #ibm_databases_for_redis_operations_per_second}

Shows the rate of read and write operations processed by Redis each second, reflecting the overall command throughput and server workload.

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_databases_for_redis_operations_per_second` |
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance` |
{: caption="Operations per second" caption-side="top"}

## Messages for RabbitMQ Metrics
{: #metrics-by-plan-rabbitmq}

| Metric Name |
|-----------|
| [Messages for RabbitMQ IO utilization in percent 15-minute average](#ibm_messages_for_rabbitmq_disk_io_utilization_percent_average_15m) |
| [Messages for RabbitMQ IO utilization in percent 30-minute average](#ibm_messages_for_rabbitmq_disk_io_utilization_percent_average_30m) |
| [Messages for RabbitMQ IO utilization in percent 5-minute average](#ibm_messages_for_rabbitmq_disk_io_utilization_percent_average_5m) |
| [Messages for RabbitMQ IO utilization in percent 60-minute average](#ibm_messages_for_rabbitmq_disk_io_utilization_percent_average_60m) |
| [Messages for RabbitMQ IOPS read & write total count for an instance](#ibm_messages_for_rabbitmq_disk_iops_read_write_total) |
| [Messages for RabbitMQ Maximum allowed memory for an instance](#ibm_messages_for_rabbitmq_memory_limit_bytes) |
| [Messages for RabbitMQ Total disk space for an instance](#ibm_messages_for_rabbitmq_disk_total_bytes) |
| [Messages for RabbitMQ Used CPU for an instance](#ibm_messages_for_rabbitmq_cpu_used_percent) |
| [Messages for RabbitMQ Used disk space for an instance](#ibm_messages_for_rabbitmq_disk_used_bytes) |
| [Messages for RabbitMQ Used disk space for an instance](#ibm_messages_for_rabbitmq_disk_used_percent) |
| [Messages for RabbitMQ Used memory for an instance](#ibm_messages_for_rabbitmq_memory_used_bytes) |
| [Messages for RabbitMQ Used memory for an instance](#ibm_messages_for_rabbitmq_memory_used_percent) |
{: caption="Metrics Available by Plan Names" caption-side="top"}

### Messages for RabbitMQ Metrics Descriptions
{: #metrics-by-plan-rabbitmq-desc}

#### Messages for RabbitMQ IO utilization in percent 15-minute average
{: #ibm_messages_for_rabbitmq_disk_io_utilization_percent_average_15m}

How much disk I/O has been used over 15 minutes as a percentage of total disk I/O available

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_messages_for_rabbitmq_disk_io_utilization_percent_average_15m`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="IO utilization in percent 15 minute average metric metadata" caption-side="top"}

#### Messages for RabbitMQ IO utilization in percent 30-minute average
{: #ibm_messages_for_rabbitmq_disk_io_utilization_percent_average_30m}

How much disk I/O has been used over 30 minutes as a percentage of total disk I/O available

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_messages_for_rabbitmq_disk_io_utilization_percent_average_30m`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="IO utilization in percent 30 minute average metric metadata" caption-side="top"}

#### Messages for RabbitMQ IO utilization in percent 5-minute average
{: #ibm_messages_for_rabbitmq_disk_io_utilization_percent_average_5m}

How much disk I/O has been used over 5 minutes as a percentage of total disk I/O available

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_messages_for_rabbitmq_disk_io_utilization_percent_average_5m`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="IO utilization in percent 5 minute average metric metadata" caption-side="top"}

#### Messages for RabbitMQ IO utilization in percent 60-minute average
{: #ibm_messages_for_rabbitmq_disk_io_utilization_percent_average_60m}

How much disk I/O has been used over 60 minutes as a percentage of total disk I/O available

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_messages_for_rabbitmq_disk_io_utilization_percent_average_60m`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="IO utilization in percent 60 minute average metric metadata" caption-side="top"}

#### Messages for RabbitMQ IOPS read & write total count for an instance
{: #ibm_messages_for_rabbitmq_disk_iops_read_write_total}

How many input-output operations per second your instance is performing

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_messages_for_rabbitmq_disk_iops_read_write_total`|
| `Metric Type` | `gauge` |
| `Value Type`  | `count` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="IOPS read & write total count for an instance metric metadata" caption-side="top"}

#### Messages for RabbitMQ Maximum allowed memory for an instance
{: #ibm_messages_for_rabbitmq_memory_limit_bytes}

The maximum amount of memory available to your instance

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_messages_for_rabbitmq_memory_limit_bytes`|
| `Metric Type` | `gauge` |
| `Value Type`  | `byte` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Maximum allowed memory for an instance metric metadata" caption-side="top"}

#### Messages for RabbitMQ Total disk space for an instance
{: #ibm_messages_for_rabbitmq_disk_total_bytes}

Represents the total amount of disk space available to your deployment

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_messages_for_rabbitmq_disk_total_bytes`|
| `Metric Type` | `gauge` |
| `Value Type`  | `byte` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Total disk space for an instance metric metadata" caption-side="top"}

#### Messages for RabbitMQ Used CPU for an instance
{: #ibm_messages_for_rabbitmq_cpu_used_percent}

How much CPU is used as a percentage of total CPU available. Only for deployments that have dedicated CPU

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_messages_for_rabbitmq_cpu_used_percent`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Used CPU for an instance metric metadata" caption-side="top"}

#### Messages for RabbitMQ Used disk space for an instance bytes
{: #ibm_messages_for_rabbitmq_disk_used_bytes}

How much disk space your instance is using

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_messages_for_rabbitmq_disk_used_bytes`|
| `Metric Type` | `gauge` |
| `Value Type`  | `byte` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Used disk space for an instance metric metadata" caption-side="top"}

#### Messages for RabbitMQ Used disk space for an instance percent
{: #ibm_messages_for_rabbitmq_disk_used_percent}

How much disk space is used as a percentage of total disk available

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_messages_for_rabbitmq_disk_used_percent`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Used disk space for an instance metric metadata" caption-side="top"}

#### Messages for RabbitMQ Used memory for an instance bytes
{: #ibm_messages_for_rabbitmq_memory_used_bytes}

How much memory your instance is using

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_messages_for_rabbitmq_memory_used_bytes`|
| `Metric Type` | `gauge` |
| `Value Type`  | `byte` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Used memory for an instance metric metadata" caption-side="top"}

#### Messages for RabbitMQ Used memory for an instance percent
{: #ibm_messages_for_rabbitmq_memory_used_percent}

How much memory is used as a percentage of total memory available

| Metadata | Description |
|----------|-------------|
| `Metric Name` | `ibm_messages_for_rabbitmq_memory_used_percent`|
| `Metric Type` | `gauge` |
| `Value Type`  | `percent` |
| `Segment By` | `Service instance, Service instance name` |
{: caption="Used memory for an instance metric metadata" caption-side="top"}

## Attributes for segmentation
{: #attributes}

### Global attributes
{: #global-attributes}

The following attributes are available for segmenting all of the metrics listed previously.

| Attribute | Attribute Name | Attribute Description |
|-----------|----------------|-----------------------|
| `Cloud Type` | `ibm_ctype` | The cloud type is a value of public, dedicated or local |
| `Location` | `ibm_location` | The location of the monitored resource - this may be a region, data center or global |
| `Resource` | `ibm_resource` | The resource being measured by the service - typically a indentifying name or GUID |
| `Resource Type` | `ibm_resource_type` | The type of the resource being measured by the service |
| `Scope` | `ibm_scope` | The scope is the account, organization or space GUID associated with this metric |
| `Service name` | `ibm_service_name` | Name of the service generating this metric |
{: caption="Global segmentation attributes" caption-side="top"}

### Additional Attributes
{: #additional-attributes}

The following attributes are available for segmenting one or more attributes as described in the reference previously. See the individual metrics for segmentation options.

| Attribute | Attribute Name | Attribute Description |
|-----------|----------------|-----------------------|
| `Service instance` | `ibm_service_instance` | The service instance segment identifies the instance the metric is associated with |
{: caption="Additional Segmentation Attributes" caption-side="top"}