Closed elemoine closed 7 years ago
LGTM, in the mean time we can fix this bug by adding a fill(previous): https://bugs.launchpad.net/lma-toolchain/+bug/1554993
in the mean time we can fix this bug by adding a fill(previous): https://bugs.launchpad.net/lma-toolchain/+bug/1554993
Removing the GROUP BY time
clause is a better way to fix the problem I think. GROUP_BY time
does not make too much sense here.
Removing the GROUP BY time clause is a better way to fix the problem I think. GROUP_BY time does not make too much sense here.
without group_by time you can have a bunch of data depending on the observation period!
without group_by time you can have a bunch of data depending on the observation period!
I still use "last" as the aggregation function. So the query has just one result.
I still use "last" as the aggregation function. So the query has just one result.
nevermind :)
This fixes the "Backend status ($service)" panel in the HAProxy dashboard. The InfluxDB query did not include a
WHERE
clause for thebackend
, and it included an unnecessaryGROUP BY time
clause.The commit includes other changes because I used the
format.py
script for the formatting.