File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,9 @@ 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 (MongoDB >= 4.0)
75
+ mongodb_cloud_monitoring_free_state : " runtime"
76
+
74
77
# # replication Options
75
78
mongodb_replication_replset : " " # Enable replication
76
79
mongodb_replication_replindexprefetch : " all" # specify index prefetching behavior (if secondary) [none|_id_only|all]
Original file line number Diff line number Diff line change @@ -71,6 +71,13 @@ 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" , ">=" ) -%}
75
+ cloud:
76
+ monitoring:
77
+ free:
78
+ state: {{ mongodb_cloud_monitoring_free_state }}
79
+ {% endif -%}
80
+
74
81
{% if mongodb_set_parameters -%}
75
82
setParameter:
76
83
{% for key , value in mongodb_set_parameters .items () -%}
You can’t perform that action at this time.
0 commit comments