dmagda commented on a change in pull request #8690:
URL: https://github.com/apache/ignite/pull/8690#discussion_r562920446
##########
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]
Review comment:
How about having this as a chapter? That's an essential configuration
step you can't miss.
== Enabling JMX for Ignite
{the content you have}
##########
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:
Have a complete instruction for both Unix and Windows. For instance,
"ignite.sh ... parameters"
----------------------------------------------------------------
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]