> ## Documentation Index
> Fetch the complete documentation index at: https://cockroachlabs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Metrics Overview

export const InternalLink = ({version, path = "", children, ...props}) => {
  let detectedVersion = version || "stable";
  if (typeof window !== 'undefined' && !version) {
    const match = window.location.pathname.match(/\/docs\/([^/]+)/);
    if (match) {
      detectedVersion = match[1];
    }
  }
  const normalizedPath = path.startsWith("/") ? path.slice(1) : path;
  return <a href={`/docs/${detectedVersion}/${normalizedPath}`} {...props}>
      {children}
    </a>;
};

Depending on your CockroachDB Cloud deployment, you can monitor the performance of your CockroachDB cluster in the following ways:

* For all CockroachDB Cloud deployments, you can use the [CockroachDB Cloud Console **Metrics** page](#cockroachdb-cloud-console-metrics-page).
* For CockroachDB Standard and CockroachDB Advanced deployments, you can [export metrics](#export-metrics) to a third-party cloud sink.

Viewing metrics on a cluster requires the <InternalLink path="authorization#metrics-viewer">Metrics Viewer</InternalLink>, <InternalLink path="authorization#cluster-operator">Cluster Operator</InternalLink>, or <InternalLink path="authorization#cluster-admin">Cluster Admin</InternalLink> role.

To understand how to make both practical and actionable use of the metrics in a production deployment, refer to the following documentation:

* <InternalLink path="metrics-essential">Essential Metrics for CockroachDB Standard Deployments</InternalLink>
* <InternalLink version="stable" path="essential-metrics-advanced">Essential Metrics for CockroachDB Advanced Deployments</InternalLink>

## CockroachDB Cloud Console Metrics page

To view this page, select a cluster from the <InternalLink path="cluster-management#view-clusters-page">**Clusters** page</InternalLink>, and click **Metrics** in the **Monitoring** section of the left side navigation.

Depending on your CockroachDB Cloud deployment, the **Metrics** page will have the following tabs on which you can view time-series graphs:

| Metrics Tab                                                                 | CockroachDB Basic | CockroachDB Standard | CockroachDB Advanced |
| --------------------------------------------------------------------------- | ----------------- | -------------------- | -------------------- |
| <InternalLink path="metrics-overview">**Overview**</InternalLink>           | ✔                 | ✔                    | ✔                    |
| <InternalLink path="metrics-sql">**SQL**</InternalLink>                     | ✔                 | ✔                    | ✔                    |
| <InternalLink path="metrics-changefeeds">**Changefeeds**</InternalLink>     | ✔                 | ✔                    | ✔                    |
| <InternalLink path="metrics-row-level-ttl">**Row-Level TTL**</InternalLink> | ✔                 | ✔                    | ✔                    |
| <InternalLink path="metrics-request-units">**Request Units**</InternalLink> | ✔                 |                      |                      |
| <InternalLink path="custom-metrics-chart-page">**Custom**</InternalLink>    | ✔                 | ✔                    | ✔                    |

### Time interval selection

The time interval selector at the top of each tab allows you to filter the view for a predefined or custom time interval. Use the navigation buttons to move to the previous, next, or current time interval. When you select a time interval, the same interval is selected for all charts on the **Metrics** page.

## Export Metrics

CockroachDB Standard and CockroachDB Advanced users can export metrics to the following third-party cloud sinks:

* Amazon CloudWatch
* Datadog
* Prometheus

For more information, refer to:

* <InternalLink path="export-metrics">Export Metrics From a CockroachDB Standard Cluster</InternalLink>
* <InternalLink path="export-metrics-advanced">Export Metrics From a CockroachDB Advanced Cluster</InternalLink>
