Skip to content

Commit f87ff69

Browse files
author
Dave Cuthbert
authored
DOCSP-25762 mongosh honors appName (#1993)
* DOCSP-25762 mongosh honors appName * Staging fixes * Update links * Review feedback
1 parent 4f45c3e commit f87ff69

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

source/reference/connection-string.txt

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1207,23 +1207,21 @@ Miscellaneous Configuration
12071207

12081208
* - .. urioption:: appName
12091209

1210-
- Specify a custom app name. The app name appears in
1210+
- Specify a custom app name. The app name appears in:
12111211

1212-
- :binary:`~bin.mongod` and :binary:`~bin.mongos` :doc:`logs
1213-
</reference/log-messages>`,
1212+
- :binary:`~bin.mongod` and :binary:`~bin.mongos` :ref:`logs
1213+
<log-messages-ref>`
1214+
- the :data:`currentOp.appName` field in the
1215+
:dbcommand:`currentOp` command and :method:`db.currentOp()`
1216+
method output
1217+
- the :data:`system.profile.appName` field in the
1218+
:ref:`database profiler <profiler>` output
12141219

1215-
- the :data:`currentOp.appName` field in the :dbcommand:`currentOp`
1216-
command and :method:`db.currentOp()` method output,
1220+
The :urioption:`appName` connection option is available for:
12171221

1218-
- the :data:`system.profile.appName` field in the :doc:`database
1219-
profiler </reference/database-profiler>` output.
1220-
1221-
The :urioption:`appName` connection option is only applicable
1222-
when provided to a :ecosystem:`MongoDB Driver </>`. This
1223-
parameter has no effect when supplied to a client application
1224-
such as :compass:`MongoDB Compass </>` or :binary:`~bin.mongosh`.
1225-
1226-
.. versionadded:: 4.0
1222+
- :driver:`MongoDB Drivers </>` starting in MongoDB 4.0
1223+
- :binary:`~bin.mongosh` starting in ``mongosh`` 1.1.9
1224+
- :compass:`MongoDB Compass </>` starting in Compass 1.28.4
12271225

12281226
* - .. urioption:: retryReads
12291227

0 commit comments

Comments
 (0)