grafana/pkg/tsdb/postgres
Sven Klemm b987aee7cf add timescaledb option to postgres datasource
This adds an option to the postgres datasource config for
timescaledb support. When set to auto it will check for
timescaledb when testing the datasource.

When this option is enabled the $__timeGroup macro will
use the time_bucket function from timescaledb to group
times by an interval.

This also passes the datasource edit control to testDatasource
to allow for setting additional settings, this might be useful
for other datasources aswell which have optional or version
dependant features which can be queried.
2018-08-09 10:05:35 +02:00
..
macros_test.go add timescaledb option to postgres datasource 2018-08-09 10:05:35 +02:00
macros.go add timescaledb option to postgres datasource 2018-08-09 10:05:35 +02:00
postgres_test.go add timescaledb option to postgres datasource 2018-08-09 10:05:35 +02:00
postgres.go postgres: use new sql engine 2018-07-26 18:10:17 +02:00