Switch default version to Graphite 1.1 (#28471)

This commit is contained in:
Ivana Huckova 2020-10-22 16:20:07 +02:00 committed by GitHub
parent d6fd8e4584
commit cd8c9223b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,7 @@ export class GraphiteDatasource extends DataSourceApi<GraphiteQuery, GraphiteOpt
this.basicAuth = instanceSettings.basicAuth;
this.url = instanceSettings.url;
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.supportsTags = supportsTags(this.graphiteVersion);
this.cacheTimeout = instanceSettings.cacheTimeout;