I am trying to achieve something that seems simple and, I would guess, possible in InfluxDB.
I have two measurements (both counters): MessagesReceived and MessagesProduced. What I want is to calculate the ratio in between produced and received. So I am looking for a query that looks like this:
select A.value / B.value from MessagesProduced as A, MessagesReceived as B
Naively speaking, seems to be simple and straightforward. But I couldn’t find a way to make it work with InfluxDB. So, my questions are:
- Is it possible to do something like this in InfluxDB?
- If not, is there a workaround?
- If yes, how?