VMware Modern Apps Community
AbhishekSK
Hot Shot
Hot Shot

Long-Term Cumulative Sums

Some of the metrics from my services record ongoing progress towards completing a large, long-term task. While running, each instance of this service reports, among other metrics, a count of items completed. As a long-term, stateful process, it checkpoints its progress as it goes so that when restarted (or when it crashes) it can resume close to the point where it left off.

Naturally, the counter metrics it reports reset when it restarts (or crashes).

I would like a long-term sum of these counts. So far, I’ve not been able to accomplish this. I have tried applying integral to the sum of the rate of all instances, but the result is clearly not accurate.

Can someone suggest a means to track such a long-term count?

0 Kudos
1 Reply
AbhishekSK
Hot Shot
Hot Shot

Hi Randall,

Integral() over the sum() of rate() sounds like the right approach - could you please share the short URL to your chart so we could take a look and figure out why are you getting an inaccurate result? You can always send it to support@wavefront.com if you prefer not to share it here. Please let us know!

-Vasily

0 Kudos