Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[Feature Request] Make $interval available in milliseconds for math operations #6582
If I take the mean of the raw rate I get the data I want but cannot then aggregate that further (say sum of packet rate across all ports in a network device or all hosts in a cluster) because InfluxDB does not support nested queries. If I take the sum of the 'count per interval' then I get a rate per interval but have no way to normalize that to a rate per second (or some other unit of my choice).
This is probably really an InfluxDB shortcoming but is easily worked around for simple use cases by exposing something like an $intervalMs variable in Grafana.
referenced this issue
Jan 4, 2017
I believe this resolves the issue possibly but don't understand everything enough to be sure.