Commit 89253299 by utkarshcmu

Added default opentsdb version to datasource

parent 4aa5dab6
...@@ -14,7 +14,7 @@ function (angular, _, dateMath) { ...@@ -14,7 +14,7 @@ function (angular, _, dateMath) {
this.name = instanceSettings.name; this.name = instanceSettings.name;
this.withCredentials = instanceSettings.withCredentials; this.withCredentials = instanceSettings.withCredentials;
this.basicAuth = instanceSettings.basicAuth; this.basicAuth = instanceSettings.basicAuth;
this.tsdbVersion = instanceSettings.jsonData.tsdbVersion; this.tsdbVersion = instanceSettings.jsonData.tsdbVersion || 1;
this.supportMetrics = true; this.supportMetrics = true;
this.tagKeys = {}; this.tagKeys = {};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment