# Configure Monitoring

> **📝 Note**: Studio’s monitoring capabilities have been superseded by this enhanced cluster monitoring solution.Studio is not intended as a comprehensive monitoring solution and therefore lacks the features of similar third-party tools. SingleStore recommends exploring these supported [third-party tools](https://docs.singlestore.com/db/v9.1/connect-to-singlestore.md), which have been tested by SingleStore and are likely familiar to developers. These tools offer advanced features, improved performance, and specialized capabilities for managing complex database operations, and can provide increased efficiency and a smoother workflow\.Should you encounter any issues with these tools, or require further assistance, please contact SingleStore [Support](https://support.singlestore.com).

## Overview

SingleStore’s native monitoring solution is designed to capture and reveal SingleStore cluster events over time. By analyzing this event data, you can identify trends and, if necessary, take action to remediate issues.

## Terminology

Throughout this guide, the cluster that is being monitored is referred to as the “Source” cluster, and the cluster that stores the monitoring data is referred to as the “Metrics” cluster. The database that stores monitoring data is referred to as the `metrics` database.

## High-Level Architecture

![Cluster monitoring architecture graphic.](https://images.contentstack.io/v3/assets/bltac01ee6daa3a1e14/blt366a27792ff23c88/6a2c4355e00e141f92bbd77c/cluster_monitoring_hl_architecture-W4qs6p.png)

In SingleStore’s native monitoring solution, the Metrics cluster utilizes a SingleStore pipeline to pull the data from the exporter process on the Source cluster and store it in a database named `metrics`. Note that this `metrics` database can either reside within the same cluster as the Source cluster, or within a dedicated cluster.

When these event data is then analyzed through the provided Grafana dashboards, trends can be identified and, if necessary, actions taken to remediate issues.

The provided Grafana dashboards include:

| **Dashboard**                  | **Description**                                                                                         |
| ------------------------------ | ------------------------------------------------------------------------------------------------------- |
| Cluster View                   | Provides a “bird's-eye view” of a singleSingleStorecluster.                                             |
| Detailed Cluster View by Node  | Provides a view into resource utilization by node and host.                                             |
| Historical Workload Monitoring | Statistics for parameterized query execution including run count, time spent, and resource utilization. |
| Memory Usage                   | Granular breakdown of memory use for a host.                                                            |

## Prerequisites

> **📝 Note**: These instructions have been developed for SingleStore clusters that have been installed and deployed via `.rpm` or `.deb` packages as a `sudo` user.If your cluster was deployed via tarball as a non-`sudo` user, change to the directory (`cd`) in which `singlestoredb-toolbox` was untarred and run all `sdb-admin` commands as `./sdb-admin`.SingleStore Toolbox is recommended for managing the clusters as automation during setup is provided through `sdb-admin` commands. While monitoring can be enabled through a series of SQL commands, the preferred method is to use SingleStore Toolbox.Note that the Grafana instructions will require a user with `sudo` access to install and configure the associated Grafana components.

## For HTTP Connections

* A SingleStore 7.3 or later cluster to monitor (the Source cluster); SingleStore 8.5 or later to collect [trace events](https://docs.singlestore.com/db/v9.1/query-data/query-tuning/query-history.md).
* Optional: A separate SingleStore 7.3 or later cluster used to collect monitoring data (the Metrics cluster); SingleStore 8.5 or later to collect [trace events](https://docs.singlestore.com/db/v9.1/query-data/query-tuning/query-history.md). The Source and Metrics clusters can be the same if the cluster is not considered business-critical. Otherwise, a separate Metrics cluster is recommended, which:

  * Must be open to local (internal) network traffic only, and not open to the Internet.
  * Must only contain monitoring data from one or more Source clusters.
  * Should have two aggregator nodes and two leaf nodes, each with 2TB disks and with high availability (HA) enabled (SingleStore recommended)
* Clusters are managed with SingleStore Toolbox 1.9.3 or later.
* A [Grafana](https://grafana.com/) instance (the latest version of Grafana) that can access the Metrics cluster.

## For HTTPS Connections

Similar to the HTTP connection prerequisites, with additional requirements:

* Each Source and Metrics cluster must be running SingleStore 7.6.24 or later, or SingleStore 7.8.19 or later; SingleStore 8.5 or later to collect [trace events](https://docs.singlestore.com/db/v9.1/query-data/query-tuning/query-history.md).
* Clusters are managed with SingleStore Toolbox 1.14.2 or later.
* A server SSL certificate and a key signed with a CA certificate. This guide assumes that:

  * The server SSL certificate file is named `server-cert.pem`.
  * The server key file is named `server-key.pem`. Note that the server key may be protected with a passphrase.
  * The CA certificate file is named `ca-cert.pem`.
  * Refer to [Generating SSL Certificates](https://docs.singlestore.com/db/v9.1/security/encryption/ssl-secure-connections/generating-ssl-certificates.md) for an example of generating these certificates.

## Monitoring License

If the size of the cluster is one or more license units, a paid license (Standard or Enterprise) is required. Refer to [General](https://docs.singlestore.com/db/v9.1/introduction/faqs/general.md) for more information.

## Port Configuration

| Default Port | Used by           | Invoked by            |
| ------------ | ----------------- | --------------------- |
| `3000`       | Grafana           | User browser          |
| `3306`       | SingleStore       | `memsql_exporter`     |
| `9104`       | `memsql_exporter` | SingleStore pipelines |

## In this section

* [Configure Monitoring with Toolbox](https://docs.singlestore.com/db/v9.1/user-and-cluster-administration/cluster-health-and-performance/configure-monitoring/configure-monitoring-with-toolbox.md)
* [Connect Data Visualization Tools](https://docs.singlestore.com/db/v9.1/user-and-cluster-administration/cluster-health-and-performance/configure-monitoring/connect-data-visualization-tools.md)
* [View the Dashboards](https://docs.singlestore.com/db/v9.1/user-and-cluster-administration/cluster-health-and-performance/configure-monitoring/view-the-dashboards.md)
* [Troubleshoot Your Monitoring Setup](https://docs.singlestore.com/db/v9.1/user-and-cluster-administration/cluster-health-and-performance/configure-monitoring/troubleshoot-your-monitoring-setup.md)
* [Customize Monitoring](https://docs.singlestore.com/db/v9.1/user-and-cluster-administration/cluster-health-and-performance/configure-monitoring/customize-monitoring.md)
* [Migrate Monitoring from HTTP to HTTPS](https://docs.singlestore.com/db/v9.1/user-and-cluster-administration/cluster-health-and-performance/configure-monitoring/migrate-monitoring-from-http-to-https.md)

***

Modified at: August 5, 2025

Source: [/db/v9.1/user-and-cluster-administration/cluster-health-and-performance/configure-monitoring/](https://docs.singlestore.com/db/v9.1/user-and-cluster-administration/cluster-health-and-performance/configure-monitoring/)

(An index of the documentation is available at /llms.txt)
