From 511272ce5d643e628440de5da319dd707685d841 Mon Sep 17 00:00:00 2001 From: Sarah Simpers <82042374+sarahsimpers@users.noreply.github.com> Date: Tue, 8 Oct 2024 11:53:39 -0400 Subject: [PATCH] (DOCSP-44208) Removes nested components from last page of Kafka docs (#172) (#173) --- source/monitoring.txt | 63 ++++++++++++++++++------------------------- 1 file changed, 26 insertions(+), 37 deletions(-) diff --git a/source/monitoring.txt b/source/monitoring.txt index 7f0c566a..c7b107e4 100644 --- a/source/monitoring.txt +++ b/source/monitoring.txt @@ -327,41 +327,31 @@ To view these metrics with {+jconsole+}, perform the following actions: .. step:: Connect to the {+kafka-connect+} JMX server. - .. procedure:: - :style: connected + a. Enter your JMX Server URI ``localhost:{+jmx-port-mapping+}`` + into the + :guilabel:`Remote Process` text input box in the {+jconsole+} + interface. - .. step:: Enter your JMX Server URI. + #. Click :guilabel:`Connect`. - Enter the URI ``localhost:{+jmx-port-mapping+}`` into the :guilabel:`Remote Process` - text input box in the {+jconsole+} interface. - - .. step:: Click :guilabel:`Connect`. - - .. step:: In the dialog box, click :guilabel:`Insecure Connection`. + #. In the dialog box, click :guilabel:`Insecure Connection`. .. step:: Explore your connectors' metrics. - .. procedure:: - :style: connected - - .. step:: Navigate to the :guilabel:`MBeans` tab in {+jconsole+}. - - .. step:: Inspect connector metrics. + a. Navigate to the :guilabel:`MBeans` tab in {+jconsole+}. - Notice that the ``{+metrics-path+}.sink-task-metrics.sink-task-0.records`` - attribute has a value of ``0``. This value indicates that - your sink task has not received any records from {+kafka+}. + #. Inspect connector metrics. Notice that the + ``{+metrics-path+}.sink-task-metrics.sink-task-0.records`` + attribute has a value of ``0``. This + value indicates that your sink task has not received any + records from {+kafka+}. - .. step:: Continue the Quick Start. + #. Continue the Quick Start until, but not through, the + :ref:`` step. - Continue the Quick Start until, but not through, the - :ref:`` step. - - .. step:: Return to {+jconsole+}. - - Navigate back to the :guilabel:`MBeans` tab in {+jconsole+}. - The ``{+metrics-path+}.sink-task-metrics.sink-task-0.records`` - attribute should now have a value of ``1``. + #. Navigate back to the :guilabel:`MBeans` tab in {+jconsole+}. + The ``{+metrics-path+}.sink-task-metrics.sink-task-0.records`` + attribute should now have a value of ``1``. .. step:: Stop and remove the Quick Start environment. @@ -614,17 +604,16 @@ Source Connector JMX Metrics .. _kafka-monitoring-averge-record-size-span: - .. tip:: Average Record Size Over a Span of Time - - To calculate the average size of the records your sink connector - processed over a span of time, perform the following actions: + To calculate the average size of the records your sink connector + processed over a span of time, perform the following actions: - #. Determine the change in the value of the ``mongodb-bytes-read`` - attribute for a span of time. - #. Determine the change in the value of the ``records`` attribute - for the same span of time you used for the preceding step. - #. Divide the change in the value of the ``mongodb-bytes-read`` attribute - by the change in the value of the ``records`` attribute. + #. Determine the change in the value of the + ``mongodb-bytes-read`` attribute for a span of time. + #. Determine the change in the value of the ``records`` attribute + for the same span of time you used for the preceding step. + #. Divide the change in the value of the ``mongodb-bytes-read`` + attribute by the change in the value of the ``records`` + attribute. * - **latest-mongodb-time-difference-secs** - The number of seconds of the most recent time difference recorded between