The current backend code doesn't honor the minimum interval set in the UI for alerts using the Elasticsearch data source. This means that the data the alerts are triggering against will never match the data in the visualization if auto is used in the date histogram as interval. This fixes the problem to make sure that date histogram auto interval is set according to min interval set in UI for the query or fallback to data source min interval setting. Fixes #22082 Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
Name |
Last commit
|
Last Update |
---|---|---|
.circleci | Loading commit data... | |
.github | Loading commit data... | |
conf | Loading commit data... | |
contribute | Loading commit data... | |
dashboard-schemas | Loading commit data... | |
devenv | Loading commit data... | |
docs | Loading commit data... | |
e2e | Loading commit data... | |
emails | Loading commit data... | |
grafana-mixin | Loading commit data... | |
packages | Loading commit data... | |
packaging | Loading commit data... | |
pkg | Loading commit data... | |
plugins-bundled | Loading commit data... | |
public | Loading commit data... | |
scripts | Loading commit data... | |
tools | Loading commit data... | |
.babelrc | Loading commit data... | |
.bra.toml | Loading commit data... | |
.browserslistrc | Loading commit data... | |
.dockerignore | Loading commit data... | |
.drone.star | Loading commit data... | |
.drone.yml | Loading commit data... | |
.editorconfig | Loading commit data... | |
.eslintignore | Loading commit data... | |
.eslintrc | Loading commit data... | |
.gitattributes | Loading commit data... | |
.gitignore | Loading commit data... | |
.prettierignore | Loading commit data... | |
.prettierrc.js | Loading commit data... | |
CHANGELOG.md | Loading commit data... | |
CHANGELOG_ARCHIVE.md | Loading commit data... | |
CODE_OF_CONDUCT.md | Loading commit data... | |
CONTRIBUTING.md | Loading commit data... | |
Dockerfile | Loading commit data... | |
Dockerfile.ubuntu | Loading commit data... | |
GOVERNANCE.md | Loading commit data... | |
ISSUE_TRIAGE.md | Loading commit data... | |
LICENSE | Loading commit data... | |
MAINTAINERS.md | Loading commit data... | |
Makefile | Loading commit data... | |
NOTICE.md | Loading commit data... | |
PLUGIN_DEV.md | Loading commit data... | |
README.md | Loading commit data... | |
ROADMAP.md | Loading commit data... | |
SECURITY.md | Loading commit data... | |
SUPPORT.md | Loading commit data... | |
UPGRADING_DEPENDENCIES.md | Loading commit data... | |
WORKFLOW.md | Loading commit data... | |
api-extractor.json | Loading commit data... | |
build.go | Loading commit data... | |
go.mod | Loading commit data... | |
go.sum | Loading commit data... | |
jest.config.js | Loading commit data... | |
latest.json | Loading commit data... | |
lerna.json | Loading commit data... | |
package.json | Loading commit data... | |
tsconfig.json | Loading commit data... | |
yarn.lock | Loading commit data... |