Operator latency metric not working in 1.9.1

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

Operator latency metric not working in 1.9.1

orips
We've been working with Flink 1.5.2 with Prometheus and ever since we upgraded to version 1.9.1 the operator latency metric is not available anymore (flink_taskmanager_job_latency_source_id_source_subtask_index_operator_id_operator_subtask_index_latency)

I've seen in the docs that this metric is still supported. Does anyone know why it happens?

Thanks



Screen Shot 2020-03-01 at 13.30.23.png (423K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Operator latency metric not working in 1.9.1

Rafi Aroch
Rafi

On Sun, Mar 1, 2020, 13:32 Ori Popowski <[hidden email]> wrote:
We've been working with Flink 1.5.2 with Prometheus and ever since we upgraded to version 1.9.1 the operator latency metric is not available anymore (flink_taskmanager_job_latency_source_id_source_subtask_index_operator_id_operator_subtask_index_latency)

I've seen in the docs that this metric is still supported. Does anyone know why it happens?

Thanks


Reply | Threaded
Open this post in threaded view
|

Re: Operator latency metric not working in 1.9.1

orips
Thanks for the response.

In 1.5 the docs also state that it should be enabled [1], however, it always
worked without setting latencyTrackingInterval

[1]
https://ci.apache.org/projects/flink/flink-docs-release-1.5/monitoring/metrics.html#latency-tracking



--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: Operator latency metric not working in 1.9.1

Gary Yao-5
Hi,

There is a release note for Flink 1.7 that could be relevant for you [1]

    Granularity of latency metrics
    The default granularity for latency metrics has been modified. To restore the previous behavior users have to explicitly set the granularity to subtask.

Best,
Gary

[1] https://ci.apache.org/projects/flink/flink-docs-release-1.10/release-notes/flink-1.7.html#granularity-of-latency-metrics

On Tue, Mar 3, 2020 at 10:14 AM orips <[hidden email]> wrote:
Thanks for the response.

In 1.5 the docs also state that it should be enabled [1], however, it always
worked without setting latencyTrackingInterval

[1]
https://ci.apache.org/projects/flink/flink-docs-release-1.5/monitoring/metrics.html#latency-tracking



--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: Operator latency metric not working in 1.9.1

orips
This post was updated on .