diff --git a/public/app/features/plugins/ds_edit_ctrl.ts b/public/app/features/plugins/ds_edit_ctrl.ts index 597f879e980..42e4f410315 100644 --- a/public/app/features/plugins/ds_edit_ctrl.ts +++ b/public/app/features/plugins/ds_edit_ctrl.ts @@ -13,7 +13,8 @@ var defaults = { type: 'graphite', url: '', access: 'proxy', - jsonData: {} + jsonData: {}, + encryptedFields: [] }; var datasourceCreated = false; diff --git a/public/app/plugins/datasource/cloudwatch/config_ctrl.ts b/public/app/plugins/datasource/cloudwatch/config_ctrl.ts index a60cd6ae8c9..bfa12d50a65 100644 --- a/public/app/plugins/datasource/cloudwatch/config_ctrl.ts +++ b/public/app/plugins/datasource/cloudwatch/config_ctrl.ts @@ -12,6 +12,7 @@ export class CloudWatchConfigCtrl { /** @ngInject */ constructor($scope) { + debugger; this.current.jsonData.timeField = this.current.jsonData.timeField || '@timestamp'; this.current.jsonData.authType = this.current.jsonData.authType || 'credentials'; diff --git a/public/app/plugins/datasource/cloudwatch/partials/config.html b/public/app/plugins/datasource/cloudwatch/partials/config.html index a08ed8be100..c67fc44a60b 100644 --- a/public/app/plugins/datasource/cloudwatch/partials/config.html +++ b/public/app/plugins/datasource/cloudwatch/partials/config.html @@ -13,24 +13,21 @@ Credentials profile name, as specified in ~/.aws/credentials, leave blank for default +
+ +