Skip to content

Commit

Permalink
(DOCSP-44208) Removes nested components from last page of Kafka docs (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahsimpers authored Oct 8, 2024
1 parent 1d2b87c commit ab69bd4
Showing 1 changed file with 26 additions and 37 deletions.
63 changes: 26 additions & 37 deletions source/monitoring.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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:`<kafka-quickstart-remove-the-sandbox>` step.

Continue the Quick Start until, but not through, the
:ref:`<kafka-quickstart-remove-the-sandbox>` 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.

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ab69bd4

Please sign in to comment.