|
|
@ -1,5 +1,5 @@ |
|
|
|
<div class="gf-form-group"> |
|
|
|
<div class="gf-form-group"> |
|
|
|
<h3 class="page-heading">HTTP</h3> |
|
|
|
<h3 class="page-heading">HTTP</h3> |
|
|
|
<div class="gf-form-group"> |
|
|
|
<div class="gf-form-group"> |
|
|
|
<div class="gf-form-inline"> |
|
|
|
<div class="gf-form-inline"> |
|
|
|
<div class="gf-form max-width-30"> |
|
|
|
<div class="gf-form max-width-30"> |
|
|
@ -25,63 +25,63 @@ |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</info-popover> |
|
|
|
</info-popover> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="gf-form-inline"> |
|
|
|
<div class="gf-form-inline"> |
|
|
|
<div class="gf-form max-width-30"> |
|
|
|
<div class="gf-form max-width-30"> |
|
|
|
<span class="gf-form-label width-10">Access</span> |
|
|
|
<span class="gf-form-label width-10">Access</span> |
|
|
|
<div class="gf-form-select-wrapper max-width-24"> |
|
|
|
<div class="gf-form-select-wrapper max-width-24"> |
|
|
|
<select |
|
|
|
<select |
|
|
|
class="gf-form-input" |
|
|
|
class="gf-form-input" |
|
|
|
ng-model="ctrl.current.access" |
|
|
|
ng-model="ctrl.current.access" |
|
|
|
ng-options="f.key as f.value for f in ctrl.ACCESS_OPTIONS" |
|
|
|
ng-options="f.key as f.value for f in ctrl.ACCESS_OPTIONS" |
|
|
|
/> |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="gf-form"> |
|
|
|
<div class="gf-form"> |
|
|
|
<label class="gf-form-label query-keyword pointer" ng-click="ctrl.toggleAccessHelp()"> |
|
|
|
<label class="gf-form-label query-keyword pointer" ng-click="ctrl.toggleAccessHelp()"> |
|
|
|
Help |
|
|
|
Help |
|
|
|
<i class="fa fa-caret-down" ng-show="ctrl.showAccessHelp"></i> |
|
|
|
<i class="fa fa-caret-down" ng-show="ctrl.showAccessHelp"></i> |
|
|
|
<i class="fa fa-caret-right" ng-hide="ctrl.showAccessHelp"> </i> |
|
|
|
<i class="fa fa-caret-right" ng-hide="ctrl.showAccessHelp"> </i> |
|
|
|
</label> |
|
|
|
</label> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="grafana-info-box m-t-2" ng-show="ctrl.showAccessHelp"> |
|
|
|
<div class="grafana-info-box m-t-2" ng-show="ctrl.showAccessHelp"> |
|
|
|
<p> |
|
|
|
<p> |
|
|
|
Access mode controls how requests to the data source will be handled. |
|
|
|
Access mode controls how requests to the data source will be handled. |
|
|
|
<strong><i>Server</i></strong> access mode should be the preferred way if nothing else stated. |
|
|
|
<strong><i>Server</i></strong> access mode should be the preferred way if nothing else stated. |
|
|
|
</p> |
|
|
|
</p> |
|
|
|
<div class="alert-title">Server access mode (Default):</div> |
|
|
|
<div class="alert-title">Server access mode (Default):</div> |
|
|
|
<p> |
|
|
|
<p> |
|
|
|
All requests will be made from the browser to Grafana backend/server which in turn will |
|
|
|
All requests will be made from the browser to Grafana backend/server which in turn will |
|
|
|
forward the requests to the data source and by that circumvent possible |
|
|
|
forward the requests to the data source and by that circumvent possible |
|
|
|
Cross-Origin Resource Sharing (CORS) requirements. |
|
|
|
Cross-Origin Resource Sharing (CORS) requirements. |
|
|
|
The URL needs to be accessible from the grafana backend/server if you select this access mode. |
|
|
|
The URL needs to be accessible from the grafana backend/server if you select this access mode. |
|
|
|
</p> |
|
|
|
</p> |
|
|
|
<div class="alert-title">Browser access mode:</div> |
|
|
|
<div class="alert-title">Browser access mode:</div> |
|
|
|
<p> |
|
|
|
<p> |
|
|
|
All requests will be made from the browser directly to the data source and may be subject to |
|
|
|
All requests will be made from the browser directly to the data source and may be subject to |
|
|
|
Cross-Origin Resource Sharing (CORS) requirements. The URL needs to be accessible from the browser |
|
|
|
Cross-Origin Resource Sharing (CORS) requirements. The URL needs to be accessible from the browser |
|
|
|
if you select this access mode. |
|
|
|
if you select this access mode. |
|
|
|
</p> |
|
|
|
</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="gf-form-inline" ng-if="ctrl.current.access=='proxy'"> |
|
|
|
<div class="gf-form-inline" ng-if="ctrl.current.access=='proxy'"> |
|
|
|
<div class="gf-form"> |
|
|
|
<div class="gf-form"> |
|
|
|
<span class="gf-form-label width-10">Whitelisted Cookies</span> |
|
|
|
<span class="gf-form-label width-10">Whitelisted Cookies</span> |
|
|
|
<bootstrap-tagsinput |
|
|
|
<bootstrap-tagsinput |
|
|
|
ng-model="ctrl.current.jsonData.keepCookies" |
|
|
|
ng-model="ctrl.current.jsonData.keepCookies" |
|
|
|
width-class="width-20" tagclass="label label-tag" |
|
|
|
width-class="width-20" tagclass="label label-tag" |
|
|
|
placeholder="Add Name" |
|
|
|
placeholder="Add Name" |
|
|
|
/> |
|
|
|
/> |
|
|
|
<info-popover mode="right-absolute"> |
|
|
|
<info-popover mode="right-absolute"> |
|
|
|
Grafana Proxy deletes forwarded cookies by default. Specify cookies by name |
|
|
|
Grafana Proxy deletes forwarded cookies by default. Specify cookies by name |
|
|
|
that should be forwarded to the data source. |
|
|
|
that should be forwarded to the data source. |
|
|
|
</info-popover> |
|
|
|
</info-popover> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|