2016-02-13 19:42:05 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="gf-form-group">
|
2016-02-18 12:16:47 +01:00
|
|
|
<h3 class="page-heading">Http settings</h3>
|
2016-02-16 07:57:58 +01:00
|
|
|
|
2016-02-13 19:42:05 +01:00
|
|
|
<div class="gf-form">
|
2016-02-20 14:21:39 +01:00
|
|
|
<span class="gf-form-label width-7">Url</span>
|
2016-02-20 14:48:10 +01:00
|
|
|
<input class="gf-form-input max-width-21" type="text" ng-model='current.url' placeholder="http://my.server.com:8080" ng-pattern="/^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/" required></input>
|
2016-02-22 10:17:35 +01:00
|
|
|
|
2016-03-01 21:01:41 +01:00
|
|
|
<info-popover>
|
2016-02-22 10:17:35 +01:00
|
|
|
<p>Specify a complete HTTP url (http://your_server:8080)</p>
|
2016-02-22 11:41:50 +01:00
|
|
|
<span ng-show="current.access === 'direct'">
|
|
|
|
|
Your access method is <code>Direct</code>, this means the url
|
|
|
|
|
needs to be accessable from the browser.
|
|
|
|
|
</span>
|
|
|
|
|
<span ng-show="current.access === 'proxy'">
|
|
|
|
|
Your access method is currently <code>Proxy</code>, this means the url
|
|
|
|
|
needs to be accessable from the grafana backend.
|
|
|
|
|
</span>
|
2016-03-01 21:01:41 +01:00
|
|
|
</info-popover>
|
2016-02-10 18:14:26 -05:00
|
|
|
</div>
|
2016-02-13 19:42:05 +01:00
|
|
|
|
|
|
|
|
<div class="gf-form">
|
2016-02-20 14:21:39 +01:00
|
|
|
<span class="gf-form-label width-7">
|
2016-02-13 19:42:05 +01:00
|
|
|
Access <tip>Direct = url is used directly from browser, Proxy = Grafana backend will proxy the request</tip>
|
|
|
|
|
</span>
|
2016-02-22 11:39:11 -05:00
|
|
|
<div class="gf-form-select-wrapper">
|
|
|
|
|
<select class="gf-form-input gf-size-auto" ng-model="current.access" ng-options="f for f in ['direct', 'proxy']"></select>
|
|
|
|
|
</div>
|
2015-12-09 13:05:05 +01:00
|
|
|
</div>
|
2016-02-13 19:42:05 +01:00
|
|
|
|
|
|
|
|
<div class="gf-form">
|
2016-02-20 14:21:39 +01:00
|
|
|
<span class="gf-form-label width-7">
|
2016-02-13 19:42:05 +01:00
|
|
|
Http Auth
|
|
|
|
|
</span>
|
|
|
|
|
<editor-checkbox text="Basic Auth" model="current.basicAuth"></editor-checkbox>
|
|
|
|
|
<editor-checkbox text="With Credentials" model="current.withCredentials"></editor-checkbox><tip>Tip for with credentials</tip>
|
2016-02-15 22:24:28 +01:00
|
|
|
</div>
|
2016-02-13 19:42:05 +01:00
|
|
|
|
|
|
|
|
<div class="gf-form" ng-if="current.basicAuth">
|
2016-02-20 14:21:39 +01:00
|
|
|
<span class="gf-form-label width-7">
|
2016-02-13 19:42:05 +01:00
|
|
|
User
|
|
|
|
|
</span>
|
2016-02-20 14:48:10 +01:00
|
|
|
<input class="gf-form-input max-width-21" type="text" ng-model='current.basicAuthUser' placeholder="user" required></input>
|
2016-02-10 18:14:26 -05:00
|
|
|
</div>
|
2016-02-13 19:42:05 +01:00
|
|
|
|
|
|
|
|
<div class="gf-form" ng-if="current.basicAuth">
|
2016-02-20 14:21:39 +01:00
|
|
|
<span class="gf-form-label width-7">
|
2016-02-13 19:42:05 +01:00
|
|
|
Passord
|
|
|
|
|
</span>
|
2016-02-20 14:48:10 +01:00
|
|
|
<input class="gf-form-input max-width-21" type="password" ng-model='current.basicAuthPassword' placeholder="password" required></input>
|
2015-12-09 13:05:05 +01:00
|
|
|
</div>
|
2015-12-09 19:43:59 +09:00
|
|
|
</div>
|
2016-01-09 19:03:03 +01:00
|
|
|
|