AMG Grafana transform calculation problem


I'm trying to calculate the sum of 2 data stream values(double) in AMG (sitewise data source/disassociated data stream) and present the calculated result in a timeseries panel. I have attempted to use transform 'Add field from calculation': Using 'Mode' binary operation', operation 'datastream1 + datastream 2' without success. How can I calculate fields in AMG ? Any tips will be welcome!

asked 3 months ago32 views
1 Answer

Hi Jason,

Your issue is likely due to a different time precision in each datastream. Look at the example below.

Note the difference in offsetInNanos for timestamps 1662866820 and 1662866830. When the offset is different in each datastream, Grafana Binary operation returns a NaN.

Enter image description here Enter image description here

If this is helpful, consider accepting the answer.


answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions