Commit cd8c9223 by Ivana Huckova Committed by GitHub

Switch default version to Graphite 1.1 (#28471)

parent d6fd8e45
...@@ -38,7 +38,7 @@ export class GraphiteDatasource extends DataSourceApi<GraphiteQuery, GraphiteOpt ...@@ -38,7 +38,7 @@ export class GraphiteDatasource extends DataSourceApi<GraphiteQuery, GraphiteOpt
this.basicAuth = instanceSettings.basicAuth; this.basicAuth = instanceSettings.basicAuth;
this.url = instanceSettings.url; this.url = instanceSettings.url;
this.name = instanceSettings.name; this.name = instanceSettings.name;
this.graphiteVersion = instanceSettings.jsonData.graphiteVersion || '0.9'; this.graphiteVersion = instanceSettings.jsonData.graphiteVersion || '1.1';
this.isMetricTank = instanceSettings.jsonData.graphiteType === GraphiteType.Metrictank; this.isMetricTank = instanceSettings.jsonData.graphiteType === GraphiteType.Metrictank;
this.supportsTags = supportsTags(this.graphiteVersion); this.supportsTags = supportsTags(this.graphiteVersion);
this.cacheTimeout = instanceSettings.cacheTimeout; this.cacheTimeout = instanceSettings.cacheTimeout;
......
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