flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chesnay Schepler <ches...@apache.org>
Subject Re: How can I visualize the metrics Counter and Meter at VisualVM?
Date Fri, 29 Mar 2019 14:31:39 GMT
Did you explicitly connector to the specific host/port, or just to a 
local process?
(If you specify a port, you must connect to the specific port)

On 29/03/2019 15:25, Felipe Gutierrez wrote:
> Hi,
>
> I have configured JMXReporter on Flink. I have a RichMapFunction class 
> emitting a counter and a meter 
> <https://github.com/felipegutierrez/explore-flink/blob/master/src/main/java/org/sense/flink/examples/stream/MqttSensorExpensiveShuffleDAG.java#L70>.

> When I open VisualVM and the MBeans tab I can only see the default 
> metrics of Flink JobManager and Flink TaskManager. How can I see the 
> metrics of my Meter and Counter?
>
> metrics.reporter.jmx.class: org.apache.flink.metrics.jmx.JMXReporter
> metrics.reporter.jmx.host: 192.168.56.1
> metrics.reporter.jmx.port: 8789-8790
> metrics.reporter.jmx.interval: 30 SECONDS
>
> Thanks,
> Felipe
>
> *--*
> *-- Felipe Gutierrez*
> *-- skype: felipe.o.gutierrez
> *
> *--****_https://felipeogutierrez.blogspot.com_*



Mime
View raw message