Making sense of Meter metrics graph on Grafana

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

Making sense of Meter metrics graph on Grafana

Manish G
I have added Meter metrics to my flink job code,and in grafana I can see the graph for the same.

What I observe is that the graph initially rises, and then plateaus at 1, with occasional variations.

As Meter calculates throughput, so does it mean that the map function, wherein I invoke markEvent() method on Meter instance, is getting completed once per second?

With regards

Reply | Threaded
Open this post in threaded view
|

Re: Making sense of Meter metrics graph on Grafana

Chesnay Schepler
Yes; a rate of 1 means that 1 event occurred per second, which in your
case means one call to markEvent() per second.

Note that the default Meter implementation calculates the rate per
second over the last minute (basically, rate(T) = (count(T) -
count(T-60)) / 60; so short spikes tend to be flattened quite a bit.

On 29/07/2020 15:13, Manish G wrote:

> I have added Meter metrics to my flink job code,and in grafana I can
> see the graph for the same.
>
> What I observe is that the graph initially rises, and then plateaus at
> 1, with occasional variations.
>
> As Meter calculates throughput, so does it mean that the map function,
> wherein I invoke markEvent() method on Meter instance, is getting
> completed once per second?
>
> With regards
>

Reply | Threaded
Open this post in threaded view
|

Re: Making sense of Meter metrics graph on Grafana

Manish G
Thanks. Got it.

With regards

On Wed, Jul 29, 2020 at 8:18 PM Chesnay Schepler <[hidden email]> wrote:
Yes; a rate of 1 means that 1 event occurred per second, which in your
case means one call to markEvent() per second.

Note that the default Meter implementation calculates the rate per
second over the last minute (basically, rate(T) = (count(T) -
count(T-60)) / 60; so short spikes tend to be flattened quite a bit.

On 29/07/2020 15:13, Manish G wrote:
> I have added Meter metrics to my flink job code,and in grafana I can
> see the graph for the same.
>
> What I observe is that the graph initially rises, and then plateaus at
> 1, with occasional variations.
>
> As Meter calculates throughput, so does it mean that the map function,
> wherein I invoke markEvent() method on Meter instance, is getting
> completed once per second?
>
> With regards
>