Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exporter can’t get binlog_size from percona 8 server #470

Open
olddanmer opened this issue May 21, 2020 · 0 comments
Open

Exporter can’t get binlog_size from percona 8 server #470

olddanmer opened this issue May 21, 2020 · 0 comments

Comments

@olddanmer
Copy link

Host operating system: output of uname -a

CentOS 7
Linux server-mysql80 3.10.0-1062.1.2.el7.x86_64 #1 SMP Mon Sep 30 14:19:46 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

mysqld_exporter version: output of mysqld_exporter --version

mysqld_exporter, version 0.12.1 (branch: HEAD, revision: 48667bf)
build user: root@0b3e56a7bc0a
build date: 20190729-12:35:58
go version: go1.12.7

MySQL server version

Percona-Server-8.0.16-7

mysqld_exporter command line flags

/usr/local/bin/mysqld_exporter
--config.my-cnf /usr/local/etc/.mysqld_exporter.cnf
--collect.auto_increment.columns
--collect.binlog_size
--collect.engine_innodb_status
--collect.global_status
--collect.global_variables
--collect.info_schema.clientstats
--collect.info_schema.innodb_metrics
--collect.info_schema.innodb_cmp
--collect.info_schema.innodb_cmpmem
--collect.info_schema.processlist
--collect.info_schema.query_response_time
--collect.info_schema.tables
--collect.info_schema.tablestats
--collect.info_schema.schemastats
--collect.info_schema.userstats
--collect.perf_schema.eventsstatements
--collect.perf_schema.eventsstatementssum
--collect.perf_schema.eventswaits
--collect.perf_schema.file_events
--collect.perf_schema.file_instances
--collect.perf_schema.indexiowaits
--collect.perf_schema.tableiowaits
--collect.perf_schema.tablelocks
--collect.perf_schema.replication_group_member_stats
--collect.perf_schema.replication_applier_status_by_worker
--collect.slave_status
--web.listen-address=0.0.0.0:9104

What did you do that produced an error?

Run exporter.
curl -XGET 'server-mysql80:9104/metrics'

What did you expect to see?

binlog_size metrics in the output

What did you see instead?

A lot of metrics, but binlog_size metric is absent. Also collector collect.binlog_size finished without error:
mysql_exporter_collector_duration_seconds{collector="collect.binlog_size"} 0.230414609
Full curl output is attached.
mysql-exp.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant