# CHANGELOG - mysql

## 2.1.2 / 2020-11-17

* [Fixed] Add debug log line for replication status. See [#8040](https://github.com/DataDog/integrations-core/pull/8040).

## 2.1.1 / 2020-11-10 / Agent 7.24.0

* [Fixed] Change `deep_database_monitoring` language from BETA to ALPHA. See [#7948](https://github.com/DataDog/integrations-core/pull/7948).
* [Fixed] Fix configuration typo. See [#7911](https://github.com/DataDog/integrations-core/pull/7911).

## 2.1.0 / 2020-10-31

* [Added] Support MySQL statement-level metrics for deep database monitoring. See [#7851](https://github.com/DataDog/integrations-core/pull/7851).
* [Added] [doc] Add encoding in log config sample. See [#7708](https://github.com/DataDog/integrations-core/pull/7708).
* [Fixed] Fix config spec default values. See [#7687](https://github.com/DataDog/integrations-core/pull/7687).
* [Security] Upgrade `cryptography` dependency. See [#7869](https://github.com/DataDog/integrations-core/pull/7869).

## 2.0.3 / 2020-09-21 / Agent 7.23.0

* [Fixed] Use database config template in existing specs. See [#7548](https://github.com/DataDog/integrations-core/pull/7548).
* [Fixed] Do not render null defaults for config spec example consumer. See [#7503](https://github.com/DataDog/integrations-core/pull/7503).
* [Fixed] Fix style for the latest release of Black. See [#7438](https://github.com/DataDog/integrations-core/pull/7438).

## 2.0.2 / 2020-08-25

* [Fixed] Parse byte string versions. See [#7425](https://github.com/DataDog/integrations-core/pull/7425).

## 2.0.1 / 2020-08-14 / Agent 7.22.0

* [Fixed] Update config spec default values. See [#7340](https://github.com/DataDog/integrations-core/pull/7340).

## 2.0.0 / 2020-08-10

* [Added] Send more useful metrics for wsrep flow control. See [#7316](https://github.com/DataDog/integrations-core/pull/7316). Thanks [sayap](https://github.com/sayap).
* [Added] Add ability to specify which charset to use when connecting to mysql. See [#7216](https://github.com/DataDog/integrations-core/pull/7216).
* [Fixed] Update logs config service field to optional. See [#7209](https://github.com/DataDog/integrations-core/pull/7209).
* [Fixed] Refactor connection, improve documentation. See [#7204](https://github.com/DataDog/integrations-core/pull/7204).
* [Fixed] Extract version utils. See [#7198](https://github.com/DataDog/integrations-core/pull/7198).
* [Fixed] Split config out. See [#7195](https://github.com/DataDog/integrations-core/pull/7195).
* [Changed] Fix mysql metric for innodb row lock time. See [#7289](https://github.com/DataDog/integrations-core/pull/7289). Thanks [sayap](https://github.com/sayap).

## 1.15.0 / 2020-06-29 / Agent 7.21.0

* [Added] Catch unicode error. See [#6947](https://github.com/DataDog/integrations-core/pull/6947).
* [Fixed] Add config spec. See [#6908](https://github.com/DataDog/integrations-core/pull/6908).

## 1.14.0 / 2020-06-03

* [Added] Add custom queries. See [#6776](https://github.com/DataDog/integrations-core/pull/6776).

## 1.13.0 / 2020-05-17 / Agent 7.20.0

* [Added] Allow optional dependency installation for all checks. See [#6589](https://github.com/DataDog/integrations-core/pull/6589).

## 1.12.1 / 2020-04-04 / Agent 7.19.0

* [Fixed] Remove logs sourcecategory. See [#6121](https://github.com/DataDog/integrations-core/pull/6121).

## 1.12.0 / 2020-01-13 / Agent 7.17.0

* [Added] Use lazy logging format. See [#5398](https://github.com/DataDog/integrations-core/pull/5398).
* [Added] Use lazy logging format. See [#5377](https://github.com/DataDog/integrations-core/pull/5377).

## 1.11.0 / 2019-12-20

* [Added] Document log_processing_rules for MySQL slow query logs. See [#5237](https://github.com/DataDog/integrations-core/pull/5237).
* [Fixed] Fix formatting and typos in the MySQL documentation. See [#5238](https://github.com/DataDog/integrations-core/pull/5238).
* [Fixed] Improve perf (minor) by only defining metadata namedtuple once. See [#5138](https://github.com/DataDog/integrations-core/pull/5138).

## 1.10.0 / 2019-12-02 / Agent 7.16.0

* [Added] Upgrade cryptography to 2.8. See [#5047](https://github.com/DataDog/integrations-core/pull/5047).
* [Fixed] Fix TypeError in schema size check. See [#5043](https://github.com/DataDog/integrations-core/pull/5043). Thanks [rayatbuzzfeed](https://github.com/rayatbuzzfeed).
* [Added] Submit version metadata. See [#4814](https://github.com/DataDog/integrations-core/pull/4814).

## 1.9.1 / 2019-10-11 / Agent 6.15.0

* [Fixed] Fix typo in logs (Instace -> Instance). See [#4715](https://github.com/DataDog/integrations-core/pull/4715). Thanks [ajacoutot](https://github.com/ajacoutot).

## 1.9.0 / 2019-07-04 / Agent 6.13.0

* [Added] Update cryptography version. See [#4000](https://github.com/DataDog/integrations-core/pull/4000).

## 1.8.0 / 2019-05-14 / Agent 6.12.0

* [Added] Adhere to code style. See [#3541](https://github.com/DataDog/integrations-core/pull/3541).

## 1.7.0 / 2019-02-27 / Agent 6.10.0

* [Added] Remove Encrypted column from results. See [#3174](https://github.com/DataDog/integrations-core/pull/3174).

## 1.6.0 / 2019-02-18

* [Added] Finish Python 3 Support. See [#2948](https://github.com/DataDog/integrations-core/pull/2948).

## 1.5.0 / 2018-11-30 / Agent 6.8.0

* [Added] Support Python 3. See [#2630][1].
* [Fixed] Use raw string literals when \ is present. See [#2465][2].

## 1.4.0 / 2018-09-04 / Agent 6.5.0

* [Fixed] Make sure all checks' versions are exposed. See [#1945][3].
* [Added] Add channel tag to replica metrics. See [#1753][4].
* [Fixed] Add data files to the wheel package. See [#1727][5].

## 1.3.0 / 2018-06-13

* [Added] Make the max custom queries configurable in the yaml file. See [#1713][6].

### 1.2.1 / 2018-05-31

* [Fixed] Fix replication data extraction when replication channel is set. See [#1639][7].
* [Fixed] Fix error while fetching mysql pid from psutil . See [#1620][8].

## 1.2.0 / 2018-05-11

* [FEATURE] Add custom tag support to service checks.
* [BUGFIX] reports slave_service check as `CRITICAL` if `Slave_running` global variable is OFF.

## 1.1.3 / 2018-03-23

* [BUGFIX] Fixes the buffer pool metric to return the aggregated values
* [DEPENDENCY] Bump the pymysql version from 0.6.6 to 0.8.0

## 1.1.2 / 2018-02-13

* [DOC] Adding configuration for log collection in `conf.yaml`

## 1.1.1 / 2018-02-13

* [BUGFIX] Changes default value of `connect_timeout` to 10. See [#1020][9]

## 1.1.0 / 2018-01-10

* [FEATURE] Add support for multi-source replication in both MariaDB and MySQL
* [FEATURE] tag `mysql.replication.*` metrics with the replication channel name

## 1.0.5 / 2017-11-21

* [BUGFIX] Fixes [#783][10]

## 1.0.4 / 2017-08-28

* [BUGFIX] Add new innodb aio read/write format and prevent future crashes from new format. See [#660][11]
* [BUGFIX] Fix bug when options dict is empty. See [#637][12]
* [BUGFIX] Fix slow query check for 95th us percentile. See [#586][13], thanks [@EdwardMcConnell][14]

## 1.0.3 / 2017-05-11

* [BUGFIX] MySQL: Fix replication service check for <5.6. See [#394][15]

## 1.0.2 / 2017-04-24

* [BUGFIX] MySQL: Fix for replication service check. See [#329][16]

## 1.0.1 / 2017-03-23

* [BUGFIX] MySQL: Allow for configurable collection of replica statuses. See [#288][17]
* [BUGFIX] MySQL: Slaves_connected should be a gauge. See [#291][18]

## 1.0.0 / 2017-03-23

* [FEATURE] adds mysql integration.

<!--- The following link definition list is generated by PimpMyChangelog --->
[1]: https://github.com/DataDog/integrations-core/pull/2630
[2]: https://github.com/DataDog/integrations-core/pull/2465
[3]: https://github.com/DataDog/integrations-core/pull/1945
[4]: https://github.com/DataDog/integrations-core/pull/1753
[5]: https://github.com/DataDog/integrations-core/pull/1727
[6]: https://github.com/DataDog/integrations-core/pull/1713
[7]: https://github.com/DataDog/integrations-core/pull/1639
[8]: https://github.com/DataDog/integrations-core/pull/1620
[9]: https://github.com/DataDog/integrations-core/issues/1020
[10]: https://github.com/DataDog/integrations-core/issues/783
[11]: https://github.com/DataDog/integrations-core/issues/660
[12]: https://github.com/DataDog/integrations-core/issues/637
[13]: https://github.com/DataDog/integrations-core/issues/586
[14]: https://github.com/EdwardMcConnell
[15]: https://github.com/DataDog/integrations-core/issues/394
[16]: https://github.com/DataDog/integrations-core/issues/329
[17]: https://github.com/DataDog/integrations-core/issues/288
[18]: https://github.com/DataDog/integrations-core/issues/291
