---
title: PlanetScale
description: Send your PlanetScale metrics to DataDog.
breadcrumbs: Docs > Integrations > PlanetScale
---

# PlanetScale

## Overview{% #overview %}

PlanetScale can push metrics into Datadog to assist your team with understanding database usage and performance.

## Setup{% #setup %}

Follow the steps below to configure your PlanetScale organization to push metrics into Datadog.

1. Create a Datadog API key in your [Datadog Organization Settings](https://app.datadoghq.com/organization-settings/api-keys).
1. Supply PlanetScale with the Datadog API key in your [PlanetScale Organization Settings](https://app.planetscale.com/settings/integrations).



## Data Collected{% #data-collected %}

### Metrics{% #metrics %}

|  |
|  |
| **planetscale.connections**(gauge)                    | Number of active connections to a database branch*Shown as connection*                        |
| **planetscale.rows\_read**(count)                     | Number of rows read from a database branch*Shown as row*                                      |
| **planetscale.rows\_written**(count)                  | Number of rows written to a database branch*Shown as row*                                     |
| **planetscale.tables.cumulative\_query\_time**(count) | Cumulative active query time in a database branch by table and statement*Shown as nanosecond* |
| **planetscale.tables.queries**(count)                 | Number of queries issued to a database branch by table and statement*Shown as query*          |
| **planetscale.tables.rows\_deleted**(count)           | Number of rows deleted from a database branch by table*Shown as row*                          |
| **planetscale.tables.rows\_inserted**(count)          | Number of rows inserted into a database branch by table*Shown as row*                         |
| **planetscale.tables.rows\_selected**(count)          | Number of rows selected in a database branch by table*Shown as row*                           |
| **planetscale.tables.rows\_updated**(count)           | Number of rows updated in a database branch by table*Shown as row*                            |
| **planetscale.tables.storage**(gauge)                 | Total bytes stored in a database branch by table*Shown as byte*                               |

### Service Checks{% #service-checks %}

Planetscale does not include any service checks.

### Events{% #events %}

Planetscale does not include any events.

## Support{% #support %}

Need help? Contact [Datadog support](https://docs.datadoghq.com/help/).
