mirror of
https://github.com/grafana/grafana.git
synced 2024-11-23 09:26:43 -06:00
b987aee7cf
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. |
||
---|---|---|
.. | ||
macros_test.go | ||
macros.go | ||
postgres_test.go | ||
postgres.go |