mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Grafana supports ms resolution for Opentsdb
This commit is contained in:
@@ -11,6 +11,7 @@ export class OpenTsConfigCtrl {
|
||||
constructor($scope) {
|
||||
this.current.jsonData = this.current.jsonData || {};
|
||||
this.current.jsonData.tsdbVersion = this.current.jsonData.tsdbVersion || 1;
|
||||
this.current.jsonData.tsdbResolution = this.current.jsonData.tsdbResolution || 1;
|
||||
}
|
||||
|
||||
tsdbVersions = [
|
||||
@@ -18,4 +19,9 @@ export class OpenTsConfigCtrl {
|
||||
{name: '2.2', value: 2},
|
||||
];
|
||||
|
||||
tsdbResolutions = [
|
||||
{name: 'second', value: 1},
|
||||
{name: 'millisecond', value: 2},
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user