File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ mongodb_systemlog_path: /var/log/mongodb/{{ mongodb_daemon_name }}.log # Log f
71
71
mongodb_operation_profiling_slow_op_threshold_ms : 100
72
72
mongodb_operation_profiling_mode : " off"
73
73
74
- # # cloud options
74
+ # # cloud options (MongoDB >= 4.0)
75
75
mongodb_cloud_monitoring_free_state : " runtime"
76
76
77
77
# # replication Options
Original file line number Diff line number Diff line change @@ -71,10 +71,12 @@ operationProfiling:
71
71
slowOpThresholdMs: {{ mongodb_operation_profiling_slow_op_threshold_ms }}
72
72
mode: {{ mongodb_operation_profiling_mode }}
73
73
74
+ {% if mongodb_major_version is version ("4.0" , ">=" ) -%}
74
75
cloud:
75
76
monitoring:
76
77
free:
77
78
state: {{ mongodb_cloud_monitoring_free_state }}
79
+ {% endif -%}
78
80
79
81
{% if mongodb_set_parameters -%}
80
82
setParameter:
You can’t perform that action at this time.
0 commit comments