I have two metrics, Counters to be precise, lets say they are called
- NumberOfVisitors
- NumberOfLogins
In grafana I would like to plot is the number-of-logins divided by the number of visitors (or the other way around) over time. So I tried
rate(NumberOfLogins) / rate(NumberOfVisitors)
but this results in an error
Error executing query: invalid parameter 'query': parse error at char 46: expected type range vector in call to function "rate", got instant vector
I'm not sure what all that means. Hopefully something like this is possible. Any help would be appreciated