I did a apt full-upgrade on labsdb1010 and I noticed the prometheus-mysqld-exporter was not able to come back.
Mar 4 09:42:23 labsdb1010 prometheus-mysqld-exporter[19334]: prometheus-mysqld-exporter: error: unknown short flag '-c', try --help Mar 4 09:42:23 labsdb1010 systemd[1]: prometheus-mysqld-exporter.service: Main process exited, code=exited, status=1/FAILURE Mar 4 09:42:23 labsdb1010 systemd[1]: prometheus-mysqld-exporter.service: Unit entered failed state. Mar 4 09:42:23 labsdb1010 systemd[1]: prometheus-mysqld-exporter.service: Failed with result 'exit-code'. Mar 4 09:42:24 labsdb1010 systemd[1]: prometheus-mysqld-exporter.service: Service hold-off time over, scheduling restart.
Comparing labsdb1010 with labsdb1009 (not upgraded) looks like the collect options have changed:
labsdb1009
root@labsdb1009:~# /usr/bin/prometheus-mysqld-exporter --version mysqld_exporter, version 0.10.0+ds (branch: debian/sid, revision: 0.10.0+ds-1~wmf1) root@labsdb1009:~# /usr/bin/prometheus-mysqld-exporter --help | grep -i collect Usage of /usr/bin/prometheus-mysqld-exporter: -collect.auto_increment.columns Collect auto_increment columns and max values from information_schema -collect.binlog_size Collect the current size of all registered binlog files -collect.engine_innodb_status Collect from SHOW ENGINE INNODB STATUS -collect.engine_tokudb_status Collect from SHOW ENGINE TOKUDB STATUS -collect.global_status Collect from SHOW GLOBAL STATUS (default true) <snip>
labsdb1010:
root@labsdb1010:~# /usr/bin/prometheus-mysqld-exporter --version mysqld_exporter, version 0.11.0+ds (branch: debian/sid, revision: 0.11.0+ds-1~bpo9+1) root@labsdb1010:~# /usr/bin/prometheus-mysqld-exporter --help usage: prometheus-mysqld-exporter [<flags>] Flags: -h, --help Show context-sensitive help (also try --help-long and --help-man). --exporter.lock_wait_timeout=2 Set a lock_wait_timeout on the connection to avoid long metadata locking. --exporter.log_slow_filter Add a log_slow_filter to avoid slow query logging of scrapes. NOTE: Not supported by Oracle MySQL. --collect.heartbeat.database="heartbeat" Database from where to collect heartbeat data --collect.heartbeat.table="heartbeat" <snip>