1
0
mirror of https://github.com/prometheus/mysqld_exporter.git synced 2025-07-31 17:44:21 +03:00

compatible with mysql<=5.7

Signed-off-by: hateeyan <hateeyan@gmail.com>
This commit is contained in:
hateeyan
2021-12-21 09:37:29 +08:00
parent 733987b514
commit 55df5341e3
2 changed files with 8 additions and 2 deletions

View File

@ -69,6 +69,7 @@ func TestScrapeGlobalVariables(t *testing.T) {
{labels: labelMap{"innodb_version": "5.6.30-76.3", "version": "5.6.30-76.3-56", "version_comment": "Percona XtraDB Cluster..."}, value: 1, metricType: dto.MetricType_GAUGE},
{labels: labelMap{"wsrep_cluster_name": "supercluster"}, value: 1, metricType: dto.MetricType_GAUGE},
{labels: labelMap{}, value: 134217728, metricType: dto.MetricType_GAUGE},
{labels: labelMap{"level": "REPEATABLE-READ"}, value: 1, metricType: dto.MetricType_GAUGE},
}
convey.Convey("Metrics comparison", t, func() {
for _, expect := range counterExpected {