Skip to content

Commit 15d95b8

Browse files
authored
DOCSP-35875 Atlas support for Diagnostic methods (#6240)
Co-authored-by: pierwill <[email protected]>
1 parent 8eff978 commit 15d95b8

8 files changed

+110
-0
lines changed

source/reference/method/db.collection.dataSize.txt

+13
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,16 @@ db.collection.dataSize()
2727
.. |operations| replace:: :dbcommand:`collStats`
2828

2929

30+
31+
Compatibility
32+
-------------
33+
34+
.. |command| replace:: method
35+
36+
This method is available in deployments hosted in the following environments:
37+
38+
.. include:: /includes/fact-environments-atlas-only.rst
39+
40+
.. include:: /includes/fact-environments-atlas-support-no-free.rst
41+
42+
.. include:: /includes/fact-environments-onprem-only.rst

source/reference/method/db.collection.explain.txt

+13
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,19 @@ Description
8888

8989

9090

91+
Compatibility
92+
-------------
93+
94+
.. |command| replace:: method
95+
96+
This method is available in deployments hosted in the following environments:
97+
98+
.. include:: /includes/fact-environments-atlas-only.rst
99+
100+
.. include:: /includes/fact-environments-atlas-support-all.rst
101+
102+
.. include:: /includes/fact-environments-onprem-only.rst
103+
91104

92105
.. _explain-method-behavior:
93106

source/reference/method/db.collection.validate.txt

+14
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,20 @@ Description
3434
The :method:`db.collection.validate()` method is a wrapper around
3535
the :dbcommand:`validate` command.
3636

37+
38+
Compatibility
39+
-------------
40+
41+
.. |command| replace:: method
42+
43+
This method is available in deployments hosted in the following environments:
44+
45+
.. include:: /includes/fact-environments-atlas-only.rst
46+
47+
.. include:: /includes/fact-environments-atlas-support-no-free-or-serverless.rst
48+
49+
.. include:: /includes/fact-environments-onprem-only.rst
50+
3751
Syntax
3852
------
3953

source/reference/method/db.hostInfo.txt

+14
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,17 @@ db.hostInfo()
5454

5555
See :data:`hostInfo` for full documentation of the output of
5656
:method:`db.hostInfo()`.
57+
58+
59+
Compatibility
60+
-------------
61+
62+
.. |command| replace:: method
63+
64+
This method is available in deployments hosted in the following environments:
65+
66+
.. include:: /includes/fact-environments-atlas-only.rst
67+
68+
.. include:: /includes/fact-environments-atlas-support-no-free.rst
69+
70+
.. include:: /includes/fact-environments-onprem-only.rst

source/reference/method/db.listCommands.txt

+14
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,17 @@ db.listCommands()
1515
Provides a list of all database commands. See the
1616
:doc:`/reference/command` document for a more extensive index of
1717
these options.
18+
19+
20+
Compatibility
21+
-------------
22+
23+
.. |command| replace:: method
24+
25+
This method is available in deployments hosted in the following environments:
26+
27+
.. include:: /includes/fact-environments-atlas-only.rst
28+
29+
.. include:: /includes/fact-environments-atlas-support-all.rst
30+
31+
.. include:: /includes/fact-environments-onprem-only.rst

source/reference/method/db.serverBuildInfo.txt

+14
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,17 @@ db.serverBuildInfo()
1616
command`. :dbcommand:`buildInfo` returns a document that contains
1717
an overview of parameters used to compile this :binary:`~bin.mongod`
1818
instance.
19+
20+
21+
Compatibility
22+
-------------
23+
24+
.. |command| replace:: method
25+
26+
This method is available in deployments hosted in the following environments:
27+
28+
.. include:: /includes/fact-environments-atlas-only.rst
29+
30+
.. include:: /includes/fact-environments-atlas-support-all.rst
31+
32+
.. include:: /includes/fact-environments-onprem-only.rst

source/reference/method/db.serverStatus.txt

+14
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,20 @@ db.serverStatus()
1818
This command provides a wrapper around the database command
1919
:dbcommand:`serverStatus`.
2020

21+
22+
Compatibility
23+
-------------
24+
25+
.. |command| replace:: method
26+
27+
This method is available in deployments hosted in the following environments:
28+
29+
.. include:: /includes/fact-environments-atlas-only.rst
30+
31+
.. include:: /includes/fact-environments-atlas-support-all.rst
32+
33+
.. include:: /includes/fact-environments-onprem-only.rst
34+
2135
Behavior
2236
--------
2337

source/reference/method/db.stats.txt

+14
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,20 @@ Description
2020
The :method:`db.stats()` method is a wrapper around the
2121
:dbcommand:`dbStats` database command.
2222

23+
24+
Compatibility
25+
-------------
26+
27+
.. |command| replace:: method
28+
29+
This method is available in deployments hosted in the following environments:
30+
31+
.. include:: /includes/fact-environments-atlas-only.rst
32+
33+
.. include:: /includes/fact-environments-atlas-support-limited-free.rst
34+
35+
.. include:: /includes/fact-environments-onprem-only.rst
36+
2337
Parameters
2438
~~~~~~~~~~
2539

0 commit comments

Comments
 (0)