diff --git a/source/monitoring.txt b/source/monitoring.txt index abbd5b0..bec3869 100644 --- a/source/monitoring.txt +++ b/source/monitoring.txt @@ -320,41 +320,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. @@ -607,17 +597,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