diff --git a/docs/src/main/sphinx/admin/jmx.rst b/docs/src/main/sphinx/admin/jmx.rst index 13a403da4a23..a0209688ca8f 100644 --- a/docs/src/main/sphinx/admin/jmx.rst +++ b/docs/src/main/sphinx/admin/jmx.rst @@ -19,6 +19,13 @@ in the :ref:`config.properties file `: Specifies the port for the JMX RMI server. Trino exports many metrics, that are useful for monitoring via JMX. +You also have to configure a system property in the +:ref:`jvm.config ` with the RMI server port: + +.. code-block:: text + + -Dcom.sun.management.jmxremote.rmi.port=9081 + JConsole (supplied with the JDK), `VisualVM `_, and many other tools can be used to access the metrics in a client application. Many monitoring solutions support JMX. You can also use the