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 <934336...@qq.com <mailto:934336...@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



Reply via email to