clickhouse-grafana icon indicating copy to clipboard operation
clickhouse-grafana copied to clipboard

Ability to set a default column name for the primary time column in the datasource config. This would be used by the $timeFilter etc. macros unless overridden in the query builder

Open Slach opened this issue 2 years ago • 1 comments

Slach avatar Nov 20 '23 03:11 Slach

What would be really fantastic would be to able to define multiple default time columns which could be used in order of precedence.

For example, if the config has _time, _time64 as default time columns then the _time column would be used if found (and is a suitable type). If not, then _time64 would be searched for. In case both columns are present, then the first one in the list would be used.

oplehto avatar May 13 '24 09:05 oplehto

What would be really fantastic would be to able to define multiple default time columns which could be used in order of precedence.

@oplehto No, it will define only only one field for each related field type per connection

Slach avatar Jun 14 '24 07:06 Slach