5 years ago
Creating a datapoint from the delta of a datapoint
Is it possible to create a datapoint from the delta of a datapoint ie current value - offset (previous) value. Its obviously possible to create a groovy complex datapoint which uses the API to get the last two available datapoints and find the delta between them but this seems ludicrously inefficient. I'm aware you can generate alerts based on offset, but even with this I cannot seem to include the delta value in the alert message. I'm ok writing the API based groovy complex datapoint but cannot help thinking there has to be a better way and I'm missing something.
Any pointer in the right direction or even confirmation it can only be done using the API will be greatly appreciated.
Ray