﻿---
title: GCP Cloud SQL MySQL OpenTelemetry Assets
description: This package contains Kibana assets for monitoring Cloud SQL for MySQL instances with Google Cloud Monitoring metrics collected by the OpenTelemetry Collector...
url: https://docs-v3-preview.elastic.dev/elastic/integration-docs/tree/main/reference/gcp_cloudsql_mysql_otel
products:
  - Elastic integrations
applies_to:
  - Serverless Observability projects: Preview
  - Serverless Security projects: Preview
  - Elastic Stack: Planned
---

# GCP Cloud SQL MySQL OpenTelemetry Assets
|                                                                                                                               |                                                                   |
|-------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------|
| **Version**                                                                                                                   | 0.1.0 <applies-to>: Preview</applies-to> ([View all](#changelog)) |
| **Subscription level**[What's this?](https://www.elastic.co/subscriptions)                                                    | Basic                                                             |
| **Developed by**[What's this?](https://docs-v3-preview.elastic.dev/elastic/integration-docs/tree/main/reference/developed-by) | Elastic                                                           |
| **Minimum Kibana version(s)**                                                                                                 | 9.6.0                                                             |

<admonition title="The GCP Cloud SQL MySQL OpenTelemetry Assets integration v0.1.0 is in technical preview">
  To use pre-release integrations, go to the **Integrations** page in Kibana, scroll down, and toggle on the _Display beta integrations_ option.
</admonition>

This package contains Kibana assets for monitoring [Cloud SQL for MySQL](https://cloud.google.com/sql/docs/mysql) instances with Google Cloud Monitoring metrics collected by the OpenTelemetry Collector.
The package is **content only**. It does not configure data collection. Use the **[Google Cloud Monitoring (OpenTelemetry)](https://www.elastic.co/docs/reference/integrations/googlecloudmonitor_input_otel)** input package (`googlecloudmonitor_input_otel`) to collect Cloud SQL for MySQL metrics into Elasticsearch.

## Requirements

You need Elasticsearch for storing and searching your data and Kibana for visualizing and managing it.
You can use our hosted Elasticsearch Service on Elastic Cloud, which is recommended, or self-manage
the Elastic Stack on your own hardware.

## Setup

Install the **[Google Cloud Monitoring OpenTelemetry Input](https://www.elastic.co/docs/reference/integrations/googlecloudmonitor_input_otel)** package (`googlecloudmonitor_input_otel`) and configure it to collect Cloud SQL for MySQL Cloud Monitoring metrics (for example, `cloudsql.googleapis.com/database/mysql/queries`). This content package provides assets that visualize data collected by that input.
When configuring the input package, set the dataset name to `gcp.cloudsql_mysql.otel` so that data is written to the `metrics-gcp.cloudsql_mysql.otel-default` data stream, which these dashboards query.
Shared Cloud SQL metrics such as CPU, memory and disk are also emitted for PostgreSQL and SQL Server instances. These dashboards keep only MySQL instances, using `cloudsql.googleapis.com/database/mysql/queries` as the marker.

## Dashboards


| Dashboard                                      | Description                                                                                                                                                                                                                                                                                                                         |
|------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **[GCP OTel] Cloud SQL MySQL Overview**        | Fleet view of Cloud SQL for MySQL instances. Availability, partial downtime, CPU, memory and disk saturation, instance state and fleet queries per second over time, an instance list with region, free disk and failed logins, and top 10 instance trends for CPU, memory, disk, connections, queries per second and slow queries. |
| **[GCP OTel] Cloud SQL MySQL Instance Detail** | One Cloud SQL for MySQL instance. Instance metadata with queries per second, slow query, buffer pool hit and connection usage KPIs, then availability, capacity against quotas, traffic and errors (slow queries, lock waits, deadlocks), connections and threads, I/O and cache, and replication. Open it from the overview.       |


## Screenshots

This integration includes one or more Kibana dashboards that visualizes the data collected by the integration. The screenshots below illustrate how the ingested data is displayed.
<carousel>
  ![GCP Cloud SQL MySQL OTel Overview](https://epr.elastic.co/package/gcp_cloudsql_mysql_otel/0.1.0/img/gcp_cloudsql_mysql_otel-overview.png)

  ![GCP Cloud SQL MySQL OTel Details](https://epr.elastic.co/package/gcp_cloudsql_mysql_otel/0.1.0/img/gcp_cloudsql_mysql_otel-details.png)
</carousel>


## Changelog

<dropdown title="Changelog">
  | Version   | Details                                                                                                                                                                                                                                                                                                         | Minimum Kibana version |
  |-----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------|
  | **0.1.0** | **Enhancement** ([View pull request](https://github.com/elastic/integrations/pull/21751))Initial draft of the GCP Cloud SQL MySQL OpenTelemetry Assets package.**Enhancement** ([View pull request](https://github.com/elastic/integrations/pull/21751))Add overview and instance detail dashboard screenshots. | 9.6.0                  |
</dropdown>