﻿---
title: MySQL query metricset
description: query metricset allows for custom execution of metric related queries in MySQL For a description of each field in the metricset, see the exported fields...
url: https://www.elastic.co/elastic/docs-builder/docs/2472/reference/beats/metricbeat/metricbeat-metricset-mysql-query
applies_to:
  - Elastic Stack: Beta in 9.0+
---

# MySQL query metricset
<warning>
  This functionality is in beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features.
</warning>

`query` metricset allows for custom execution of metric related queries in MySQL

## Fields

For a description of each field in the metricset, see the [exported fields](https://www.elastic.co/elastic/docs-builder/docs/2472/reference/beats/metricbeat/exported-fields-mysql) section.