From 023ae33b7b7b718f88a66ca994ecf274d2e6962e Mon Sep 17 00:00:00 2001 From: "tom.chivert" Date: Wed, 13 Sep 2023 11:08:54 +0200 Subject: [PATCH] add --collect-all mode on mongodb exporter --- templates/systemd/prometheus-mongodb-exporter.service.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/systemd/prometheus-mongodb-exporter.service.j2 b/templates/systemd/prometheus-mongodb-exporter.service.j2 index c7dae3d..c07cc1c 100644 --- a/templates/systemd/prometheus-mongodb-exporter.service.j2 +++ b/templates/systemd/prometheus-mongodb-exporter.service.j2 @@ -4,7 +4,7 @@ After=network.target [Service] Type=simple -ExecStart=/usr/local/bin/prometheus-mongodb-exporter --compatible-mode +ExecStart=/usr/local/bin/prometheus-mongodb-exporter --compatible-mode --collect-all --discovering-mode EnvironmentFile=/etc/default/prometheus-mongodb-exporter [Install]