From 40bb3551cf89fd5f5959ba3610e75545cccdbb9b Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Thu, 1 Nov 2018 13:31:01 +0100 Subject: [PATCH] stackdriver: return correct value --- .../datasource/stackdriver/StackdriverMetricFindQuery.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/plugins/datasource/stackdriver/StackdriverMetricFindQuery.ts b/public/app/plugins/datasource/stackdriver/StackdriverMetricFindQuery.ts index 5a41efd3885..dd7fe6a22e3 100644 --- a/public/app/plugins/datasource/stackdriver/StackdriverMetricFindQuery.ts +++ b/public/app/plugins/datasource/stackdriver/StackdriverMetricFindQuery.ts @@ -56,7 +56,7 @@ export default class StackdriverMetricFindQuery { const metricDescriptors = await this.datasource.getMetricTypes(this.datasource.projectName); return getMetricTypesByService(metricDescriptors, selectedService).map(s => ({ text: s.displayName, - value: s.name, + value: s.type, expandable: true, })); }