commit | 2d4945d648fb7400815052b3aa4f4b0dee5fb947 | [log] [tgz] |
---|---|---|
author | Éric Lemoine <elemoine@mirantis.com> | Wed Nov 30 09:03:08 2016 +0000 |
committer | Éric Lemoine <elemoine@mirantis.com> | Wed Nov 30 09:06:16 2016 +0000 |
tree | 86fd544aeeee13c5ca4f8e96d5f10bc127047ed4 | |
parent | af37e09a42a3c41caeab44d2f5e4199e7a4dc2e1 [diff] |
Remove "group by" in queries when not necessary This removes the "group by" clause in InfluxDB queries when not necessary. Without the "group by" clause, and by still using the "last" aggregation function, only one result is returned by InfluxDB, resulting in faster queries. Change-Id: Icb5a809634e0b00680af1d2602fc2303928ee519