update exporter conf for mongoDB and mysql
This commit is contained in:
1 parent
78bceb35f7
commit
e51e4ce7a0
6 files changed
+21
-25
No files matched your search
@@ -5,7 +5,7 @@ After=network.target
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/local/bin/prometheus-mongodb-exporter
|
||||
EnvironmentFile=/etc/mongodb-exporter.conf
|
||||
EnvironmentFile=/etc/default/prometheus-mongodb-exporter
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -1,10 +1,12 @@
|
||||
[Unit]
|
||||
Description=Prometheus PostgreSQL Exporter
|
||||
After=network.target
|
||||
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User={{ prometheus_postgres_exporter_user|default("postgres") }}
|
||||
ExecStart=/usr/local/bin/prometheus-postgres-exporter
|
||||
|
||||
EnvironmentFile=/etc/default/prometheus-postgres-exporter
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in new issue
Block a user