xingbin
xingbin

Reputation: 28289

How to track latency in flink?

In the doc, it says:

To enable the latency tracking you must set the latencyTrackingInterval to a positive number in either the Flink configuration or ExecutionConfig.

I do it as it says, then how can I get the latency value?

Upvotes: 1

Views: 710

Answers (1)

David Anderson
David Anderson

Reputation: 43707

The latency values are job metrics, which you can access via the REST API at

http://localhost:8081/jobs/<job id>/metrics

Upvotes: 2

Related Questions