The frequency flink push metrics to pushgateway?

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

The frequency flink push metrics to pushgateway?

wanglei2@geekplus.com

Using prometheus and pushgateway to monitor my flink cluster.

For self defined  metrics, counter.inc() will be called for every invoke method

I want to know when the actual  counter number is pushed to pushgateway?
Is is a fixed frequency?  If i can set the frequency?
 

Thanks,
Lei

Reply | Threaded
Open this post in threaded view
|

Re: The frequency flink push metrics to pushgateway?

Chesnay Schepler
You can configure the reporter interval; please see this example.

On 28/08/2020 08:49, [hidden email] wrote:

Using prometheus and pushgateway to monitor my flink cluster.

For self defined  metrics, counter.inc() will be called for every invoke method

I want to know when the actual  counter number is pushed to pushgateway?
Is is a fixed frequency?  If i can set the frequency?
 

Thanks,
Lei