VMware Modern Apps Community
admin
Immortal
Immortal
Jump to solution

Function raw sum usage

As part of this dashboard: https://workday.wavefront.com/u/7P4YcqtXcW

We have a chart that has a metric expression that brings 4 time series from 4 nodes (Please Refer chart: Request Count - Tenant , under TenantMetrics section) and we used rawsum() on this expression as I want to add data points to represent it as a single aggregated time series. We report metric value per minute.

Per say: at T1 interval V1, V2, V3 and V4 are the different values reported from 4 nodes, when we use rawsum() we expected aggregated timeseries to have V1+V2+V3+V4 value at T1 interval. It looks like it is not happening, can you please check data around 08/07 3:05PM entries and let us know if there is any way to fix this? Thanks

1 Solution

Accepted Solutions
admin
Immortal
Immortal
Jump to solution

Hi Shivender,

The reason why you are not getting the expected result is that the metrics from these 4 nodes are not reporting in sync, so if you align them together should give you the result you're looking for: https://workday.wavefront.com/u/HpzC60mtf2

rawsum(align(1m, ts(...)))

Hope this helps!

-Vasily

View solution in original post

2 Replies
admin
Immortal
Immortal
Jump to solution

Hi Shivender,

The reason why you are not getting the expected result is that the metrics from these 4 nodes are not reporting in sync, so if you align them together should give you the result you're looking for: https://workday.wavefront.com/u/HpzC60mtf2

rawsum(align(1m, ts(...)))

Hope this helps!

-Vasily

admin
Immortal
Immortal
Jump to solution

Thanks!

Reply
0 Kudos