소스 검색

stackdriver: add default value for query type

Erik Sundell 7 년 전
부모
커밋
2d14bd10f3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      public/app/plugins/datasource/stackdriver/components/TemplateQueryComponent.tsx

+ 1 - 1
public/app/plugins/datasource/stackdriver/components/TemplateQueryComponent.tsx

@@ -18,7 +18,7 @@ export class StackdriverTemplateQueryComponent extends PureComponent<TemplateQue
   ];
   ];
 
 
   defaults: TemplateQueryComponentData = {
   defaults: TemplateQueryComponentData = {
-    selectedQueryType: '',
+    selectedQueryType: this.queryTypes[0].value,
     metricDescriptors: [],
     metricDescriptors: [],
     selectedService: '',
     selectedService: '',
     selectedMetricType: '',
     selectedMetricType: '',