Previously `Step` parameter would set a hard value for any zoom level. Now it's renamed to `Min step` and sets the minimal value of `step` parameter to Prometheus query. User would usually want to set it to the scraping interval of the target metric to avoid having shap cliffs on graphs and extra load on Prometheus. Actual `step` value is calculated as the minimum of automatically selected step (based on zoom level) and user provided minimal step. If user did not provide the step, then automatic value is used as is. Example bahavior for `60s` scrape intervals: * `5s` automatic interval, no user specified min step: * Before: `step=5` * After: `step=5` * `5s` automatic interval, `1m` user specified min step: * Before: `step=5` * After: `step=60` * `5m` automatic interval, `1m` user specified min step: * Before: `step=60` (not really visible, too dense) * After: `step=300` (automatic value is picked) See: * https://github.com/grafana/grafana/issues/8065 * https://github.com/prometheus/prometheus/issues/2564
Name |
Last commit
|
Last Update |
---|---|---|
.github | Loading commit data... | |
.hooks | Loading commit data... | |
conf | Loading commit data... | |
docker | Loading commit data... | |
docs | Loading commit data... | |
emails | Loading commit data... | |
examples | Loading commit data... | |
packaging | Loading commit data... | |
pkg | Loading commit data... | |
public | Loading commit data... | |
scripts | Loading commit data... | |
tasks | Loading commit data... | |
tests | Loading commit data... | |
vendor | Loading commit data... | |
.bowerrc | Loading commit data... | |
.bra.toml | Loading commit data... | |
.editorconfig | Loading commit data... | |
.floo | Loading commit data... | |
.flooignore | Loading commit data... | |
.gitignore | Loading commit data... | |
.jscs.json | Loading commit data... | |
.jsfmtrc | Loading commit data... | |
.jshintrc | Loading commit data... | |
CHANGELOG.md | Loading commit data... | |
Gruntfile.js | Loading commit data... | |
LICENSE.md | Loading commit data... | |
Makefile | Loading commit data... | |
NOTICE.md | Loading commit data... | |
README.md | Loading commit data... | |
appveyor.yml | Loading commit data... | |
bower.json | Loading commit data... | |
build.go | Loading commit data... | |
circle.yml | Loading commit data... | |
karma.conf.js | Loading commit data... | |
latest.json | Loading commit data... | |
package.json | Loading commit data... | |
tsconfig.json | Loading commit data... | |
tslint.json | Loading commit data... | |
yarn.lock | Loading commit data... |