I am puzzled at this moment. I spent a day or three at the deep end of Influx and Grafana to get schedules that are critical to my needs. However, with the latter, I need to sum two metrics (two increment values, in a column value). Name them notifications.one and notifications.two. On the graph that I would like to display, it will work well, for a total of two, one line of the graph showing (notifications.one + notifications.two) instead of two separate ones.
I tried with the usual SELECT sum(value) fromtwo, but I don't get any data from it (what exists!). There is also merge () mentioned in the Influx documentation, but I can't get this to work.
The documentation for merging requires something like:
SELECT mean(value) FROM /notifications.*/ WHERE ...
It also returns as a flat zero line.
I hope that my question carries some weight, because I do not have enough knowledge to alleviate the problem as much as possible.
Thanks.
source
share