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 to monitor the latency?
Date Wed, 07 Feb 2018 07:56:46 GMT
Correct, in pre-1.5 the latency metric can only be used via the JMXReporter.
With 1.5 you will be able to access the latency metric via any reporter 
of the REST API, but as it stands still not the WebUI.

On 07.02.2018 05:05, Marvin777 wrote:
> As far as I know, as for using the latency metric, only the 
> JMXReporter now.
>
> FLINK-7608 <https://issues.apache.org/jira/browse/FLINK-7608> may be 
> help you.
>
> 2018-02-07 11:40 GMT+08:00 FatMouse <934336389@qq.com 
> <mailto:934336389@qq.com>>:
>
>         Hello:
>
>     I hava set the LatencyTrackingInterval as 2000,but int the `Task
>     Metrics` latency was always Nan.How can I monitor the latency?Thanks.
>
>
>     Code:
>
>     StreamExecutionEnvironment env =
>     StreamExecutionEnvironment.getExecutionEnvironment();
>     env.getConfig().setLatencyTrackingInterval(2000);
>
>     Best,
>
>     MAtrix42
>
>


Mime
View raw message