We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 67fab88 + 402edf7 commit f8d470cCopy full SHA for f8d470c
roles/mongodb_exporter/templates/mongodb_exporter.service.j2
@@ -39,9 +39,13 @@ ExecStart={{ mongodb_exporter_binary_install_dir }}/mongodb_exporter \
39
{% endif -%}
40
{% if mongodb_exporter_direct_connect -%}
41
--mongodb.direct-connect \
42
+{% else -%}
43
+ --no-mongodb.direct-connect \
44
45
{% if mongodb_exporter_global_conn_pool -%}
46
--mongodb.global-conn-pool \
47
48
+ --no-mongodb.global-conn-pool \
49
50
{% if mongodb_exporter_metrics_overridedescendingindex -%}
51
--metrics.overridedescendingindex \
0 commit comments