Fix a wrong variable, enable compatible mode.
This commit is contained in:
parent
7f5370cffb
commit
4736952a73
|
@ -92,12 +92,12 @@ mongodb_prometheus_exporter_port: 9216
|
|||
mongodb_prometheus_exporter_loglevel: error
|
||||
mongodb_prometheus_exporter_opts: '--web.listen-address=":{{ mongodb_prometheus_exporter_port }}" --log.level={{ mongodb_prometheus_exporter_loglevel }}'
|
||||
mongodb_prometheus_exporter_connection_opts: '--mongodb.uri="mongodb://{{ mongodb_prometheus_exporter_connection_user }}:{{ mongodb_prometheus_exporter_connection_password }}@{{ mongodb_prometheus_exporter_connection_host }}/{{ mongodb_prometheus_exporter_connection_params }}"'
|
||||
mongodb_prometheus_exporter_collect_opts: '--mongodb.global-conn-pool --mongodb.direct-connect=true --collector.topmetrics --discovering-mode --collector.dbstats'
|
||||
mongodb_prometheus_exporter_collect_opts: '--mongodb.global-conn-pool --mongodb.direct-connect=true --collector.topmetrics --discovering-mode --collector.dbstats --compatible-mode'
|
||||
# List the additional options here
|
||||
mongodb_prometheus_exporter_additional_opts: ''
|
||||
mongodb_prometheus_exporter_user: prometheus_mongodb
|
||||
mongodb_prometheus_exporter_home: '/opt/{{ mongodb_prometheus_exporter_user }}'
|
||||
mongodb_prometheus_exporter_dist_dir: '{{ prometheus_n_e_home }}/dist'
|
||||
mongodb_prometheus_exporter_dist_dir: '{{ mongodb_prometheus_exporter_dist_dir }}/dist'
|
||||
mongodb_prometheus_exporter_cmd: '{{ mongodb_prometheus_exporter_dist_dir }}/{{ mongodb_prometheus_exporter_dir }}/mongodb_exporter'
|
||||
mongodb_prometheus_exporter_connection_host: 'localhost:27017'
|
||||
mongodb_prometheus_exporter_connection_user: monitor
|
||||
|
|
Loading…
Reference in New Issue