I am learning all these. Please share your ideas and help.
I am trying to see flink metrics with JMX reporter from JMX console. Steps:
I have Apache-flink installed by homebrew, alias
fstart
andfstop
for starting/stopping Flink. Based on [this JMX reporter link][https://ci.apache.org/projects/flink/flink-docs-release-1.4/monitoring/metrics.html#jmx-orgapacheflinkmetricsjmxjmxreporter], I added below 3 lines at the end of flink-conf.yamlmetrics.reporters: jmx metrics.reporter.jmx.class: org.apache.flink.metrics.jmx.JMXReporter metrics.reporter.jmx.port: 8789
I downloaded Wildfly (JBoss application server), from its bin folder, run JConsole.sh.
The Jconsole shows local processes. I picked
"org.apache.flink.runtime.jobmanager.JobManager"
andConnect
. JConsole - available processes . It shows the default Beans Default beans. However, no Flink related beans appears here.
Correct me if I am wrong please. I assume if Flink metrics through JMX reporter is sending metrics to my local JMX box, then I should be able to see any of below metrics from the beans. https://ci.apache.org/projects/flink/flink-docs-release-1.4/monitoring/metrics.html#system-metrics
What step have I done wrong or missing please? Any help is appreciated. Thank you.
localhost:8789
? – Dawid Wysakowicz