If an alias is set to the group by field, it will be not used in the SQL request.
Will be generated in:
SELECT date_trunc('second', current_timestamp) as time, count(*) AS "metric", geohash(coordinates)
FROM "sys"."summits"
WHERE current_timestamp >= ? and current_timestamp <= ?
GROUP BY time, geohash(coordinates)
ORDER BY time, geohash(coordinates) ASC
Sorry for confused option. Group By alias works when grafana processes response. It just allows to extract part of returned group by column value using regex:
If an alias is set to the
group by
field, it will be not used in the SQL request.Will be generated in: