@@ -9,46 +9,53 @@ <h5>CloudWatch details</h5>
9
9
< input type ="text " class ="tight-form-input input-xlarge " ng-model ='current.jsonData.defaultRegion ' placeholder ="" required > </ input >
10
10
</ li >
11
11
</ ul >
12
- < ul class ="tight-form-list ">
13
- < li class ="tight-form-item ">
14
- Access < tip > Direct = url is used directly from browser, Proxy = Grafana backend will proxy the request</ label >
15
- </ li >
16
- < li >
17
- < select class ="input-small tight-form-input " ng-model ="current.jsonData.access " ng-options ="f for f in ['direct', 'proxy'] " ng-init ="current.jsonData.access = current.jsonData.access || 'direct' "> </ select >
18
- </ li >
19
- </ ul >
20
- < div class ="clearfix "> </ div >
21
- </ div >
22
- < div class ="tight-form " ng-show ="current.jsonData.access === 'direct' ">
23
- < ul class ="tight-form-list ">
24
- < li class ="tight-form-item " style ="width: 160px ">
25
- Access Key Id
26
- </ li >
27
- < li >
28
- < input type ="text " class ="tight-form-input input-xlarge " ng-model ='current.jsonData.accessKeyId ' placeholder ="" ng-required ="current.jsonData.access === 'direct' "> </ input >
29
- </ li >
30
- </ ul >
31
- < div class ="clearfix "> </ div >
32
- </ div >
33
- < div class ="tight-form " ng-show ="current.jsonData.access === 'direct' ">
34
- < ul class ="tight-form-list ">
35
- < li class ="tight-form-item " style ="width: 160px ">
36
- Secret Access Key
37
- </ li >
38
- < li >
39
- < input type ="password " class ="tight-form-input input-xlarge " ng-model ='current.jsonData.secretAccessKey ' placeholder ="" ng-required ="current.jsonData.access === 'direct' "> </ input >
40
- </ li >
41
- </ ul >
42
- < div class ="clearfix "> </ div >
43
- </ div >
44
- < div class ="tight-form last ">
45
- < ul class ="tight-form-list ">
46
- < li class ="tight-form-item " style ="width: 160px ">
47
- Custom Metric Attributes
48
- </ li >
49
- < li >
50
- < input type ="text " class ="tight-form-input input-xlarge " ng-model ='current.jsonData.customMetricsAttributes[0] ' ng-init ="current.jsonData.customMetricsAttributes = current.jsonData.customMetricsAttributes || [] " placeholder ="JSON url " bs-tooltip ="'Set JSON url of the result, \'aws cloudwatch list-metrics --output json\'' "> </ input >
51
- </ li >
52
- </ ul >
53
12
< div class ="clearfix "> </ div >
54
13
</ div >
14
+
15
+ <!-- <div class="tight-form" ng-show="current.jsonData.access === 'direct'"> -->
16
+ <!-- <ul class="tight-form-list"> -->
17
+ <!-- <li class="tight-form-item" style="width: 160px"> -->
18
+ <!-- </li> -->
19
+ <!-- <li> -->
20
+ <!-- <input type="text" class="tight-form-input input-xlarge" ng-model='current.jsonData.accessKeyId' placeholder=""></input> -->
21
+ <!-- </li> -->
22
+ <!-- </ul> -->
23
+ <!-- <div class="clearfix"></div> -->
24
+ <!-- </div> -->
25
+ <!-- <div class="tight-form" ng-show="current.jsonData.access === 'direct'"> -->
26
+ <!-- <ul class="tight-form-list"> -->
27
+ <!-- <li class="tight-form-item" style="width: 160px"> -->
28
+ <!-- Access Key Id -->
29
+ <!-- </li> -->
30
+ <!-- <li> -->
31
+ <!-- <input type="text" class="tight-form-input input-xlarge" ng-model='current.jsonData.accessKeyId' placeholder=""></input> -->
32
+ <!-- </li> -->
33
+ <!-- </ul> -->
34
+ <!-- <div class="clearfix"></div> -->
35
+ <!-- </div> -->
36
+ <!-- <div class="tight-form" ng-show="current.jsonData.access === 'direct'"> -->
37
+ <!-- <ul class="tight-form-list"> -->
38
+ <!-- <li class="tight-form-item" style="width: 160px"> -->
39
+ <!-- Secret Access Key -->
40
+ <!-- </li> -->
41
+ <!-- <li> -->
42
+ <!-- <input type="password" class="tight-form-input input-xlarge" ng-model='current.jsonData.secretAccessKey' placeholder=""></input> -->
43
+ <!-- </li> -->
44
+ <!-- </ul> -->
45
+ <!-- <div class="clearfix"></div> -->
46
+ <!-- </div> -->
47
+
48
+ <!-- <div class="tight-form last"> -->
49
+ <!-- <ul class="tight-form-list"> -->
50
+ <!-- <li class="tight-form-item" style="width: 160px"> -->
51
+ <!-- Custom Metric Attributes -->
52
+ <!-- </li> -->
53
+ <!-- <li> -->
54
+ <!-- <input type="text" class="tight-form-input input-xlarge" -->
55
+ <!-- ng-model='current.jsonData.customMetricsAttributes[0]' -->
56
+ <!-- ng-init="current.jsonData.customMetricsAttributes = current.jsonData.customMetricsAttributes || []" placeholder="JSON url" bs-tooltip="'Set JSON url of the result, \'aws cloudwatch list-metrics --output json\''"> -->
57
+ <!-- </input> -->
58
+ <!-- </li> -->
59
+ <!-- </ul> -->
60
+ <!-- <div class="clearfix"></div> -->
61
+ <!-- </div> -->
0 commit comments