mirror of
https://github.com/grafana/grafana.git
synced 2025-08-06 20:59:35 +08:00
modify $__timeGroup macro so it can be used in select clause (#9527)
* modify $__timeGroup macro so it can be used in select clause * fix $__interval_ms for postgres datasource * use $__timeGroup macro in documentation * fix annotation template query remove title since its no longer used and add tags instead * change __timeFilter macro to work on postgresql < 8.1 and redshift
This commit is contained in:
@ -16,8 +16,8 @@ class PostgresConfigCtrl {
|
||||
|
||||
const defaultQuery = `SELECT
|
||||
extract(epoch from time_column) AS time,
|
||||
title_column as title,
|
||||
description_column as text
|
||||
text_column as text,
|
||||
tags_column as tags
|
||||
FROM
|
||||
metric_table
|
||||
WHERE
|
||||
|
Reference in New Issue
Block a user