@@ -41,7 +41,7 @@ to satisfy those use cases.
4141.. tip:: Computed Values
4242
4343 To learn what types of metrics the connector provides and when
44- you must implement logic to compute a value, see
44+ to implement logic to compute a value, see
4545 :ref:`<kafka-monitoring-types-of-metrics>`.
4646
4747Sink Connector
@@ -58,22 +58,22 @@ to satisfy those use cases:
5858 * - Use Case
5959 - Metrics to Use
6060
61- * - You need to know if a component of your pipeline is falling behind.
61+ * - You want to know if a component of your pipeline is falling behind.
6262 - Use the ``latest-kafka-time-difference-ms``
6363 metric. This metric indicates the interval of time between
6464 when a record arrived in a Kafka topic and when your connector
6565 received that record. If the value of this metric is increasing,
6666 it signals that there may be a problem with {+kafka+} or MongoDB.
6767
68- * - You need to know the total number of records your connector
68+ * - You want to know the total number of records your connector
6969 wrote to MongoDB.
7070 - Use the ``records`` metric.
7171
72- * - You need to know the total number of write errors your connector
72+ * - You want to know the total number of write errors your connector
7373 encountered when attempting to write to MongoDB.
7474 - Use the ``batch-writes-failed`` metric.
7575
76- * - You need to know if your MongoDB performance is getting slower
76+ * - You want to know if your MongoDB performance is getting slower
7777 over time.
7878 - Use the ``in-task-put-duration-ms`` metric to initially diagnose
7979 a slowdown.
@@ -84,8 +84,8 @@ to satisfy those use cases:
8484 - ``batch-writes-failed-duration-over-<number>-ms``
8585 - ``processing-phase-duration-over-<number>-ms``
8686
87- * - You need to find a bottleneck in how {+kafka-connect+} and your MongoDB sink
88- connector write {+kafka+} records to MongoDB.
87+ * - You want to find the time {+kafka-connect+} and the MongoDB sink
88+ connector spend writing records to MongoDB.
8989 - Compare the values of the following metrics:
9090
9191 - ``in-task-put-duration-ms``
@@ -108,17 +108,17 @@ to satisfy those use cases:
108108 * - Use Case
109109 - Metrics to Use
110110
111- * - You need to know if a component of your pipeline is falling behind.
111+ * - You want to know if a component of your pipeline is falling behind.
112112 - Use the ``latest-mongodb-time-difference-secs``
113113 metric. This metric indicates how old the most recent change
114114 stream event your connector processed is. If this metric is increasing,
115115 it signals that there may be a problem with {+kafka+} or MongoDB.
116116
117- * - You need to know the total number of change stream events your source connector
117+ * - You want to know the total number of change stream events your source connector
118118 has processed.
119119 - Use the ``records`` metric.
120120
121- * - You need to know the percentage of records your connector
121+ * - You want to know the percentage of records your connector
122122 received but failed to write to {+kafka+}.
123123 - Perform the following calculation with the ``records``,
124124 ``records-filtered``, and ``records-acknowledged`` metrics:
@@ -127,7 +127,7 @@ to satisfy those use cases:
127127
128128 (records - (records-acknowledged + records-filtered)) / records
129129
130- * - You need to know the average size of the documents your connector
130+ * - You want to know the average size of the documents your connector
131131 has processed.
132132 - Perform the following calculation with the ``mongodb-bytes-read`` and
133133 ``records`` metrics:
@@ -139,14 +139,14 @@ to satisfy those use cases:
139139 To learn how to calculate the average size of records over a span of
140140 time, see :ref:`mongodb-bytes-read <kafka-monitoring-averge-record-size-span>`.
141141
142- * - You need to find a bottleneck in how {+kafka-connect+} and your MongoDB source
143- connector write MongoDB documents to {+kafka+}.
142+ * - You want to find the time {+kafka-connect+} and the MongoDB
143+ source connector spend writing records to {+kafka+}.
144144 - Compare the values of the following metrics:
145145
146146 - ``in-task-poll-duration-ms``
147147 - ``in-connect-framework-duration-ms``
148148
149- * - You need to know if your MongoDB performance is getting slower
149+ * - You want to know if your MongoDB performance is getting slower
150150 over time.
151151 - Use the ``in-task-poll-duration-ms`` metric to initially diagnose
152152 a slowdown.
@@ -220,7 +220,7 @@ types of quantities:
220220- The value related to the most recent occurrence of an event
221221
222222For some use cases, you must perform extra computations with the
223- metrics the connector provides. For example, you must compute the
223+ metrics the connector provides. For example, you can compute the
224224following values from provided metrics:
225225
226226- The rate of change of a metric
0 commit comments