mirror of
https://github.com/grafana/grafana.git
synced 2024-11-27 03:11:01 -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. |
||
---|---|---|
.. | ||
cloudwatch | ||
elasticsearch | ||
graphite | ||
influxdb | ||
mssql | ||
mysql | ||
opentsdb | ||
postgres | ||
prometheus | ||
testdata | ||
fake_test.go | ||
interval_test.go | ||
interval.go | ||
models.go | ||
query_endpoint.go | ||
request.go | ||
sql_engine_test.go | ||
sql_engine.go | ||
time_range_test.go | ||
time_range.go | ||
tsdb_test.go |