mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-10 06:14:13 +00:00
Expilicitly set no direct connect and no global connection pool
Signed-off-by: Mykyta Orlov <orlovmyk@gmail.com>
This commit is contained in:
parent
67fab88064
commit
402edf792b
1 changed files with 4 additions and 0 deletions
|
@ -39,9 +39,13 @@ ExecStart={{ mongodb_exporter_binary_install_dir }}/mongodb_exporter \
|
|||
{% endif -%}
|
||||
{% if mongodb_exporter_direct_connect -%}
|
||||
--mongodb.direct-connect \
|
||||
{% else -%}
|
||||
--no-mongodb.direct-connect \
|
||||
{% endif -%}
|
||||
{% if mongodb_exporter_global_conn_pool -%}
|
||||
--mongodb.global-conn-pool \
|
||||
{% else -%}
|
||||
--no-mongodb.global-conn-pool \
|
||||
{% endif -%}
|
||||
{% if mongodb_exporter_metrics_overridedescendingindex -%}
|
||||
--metrics.overridedescendingindex \
|
||||
|
|
Loading…
Reference in a new issue