Exporter for MySQL server metrics
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
The default client configuration file is now .my.cnf
in the process working directory. Use --config.my-cnf="$HOME/.my.cnf"
to retain the previous default.
Changes:
tlsCfg.InsecureSkipVerify
outside of mTLS #631sys.user_summary
#628STRAIGHT_JOIN
in infoSchemaAutoIncrementQuery #726infoSchemaInnodbMetricsEnabledColumnQuery
#687BREAKING 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:
tlsCfg.InsecureSkipVerify
outside of mTLS #631sys.user_summary
#628infoSchemaInnodbMetricsEnabledColumnQuery
#687BREAKING CHANGES:
Metric names in the info_schema.processlist collector have been changed. #603 Metric names in the info_schema.replica_host collector have been changed. #496
replica_host_status
#496BREAKING CHANGES:
Changes related to replication_group_member_stats
collector:
mysql_perf_schema_transaction_
to start with mysql_perf_schema_transactions_
to be consistent with column namesChanges:
tls.insecure-skip-verify
flag to ignore tls verification errors #417replication_group_members
#459replication_group_member_stats
collector to support MySQL 8.x. #462performance_schema.memory_summary_global_by_event_name
#515BREAKING CHANGES:
Changes related to replication_group_member_stats
collector:
mysql_perf_schema_transaction_
to start with mysql_perf_schema_transactions_
to be consistent with column namesChanges:
tls.insecure-skip-verify
flag to ignore tls verification errors #417replication_group_members
#459replication_group_member_stats
collector to support MySQL 8.x. #462performance_schema.memory_summary_global_by_event_name
#515The minimum supported MySQL version is now 5.5.
Collector info_schema.tables
is now disabled by default due to high cardinality danger.
This also changes the behavior of boolean flags.
--collector.global_status
--no-collector.global_status
lock_wait_timeout
on the MySQL connection #252last_scrape_error
when an error occurs #237performance_schema.replication_group_member_stats
#271SHOW SLAVE HOSTS
#279file_instances
metric collector #205perf_schema_file_instances
#257