How to monitor the latency?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How to monitor the latency?

FatMouse
    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 | Threaded
Open this post in threaded view
|

Re: How to monitor the latency?

Marvin777
As far as I know, as for using the latency metric, only the JMXReporter now.

FLINK-7608 may be help you.

2018-02-07 11:40 GMT+08:00 FatMouse <[hidden email]>:
    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 | Threaded
Open this post in threaded view
|

Re: How to monitor the latency?

Chesnay Schepler
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 may be help you.

2018-02-07 11:40 GMT+08:00 FatMouse <[hidden email]>:
    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