Last active
July 15, 2017 16:52
-
-
Save LucaDev/b4493015ae589238bcc8d3617af51a77 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Prometheus mysqld exporter | |
After=local-fs.target network-online.target network.target | |
Wants=local-fs.target network-online.target network.target | |
[Service] | |
ExecStart=/opt/mysqld_exporter/mysqld_exporter -collect.binlog_size=true -collect.info_schema.processlist=true | |
Type=simple | |
Environment=DATA_SOURCE_NAME=login:password@(localhost:3306)/ | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment