1
- ==================
2
- Cluster Monitoring
3
- ==================
1
+ ==========
2
+ Monitoring
3
+ ==========
4
4
5
5
.. contents:: On this page
6
6
:local:
@@ -12,23 +12,25 @@ Overview
12
12
--------
13
13
14
14
In this guide, you can learn how to set up and configure **monitoring** in the
15
- MongoDB Kotlin driver.
15
+ {+ driver-short+} .
16
16
17
17
Monitoring is the process of getting information about the activities a running
18
18
program performs for use in an application or an application performance
19
19
management library.
20
20
21
- Monitoring the MongoDB Kotlin driver lets you understand the
22
- driver's resource usage and performance, and can help you make informed
23
- decisions when designing and debugging your application.
21
+ Monitoring the {+driver-short+} to monitor cluster, driver command, and
22
+ connection pool events. These features help you make informed decisions when
23
+ designing and debugging your application.
24
24
25
25
In this guide you will learn how to perform these tasks:
26
26
27
- - :ref:`Monitor different types of events in the MongoDB Kotlin driver <monitoring-monitor-events>`
27
+ - :ref:`Monitor specific events by using the {+ driver-short+} <monitoring-monitor-events>`
28
28
- :ref:`Monitor connection pool events with Java Management Extensions (JMX) and JConsole <monitoring-jmx>`
29
29
30
- This guide shows how to use information about the meta activity of the driver.
31
- To learn how to record data transactions, see the :ref:`Monitoring Data Changes <kotlin-sync-change-streams>` page.
30
+ .. tip::
31
+
32
+ This guide shows how to use information about the meta activity of the driver.
33
+ To learn how to record data transactions, see the :ref:`Monitoring Data Changes <kotlin-sync-change-streams>` page.
32
34
33
35
.. _monitoring-monitor-events:
34
36
@@ -44,20 +46,17 @@ for listening to a subset of the events that occur when the driver is running.
44
46
A listener is a class that performs some action when certain events occur.
45
47
A listener's API defines the events it can respond to.
46
48
47
- Each method of a listener class represents a response to a certain event. Each
48
- method receives one argument: an object representing the event the method
49
- responds to.
50
-
51
- The MongoDB Kotlin driver organizes the events it defines into three categories:
49
+ Each method of a listener class represents a response to a certain event, and
50
+ accepts as an argument an event object representing the event.
52
51
53
- - Command Events
54
- - Server Discovery and Monitoring Events
55
- - Connection Pool Events
52
+ The {+driver-short+} organizes the events it defines into three categories:
56
53
57
- The following sections show how to monitor each event category.
54
+ - Command events
55
+ - Server Discovery and Monitoring events
56
+ - Connection Pool events
58
57
59
- For a full list of the events you can monitor,
60
- `see the event package of the MongoDB Kotlin driver <{+api+}/apidocs/mongodb-driver-core /com/mongodb/event/package-summary.html>`__.
58
+ The following sections show how to monitor each event category. For a full list of the events you can monitor,
59
+ `see the event package of the {+ driver-short+} <{+api+}/com/mongodb/event/package-summary.html>`__.
61
60
62
61
.. _command-events-kotlin:
63
62
0 commit comments