mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting for prometheus have been depending on the step parameter from each query. In https://github.com/grafana/grafana/pull/9226 we changed the behavior for step in the frontend which caused problems for alerting. This commit fixes that by introducing a default min interval value so alerting always have something to depend on. closes #9777
17 lines
668 B
HTML
17 lines
668 B
HTML
<datasource-http-settings current="ctrl.current" suggest-url="http://localhost:9090">
|
|
</datasource-http-settings>
|
|
|
|
<div class="gf-form-group">
|
|
<div class="gf-form-inline">
|
|
<div class="gf-form">
|
|
<span class="gf-form-label">Scrape interval</span>
|
|
<input type="text" class="gf-form-input width-6" ng-model="ctrl.current.jsonData.timeInterval" spellcheck='false' placeholder="15s"></input>
|
|
<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 Prometheus step query parameter.
|
|
</info-popover>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|