I have an influx database some_db
with multiple measurements measurement1
, measurement2
that contain timeseries data. I want to query the sum of the most recent value of each of these.
I’ve attempted this query
> SELECT last("value") FROM "measurement1"+last("value") FROM "measurement2" fill(previous)
but get this error:
ERR: error parsing query: found +, expected ; at line 1, char 54