Commit 12ace5ab by Mitsuhiro Tanda

move queryTimeout option to common setting

parent 8ddcd670
...@@ -156,4 +156,13 @@ ...@@ -156,4 +156,13 @@
</info-popover> </info-popover>
</div> </div>
</div> </div>
<div class="gf-form-inline">
<div class="gf-form">
<span class="gf-form-label width-10">Query timeout</span>
<input type="text" class="gf-form-input width-9" ng-model="current.jsonData.queryTimeout" spellcheck='false' placeholder="60s"></input>
<info-popover mode="right-absolute">
Set the Query timeout.
</info-popover>
</div>
</div>
</div> </div>
...@@ -2,25 +2,15 @@ ...@@ -2,25 +2,15 @@
</datasource-http-settings> </datasource-http-settings>
<div class="gf-form-group"> <div class="gf-form-group">
<div class="gf-form-inline"> <div class="gf-form-inline">
<div class="gf-form"> <div class="gf-form">
<span class="gf-form-label width-8">Scrape interval</span> <span class="gf-form-label width-8">Scrape interval</span>
<input type="text" class="gf-form-input width-8" ng-model="ctrl.current.jsonData.timeInterval" spellcheck='false' placeholder="15s"></input> <input type="text" class="gf-form-input width-8" ng-model="ctrl.current.jsonData.timeInterval" spellcheck='false' placeholder="15s"></input>
<info-popover mode="right-absolute"> <info-popover mode="right-absolute">
Set this to your global scrape interval defined in your Prometheus config file. This will be used as a lower limit for the Set this to your global scrape interval defined in your Prometheus config file. This will be used as a lower limit for
Prometheus step query parameter. the Prometheus step query parameter.
</info-popover> </info-popover>
</div> </div>
</div>
<div class="gf-form-inline">
<div class="gf-form">
<span class="gf-form-label width-8">Query timeout</span>
<input type="text" class="gf-form-input width-8" ng-model="ctrl.current.jsonData.queryTimeout" spellcheck='false' placeholder="60s"></input>
<info-popover mode="right-absolute">
Set the Prometheus query timeout.
</info-popover>
</div>
</div> </div>
<div class="gf-form"> <div class="gf-form">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment