mirror of
https://github.com/grafana/grafana.git
synced 2025-09-21 11:03:10 +08:00
Add min time interval to postgres datasource
This commit is contained in:
@ -8,6 +8,7 @@ export class PostgresDatasource {
|
||||
jsonData: any;
|
||||
responseParser: ResponseParser;
|
||||
queryModel: PostgresQuery;
|
||||
interval: string;
|
||||
|
||||
/** @ngInject */
|
||||
constructor(instanceSettings, private backendSrv, private $q, private templateSrv, private timeSrv) {
|
||||
@ -16,6 +17,7 @@ export class PostgresDatasource {
|
||||
this.jsonData = instanceSettings.jsonData;
|
||||
this.responseParser = new ResponseParser(this.$q);
|
||||
this.queryModel = new PostgresQuery({});
|
||||
this.interval = instanceSettings.jsonData.timeInterval;
|
||||
}
|
||||
|
||||
interpolateVariable(value, variable) {
|
||||
|
Reference in New Issue
Block a user