@@ -16,88 +16,4 @@ Free Monitoring
16
16
:class: singlecol
17
17
18
18
19
- .. include:: /includes/fact-free-monitoring-deprecation-warning.rst
20
-
21
- .. versionadded:: 4.0
22
-
23
- Starting in version 4.0, MongoDB (Community Edition) offers free Cloud
24
- monitoring for standalones and replica sets.
25
-
26
- Monitored Data
27
- --------------
28
-
29
- Free monitoring provides information about your deployment, including:
30
-
31
- - Operation Execution Times
32
-
33
- - Memory Usage
34
-
35
- - CPU Usage
36
-
37
- - Operation Counts
38
-
39
- The data expires 24 hours after being uploaded. For more information on
40
- the data upload and expiration, see
41
- :ref:`free-monitoring-data-expiration`.
42
-
43
- Enable/Disable Free Monitoring
44
- ------------------------------
45
-
46
- By default, you can enable/disable free monitoring during runtime using
47
- :method:`db.enableFreeMonitoring()` and :method:`db.disableFreeMonitoring()`.
48
-
49
- You can also enable or disable free monitoring during
50
- :binary:`~bin.mongod` startup using either:
51
-
52
- - the configuration file setting :setting:`cloud.monitoring.free.state`
53
- or
54
-
55
- - the command-line option :option:`--enableFreeMonitoring <mongod --enableFreeMonitoring>`
56
-
57
- Once you enable free monitoring, it remains enabled until you disable
58
- it.
59
-
60
- To view the state of your free monitoring,
61
-
62
- - Use the :method:`db.getFreeMonitoringStatus()` method.
63
-
64
- - The :dbcommand:`serverStatus` and the helper
65
- :method:`db.serverStatus()` also includes free monitoring statistics
66
- in the :serverstatus:`freeMonitoring` field.
67
-
68
- Access Control
69
- --------------
70
-
71
- When running with access control, the user must have the following
72
- privileges to enable free monitoring and get status:
73
-
74
- .. code-block:: javascript
75
-
76
- { resource: { cluster : true }, actions: [ "setFreeMonitoring", "checkFreeMonitoringStatus" ] }
77
-
78
- The built-in role :authrole:`clusterMonitor` role provides this
79
- privilege.
80
-
81
- .. _free-monitoring-data-expiration:
82
-
83
- Monitored Data and Expiration
84
- -----------------------------
85
-
86
- When enabled, the monitored data is uploaded periodically. The
87
- monitored data expires after 24 hours. That is, you can only access
88
- monitored data that has been uploaded within the past 24 hours.
89
-
90
- If you disable free monitoring and later re-enable free monitoring, you
91
- can access your previous metrics that have not expired within the past
92
- 24 hours.
93
-
94
- Monitoring URL
95
- --------------
96
-
97
- When you enable free monitoring, you are provided with a unique
98
- URL where you can access your monitored data.
99
-
100
- .. important::
101
-
102
- Anyone with whom you share this unique URL can access your monitored
103
- data.
19
+ .. include:: /includes/fact-free-monitoring-deprecation-warning.rst
0 commit comments