mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
55 lines
2.2 KiB
HTML
55 lines
2.2 KiB
HTML
<h5>CloudWatch details</h5>
|
|
|
|
<div class="tight-form">
|
|
<ul class="tight-form-list">
|
|
<li class="tight-form-item" style="width: 160px">
|
|
Default Region
|
|
</li>
|
|
<li>
|
|
<input type="text" class="tight-form-input input-xlarge" ng-model='current.jsonData.defaultRegion' placeholder="" required></input>
|
|
</li>
|
|
</ul>
|
|
<ul class="tight-form-list">
|
|
<li class="tight-form-item">
|
|
Access <tip>Direct = url is used directly from browser, Proxy = Grafana backend will proxy the request</label>
|
|
</li>
|
|
<li>
|
|
<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>
|
|
</li>
|
|
</ul>
|
|
<div class="clearfix"></div>
|
|
</div>
|
|
<div class="tight-form" ng-show="current.jsonData.access === 'direct'">
|
|
<ul class="tight-form-list">
|
|
<li class="tight-form-item" style="width: 160px">
|
|
Access Key Id
|
|
</li>
|
|
<li>
|
|
<input type="text" class="tight-form-input input-xlarge" ng-model='current.jsonData.accessKeyId' placeholder="" ng-required="current.jsonData.access === 'direct'"></input>
|
|
</li>
|
|
</ul>
|
|
<div class="clearfix"></div>
|
|
</div>
|
|
<div class="tight-form" ng-show="current.jsonData.access === 'direct'">
|
|
<ul class="tight-form-list">
|
|
<li class="tight-form-item" style="width: 160px">
|
|
Secret Access Key
|
|
</li>
|
|
<li>
|
|
<input type="password" class="tight-form-input input-xlarge" ng-model='current.jsonData.secretAccessKey' placeholder="" ng-required="current.jsonData.access === 'direct'"></input>
|
|
</li>
|
|
</ul>
|
|
<div class="clearfix"></div>
|
|
</div>
|
|
<div class="tight-form last">
|
|
<ul class="tight-form-list">
|
|
<li class="tight-form-item" style="width: 160px">
|
|
Custom Metric Attributes
|
|
</li>
|
|
<li>
|
|
<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>
|
|
</li>
|
|
</ul>
|
|
<div class="clearfix"></div>
|
|
</div>
|