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

# Third-Party Monitoring Integrations

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>;
};

CockroachDB is officially integrated with the following third-party monitoring platforms. These integrations enable external tools and interfaces

* to collect, visualize, and alert on CockroachDB [metrics](#metrics) and
* to collect CockroachDB [logs](#logs).

## Monitoring integration availability

### Metrics

| Platform | CockroachDB Standard | CockroachDB Advanced | CockroachDB |
| - | :-: | :-: | :-: |
| [Amazon CloudWatch](#amazon-cloudwatch-metrics) | ✔ | ✔ | ✔ |
| [DataDog](#datadog) | ✔ | ✔ | ✔ |
| [DBmarlin](#dbmarlin) | | | ✔ |
| [Kibana](#kibana) | | | ✔ |
| [Prometheus](#prometheus) | ✔ | ✔ | ✔ |

This list is not exhaustive. Any Prometheus-compatible third-party tool can consume metrics from a CockroachDB Advanced or CockroachDB cluster. For example, because [Amazon CloudWatch is Prometheus-compatible](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ContainerInsights-Prometheus-Setup-configure-ECS.html), it can consume metrics from a CockroachDB cluster.

### Logs

| Platform | CockroachDB Standard | CockroachDB Advanced | CockroachDB |
| - | :-: | :-: | :-: |
| [Amazon CloudWatch](#amazon-cloudwatch-logs) | ✔ | ✔ | ✔ |
| [GCP Logging](#gcp-logging) | ✔ | ✔ | ✔ |

This list is not exhaustive. Any third-party tool that can consume logs from <InternalLink path="configure-logs#configure-log-sinks">file-based or network sinks</InternalLink> can also consume logs from a CockroachDB cluster.

## Monitoring integration resources

### Amazon CloudWatch

<a id="amazon-cloudwatch-metrics" />

#### Metrics

| CockroachDB Deployment | Integration | Metrics Source | Tutorial |
| - | - | - | - |
| Standard | [Amazon CloudWatch metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/working_with_metrics.html) | <InternalLink path="prometheus-endpoint">Prometheus endpoint</InternalLink> | <InternalLink version="cockroachcloud" path="export-metrics?filters=aws-metrics-export">Export Metrics From a CockroachDB Standard Cluster</InternalLink> |
| Advanced | [Amazon CloudWatch metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/working_with_metrics.html) | <InternalLink path="prometheus-endpoint">Prometheus endpoint</InternalLink> | <InternalLink version="cockroachcloud" path="export-metrics-advanced?filters=aws-metrics-export">Export Metrics From a CockroachDB Advanced Cluster</InternalLink> |

<a id="amazon-cloudwatch-logs" />

#### Logs

| CockroachDB Deployment | Integration | Tutorial |
| - | - | - |
| Standard | [Amazon CloudWatch Logs](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/WhatIsCloudWatchLogs.html) | <InternalLink version="cockroachcloud" path="export-logs">Export Logs From a CockroachDB Standard Cluster</InternalLink> |
| Advanced | [Amazon CloudWatch Logs](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/WhatIsCloudWatchLogs.html) | <InternalLink version="cockroachcloud" path="export-logs-advanced">Export Logs From a CockroachDB Advanced Cluster</InternalLink> |

### DataDog

| CockroachDB Deployment | Integration | Metrics Source | Tutorial |
| - | - | - | - |
| Standard | [CockroachDB Cloud integration for Datadog](https://docs.datadoghq.com/integrations/cockroachdb_dedicated/) | <InternalLink path="prometheus-endpoint">Prometheus endpoint</InternalLink> | <InternalLink version="cockroachcloud" path="export-metrics?filters=datadog-metrics-export">Export Metrics From a CockroachDB Standard Cluster</InternalLink> |
| Advanced | [CockroachDB Cloud integration for Datadog](https://docs.datadoghq.com/integrations/cockroachdb_dedicated/) | <InternalLink path="prometheus-endpoint">Prometheus endpoint</InternalLink> | <InternalLink version="cockroachcloud" path="export-metrics-advanced?filters=datadog-metrics-export">Export Metrics From a CockroachDB Advanced Cluster</InternalLink> |
| CockroachDB | [CockroachDB check for Datadog Agent](https://docs.datadoghq.com/integrations/cockroachdb/?tab=host) | <InternalLink path="prometheus-endpoint">Prometheus endpoint</InternalLink> | N/A |

### DBmarlin

| CockroachDB Deployment | Integration | Metrics Source | Tutorial |
| - | - | - | - |
| CockroachDB | [DBmarlin](https://docs.dbmarlin.com/docs/Monitored-Technologies/Databases/cockroachdb) | <InternalLink path="monitoring-and-alerting#crdb_internal-system-catalog">`crdb_internal`</InternalLink> | N/A |

### GCP Logging

| CockroachDB Deployment | Integration | Tutorial |
| - | - | - |
| Standard | [Google Cloud Logging](https://cloud.google.com/logging) | <InternalLink version="cockroachcloud" path="export-logs?filters=gcp-log-export">Export Logs From a CockroachDB Standard Cluster</InternalLink> |
| Advanced | [Google Cloud Logging](https://cloud.google.com/logging) | <InternalLink version="cockroachcloud" path="export-logs-advanced?filters=gcp-log-export">Export Logs From a CockroachDB Advanced Cluster</InternalLink> |

### Kibana

| CockroachDB Deployment | Integration | Metrics Source | Tutorial |
| - | - | - | - |
| CockroachDB | [CockroachDB module for Metricbeat](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-module-cockroachdb.html) | <InternalLink path="prometheus-endpoint">Prometheus endpoint</InternalLink> | N/A |

### Prometheus

| CockroachDB Deployment | Integration | Metrics Source | Tutorial |
| - | - | - | - |
| Standard | [Prometheus](https://prometheus.io/) | <InternalLink path="prometheus-endpoint">Prometheus endpoint</InternalLink> | <InternalLink version="cockroachcloud" path="export-metrics?filters=prometheus-metrics-export">Export Metrics From a CockroachDB Standard Cluster</InternalLink> |
| Advanced | [Prometheus](https://prometheus.io/) | <InternalLink path="prometheus-endpoint">Prometheus endpoint</InternalLink> | <InternalLink version="cockroachcloud" path="export-metrics-advanced?filters=prometheus-metrics-export">Export Metrics From a CockroachDB Advanced Cluster</InternalLink> |
| CockroachDB | [Prometheus](https://prometheus.io/) | <InternalLink path="prometheus-endpoint">Prometheus endpoint</InternalLink> | <InternalLink path="monitor-cockroachdb-with-prometheus">Monitor CockroachDB with Prometheus</InternalLink> |

## See also

* <InternalLink path="monitoring-and-alerting">Monitoring and Alerting</InternalLink>
* <InternalLink path="ui-overview">DB Console Overview</InternalLink>
* <InternalLink path="logging-overview">Logging Overview</InternalLink>
* <InternalLink path="metrics">Metrics</InternalLink>
* <InternalLink path="differences-in-metrics-between-third-party-monitoring-integrations-and-db-console">Differences in Metrics between Third-Party Monitoring Integrations and DB Console</InternalLink>
