> For the complete documentation index, see [llms.txt](https://docs.ionos.com/cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ionos.com/cloud/databases/in-memory-db/how-tos/v2/view-in-memory-db-cluster-metrics.md).

# View In-Memory DB Cluster Metrics

You can monitor the performance of your In-Memory DB v2 clusters by opening the metrics dashboard in Grafana directly from the DCD.

{% hint style="info" %}
**Prerequisites:**

* An active In-Memory DB v2 cluster with **Logs** and **Metrics** activated. For more information, see [<mark style="color:blue;">Configure Observability</mark>](/cloud/databases/in-memory-db/how-tos/v2/create-in-memory-db-cluster.md#configure-observability).
* Access to the [Grafana dashboard](/cloud/observability/monitoring-service/quick-start/access-metrics-from-platform.md#obtain-your-grafana-url). For more information, see [<mark style="color:blue;">Access Metrics from the Platform</mark>](/cloud/observability/monitoring-service/quick-start/access-metrics-from-platform.md).
  {% endhint %}

{% stepper %}
{% step %}

## Navigate to In-Memory DB clusters

1\. In the **DCD**, go to **Menu** > **Databases** > **In-Memory DB**.

A list of all In-Memory DB clusters is displayed.

2\. Note the **LOCATION** of the cluster for which you want to monitor the metrics.

![In-Memory DB cluster overview](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-661bee167352695ef7c53a6b52b61a2c12564bd2%2Fin-memory-db-cluster-location.png?alt=media)
{% endstep %}

{% step %}

## Activate Central Monitoring for a region

To view a cluster's metrics, you must activate **Central Monitoring** for the region where the cluster is located. To do so, complete the steps in [<mark style="color:blue;">Turn on Central Monitoring for a region</mark>](/cloud/observability/monitoring-service/dcd-how-tos/central-monitoring.md).

{% hint style="warning" %}
**Important:** Metric collection begins as soon as a new instance is provisioned, but initial metrics take 10 minutes to 1 hour to appear in the DCD or through the API. After that, you can poll for metrics at any time.
{% endhint %}
{% endstep %}

{% step %}

## Open Grafana from the cluster details

1\. Select a cluster (for whose location **Central Monitoring** was activated) from the list by clicking on its name. Alternatively, click **View details** in the **OPTIONS** column.

![Select an In-Memory DB cluster](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-ca24aebe603dc82da99cc94a2ca596de51c97a2d%2Fin-memory-db-select-cluster.png?alt=media)

2\. From the **Cluster details** page, go to **Observability** section, and select **Open in Grafana** to open the Grafana dashboard for the cluster's data center location. If you have instances in multiple regions, a region drop-down appears so you can switch between them.

![In-Memory DB cluster Observability](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-cec09b1e1b0b913759072d26fe5c08e1fb652b70%2Fin-memory-db-open-in-grafana.png?alt=media)

3\. Log in to the Grafana dashboard using <code class="expression">space.vars.ionos\_cloud</code> Single Sign-On (SSO). For more information, see [<mark style="color:blue;">Access Metrics from the Platform</mark>](/cloud/observability/monitoring-service/quick-start/access-metrics-from-platform.md).
{% endstep %}

{% step %}

## Configure the data source

1\. From the Grafana home page, on the left-hand menu, go to **Connections** > **Data sources**.

2\. From the **Drilldown** > **Metrics**, select **Mimir** from the **Data source** drop-down list.

![Grafana metrics Data source](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-cdc3a56c0fefd4ec71a09053080a4a25f7923025%2Fin-memory-db-grafana-metrics-data-sources.png?alt=media)
{% endstep %}

{% step %}

## View In-Memory DB database metrics

In the **Search metric**, search for In-Memory DB [<mark style="color:blue;">Metrics</mark>](/cloud/databases/in-memory-db/overview/metrics.md#database-health-metrics). You can view both infrastructure and health metrics.

![In-Memory DB cluster health metrics](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-89af8f1c9517e3844dba23f054ecf02eeded958f%2Fin-memory-db-cluster-health-metrics.png?alt=media)
{% endstep %}
{% endstepper %}

{% hint style="success" %}
**Result:** The Grafana metrics explorer displays available In-Memory DB metrics. You can search and visualize metrics to monitor cluster health and performance. You can also view the infrastructure metrics. For a full list of available metrics, see [<mark style="color:blue;">Metrics</mark>](/cloud/databases/in-memory-db/overview/metrics.md).
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.ionos.com/cloud/databases/in-memory-db/how-tos/v2/view-in-memory-db-cluster-metrics.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
