From 6613c433473698b5252b837bcdbf5e81756fd3ef Mon Sep 17 00:00:00 2001 From: "Alexander J. Maidak" Date: Fri, 18 Nov 2022 17:50:24 +0000 Subject: [PATCH] replication_applier_status_by_worker requires mysql 8.0 The query in the replication_applier_status_by_worker check assumes the replication_applier_status_by_worker table layout in mysql 8.0. --- collector/perf_schema_replication_applier_status_by_worker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collector/perf_schema_replication_applier_status_by_worker.go b/collector/perf_schema_replication_applier_status_by_worker.go index c74571bc..5b80f839 100644 --- a/collector/perf_schema_replication_applier_status_by_worker.go +++ b/collector/perf_schema_replication_applier_status_by_worker.go @@ -97,7 +97,7 @@ func (ScrapePerfReplicationApplierStatsByWorker) Help() string { // Version of MySQL from which scraper is available. func (ScrapePerfReplicationApplierStatsByWorker) Version() float64 { - return 5.7 + return 8.0 } // Scrape collects data from database connection and sends it over channel as prometheus metric.