Grafana supports ms resolution for Opentsdb

This commit is contained in:
utkarshcmu
2016-03-02 02:14:58 -08:00
parent 7e12460303
commit 48f5a61564
3 changed files with 28 additions and 6 deletions

View File

@@ -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},
];
}