disable some heavy collections in mysqld exporter

This commit is contained in:
tom.chivert
2025-12-01 16:59:24 +01:00
parent 72d6bf67f5
commit dbfe51eb81

View File

@@ -4,25 +4,7 @@ After=network.target
[Service] [Service]
Type=simple Type=simple
ExecStart=/usr/local/bin/prometheus-mysqld-exporter \ ExecStart=/usr/local/bin/prometheus-mysqld-exporter --web.listen-address=0.0.0.0:9104 --config.my-cnf /etc/default/prometheus-mysqld-exporter --collect.global_status --collect.global_variables --collect.info_schema.innodb_metrics --collect.info_schema.processlist --collect.slave_status --collect.binlog_size
--config.my-cnf /etc/default/prometheus-mysqld-exporter \
--collect.global_status \
--collect.info_schema.innodb_metrics \
--collect.auto_increment.columns \
--collect.info_schema.processlist \
--collect.binlog_size \
--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.slave_status \
--web.listen-address=0.0.0.0:9104
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target