From a028df658a1425d5035fca72a58e532276266916 Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Thu, 27 Sep 2018 15:42:01 +0200 Subject: [PATCH] stackdriver: set first metric as selected if no metric could be retrieved from the target --- .../plugins/datasource/stackdriver/annotations_query_ctrl.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/public/app/plugins/datasource/stackdriver/annotations_query_ctrl.ts b/public/app/plugins/datasource/stackdriver/annotations_query_ctrl.ts index 407707ed779..bccac02bf38 100644 --- a/public/app/plugins/datasource/stackdriver/annotations_query_ctrl.ts +++ b/public/app/plugins/datasource/stackdriver/annotations_query_ctrl.ts @@ -1,5 +1,4 @@ import _ from 'lodash'; - import './query_filter_ctrl'; export class StackdriverAnnotationsQueryCtrl { @@ -16,7 +15,7 @@ export class StackdriverAnnotationsQueryCtrl { name: 'loading project...', }, metricType: this.defaultDropdownValue, - metricService: this.defaultServiceValue, + service: this.defaultServiceValue, metric: '', filters: [], metricKind: '',