Nikita-tech-writer commented on a change in pull request #8690:
URL: https://github.com/apache/ignite/pull/8690#discussion_r564083589
##########
File path: docs/_docs/monitoring-metrics/metrics.adoc
##########
@@ -24,6 +24,23 @@ You can also access them programmatically.
On this page, we've collected the most useful metrics and grouped them into
various common categories based on the monitoring task.
+[NOTE]
+====
+By default, the JMX automatic configuration is disabled.
+To enable it, configure the following environment variables:
+
+* For `control.sh`, configure the `CONTROL_JVM_OPTS` variable
+* For `ignite.sh`, configure the `JVM_OPTS` variable
+
+For example:
+[source,shell]
+----
+JVM_OPTS="-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=${JMX_PORT} \
Review comment:
Not sure whether it's necessary to add separate tabs for the environment
variable configuration.
As for the CONTROL_JVM_OPTS variable, its configuration depends on the Java
version, so we can't provide a universal example here.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]