diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c2743db..3eb28d82 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,34 @@ Changes: * [ENHANCEMENT] * [BUGFIX] +## 0.15.0-rc.0 / 2023-04-14 + +BREAKING CHANGES: + +The exporter no longer supports the monolithic `DATA_SOURCE_NAME` environment variable. +To configure connections to MySQL you can either use a `my.cnf` style config file or command line arguments. + +For example: + + export MYSQLD_EXPORTER_PASSWORD=secret + mysqld_exporter --mysqld.address=localhost:3306 --mysqld.username=exporter + +We have also dropped some internal scrape metrics: +* `mysql_exporter_scrapes_total` +* `mysql_exporter_scrape_errors_total` +* `mysql_last_scrape_failed` + +Changes: + +* [CHANGE] Allow `tlsCfg.InsecureSkipVerify` outside of mTLS #631 +* [CHANGE] Update to exporter-toolkit v0.8.1 #677 +* [CHANGE] Fix shared metrics between requests #722 +* [FEATURE] Add support for collecting metrics from `sys.user_summary` #628 +* [FEATURE] Support for multi-target mysqld probes #651 +* [FEATURE] Add MySQL TLS configurations #718 +* [ENHANCEMENT] Add UNIX domain socket support for multi-target scraping #707 +* [BUGFIX] Fix `infoSchemaInnodbMetricsEnabledColumnQuery` #687 + ## 0.14.0 / 2022-01-05 BREAKING CHANGES: diff --git a/README.md b/README.md index 1928dfc2..1040b55a 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ Running using ~/.my.cnf: This exporter supports the multi-target pattern. This allows running a single instance of this exporter for multiple MySQL targets. -To use the multi-target functionality, send an http request to the endpoint /probe?target=foo:5432 where target is set to the DSN of the MySQL instance to scrape metrics from. +To use the multi-target functionality, send an http request to the endpoint `/probe?target=foo:3306` where target is set to the DSN of the MySQL instance to scrape metrics from. To avoid putting sensitive information like username and password in the URL, you can have multiple configurations in `config.my-cnf` file and match it by adding `&auth_module=
` to the request. @@ -61,9 +61,10 @@ On the prometheus side you can set a scrape config as follows auth_module: [client.servers] static_configs: - targets: - # All mysql hostnames to monitor. + # All mysql hostnames or unix sockets to monitor. - server1:3306 - server2:3306 + - unix:///run/mysqld/mysqld.sock relabel_configs: - source_labels: [__address__] target_label: __param_target diff --git a/VERSION b/VERSION index a803cc22..e90aa283 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.14.0 +0.15.0-rc.0