mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 18:30:41 -06:00
48b5ac779b
* Move scope type vars to testutil package * Expose parts of state historian for use in annotation backend * Implement Loki ASH Annotation store This store will only implement the `Get` method of a RepositoryImpl since alert state history writes to Loki elsewhere. * Use interface for Loki HTTP Client * Add tests for Loki ASH Annotation store * Add missing test * Fix lint * Organize tests * Add filter tests * Improve tests * Move filter logic into outer function * Fix lint * Add comment * Fix tests * Fix lint * Rename historian store + refactor * Cleanup historian store * Fix tests * Minor cleanup * Use new `ShouldRecordAnnotation` filter * Fix logic and add tests for this check * Fix typos, remove unused variables, `< 1` -> `== 0` * More closely mimic RBAC filter from xorm to ensure correct logic * Move off weaveworks client * Address PR comments |
||
---|---|---|
.. | ||
eval_mocks | ||
context.go | ||
eval_bench_test.go | ||
eval_test.go | ||
eval.go | ||
extract_md_test.go | ||
extract_md.go | ||
testing.go |