I have just successful setup and run mysql exporter, when I switch to 
Prometheus 
UI, try to search for sql metrics, I see only 4 items

mysql_exporter_last_scrape_error
mysql_exporter_scrapes_total
mysql_up
mysqld_exporter_build_info

in spite of the fact that I created a service file on Fedora 35 with all 
following flags
********************************************
[client]
user=mysqld_exporter
password=myuser

[Unit]
Description=Prometheus MySQL Exporter
After=network.target
User=prometheus
Group=prometheus

[Service]
Type=simple
Restart=always
ExecStart=/usr/local/bin/mysqld_exporter \
--config.my-cnf /etc/.mysqld_exporter.cnf \
--collect.global_status \
--collect.info_schema.innodb_metrics \
--collect.auto_increment.columns \
--collect.info_schema.processlist \
--collect.binlog_size \
--collect.info_schema.tables.databases \
--collect.info_schema.tablestats \
--collect.global_variables \
--collect.info_schema.query_response_time \
--collect.info_schema.userstats \
--collect.info_schema.tables \
--collect.perf_schema.tablelocks \
--collect.perf_schema.file_events \
--collect.perf_schema.eventswaits \
--collect.perf_schema.indexiowaits \
--collect.perf_schema.tableiowaits \
--collect.perf_schema.memory_events \
--collect.slave_status \
--web.listen-address=192.168.1.48:9104

[Install]
WantedBy=multi-user.target

***********************************************

It starts succesfuly by running the service status in green and no errors. 
Thanks for your help

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/9ce2a3df-6b14-4809-ab9a-7b6fc2b2f868n%40googlegroups.com.

Reply via email to