You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Chesnay Schepler <ch...@apache.org> on 2022/01/10 10:38:30 UTC

Re: How to reduce interval between Uptime Metric meaasurements?

I'd suggest to double check whether you're actually scraping every 
second, or every minute.

To my knowledge the uptime metric is not periodically updated but always 
reflects the latest state when polled.

On 31/12/2021 16:37, Geldenhuys, Morgan Karl wrote:
>
> Thanks for the hint, however i am not using the prometheus push gateway.
>
>
> Regards,
>
> M.
>
> ------------------------------------------------------------------------
> *From:* Caizhi Weng <ts...@gmail.com>
> *Sent:* 28 December 2021 02:17:34
> *To:* Geldenhuys, Morgan Karl
> *Cc:* user@flink.apache.org
> *Subject:* Re: How to reduce interval between Uptime Metric 
> meaasurements?
> Hi!
>
> Have you tried metrics.reporter.promgateway.interval? See [1] for more 
> detail.
>
> [1] 
> https://nightlies.apache.org/flink/flink-docs-master/docs/deployment/metric_reporters/#prometheuspushgateway
>
> Geldenhuys, Morgan Karl <mo...@tu-berlin.de> 
> 于2021年12月28日周二 02:43写道:
>
>     Hello everyone,
>
>
>     I have a flink 1.14 job running and im looking at the uptime
>     metric (flink_jobmanager_job_uptime) together with prometheus
>     (scrape every second). It looks as if this metric is updated every
>     60 seconds, is there a way of decreasing this interval? A fixed
>     delay recovery strategy of 1s is being used. There doesnt seem to
>     be anything related to this in the configs
>     (https://nightlies.apache.org/flink/flink-docs-master/docs/deployment/config/).
>
>
>
>     Regards,
>
>     M.
>