On Mon, Feb 26, 2018 at 10:02 AM, Jai Bheemsen Rao Dhanwada <
[email protected]> wrote:
> Thank you Alex,
>
> I tried "TotalHintsInProgress" already, and I don't see it sending the
> correct metrics. I used mean("TotalHintsInProgress") and I see 0 always
> on grafana.
> Do you know what is the correct way to do rate or diff for hints using
> "TotalHints"?
> I am currently using the below query
>
> SELECT mean("TotalHints_Count") FROM "cassandraStorage" WHERE $timeFilter
> GROUP BY time(10s)
>
I've never really used InfluxDB, but it seems that DIFFERENCE is what
you're looking for:
https://docs.influxdata.com/influxdb/v1.4/query_language/functions/#difference
--
Alex