mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 18:30:41 -06:00
36ef611cf4
* Create recording rule fields in model * Add migration * Write to database, support in version table * extend fingerprint * Force fields to be empty on validate * Another storage spot, tests for fingerprint * Explicitly set defaults in provisioning API * Tests for main API validation * Add diff tests even though fields are unpopulated for now * Use struct tag approach instead of FromDB/ToDB hooks as it better handles nulls when deserializing * test for deser * Backout RecordTo for now since it's not decided in the doc * back out of migration too * Drop datasourceref for now * address linter complaints * Try a single outer struct with all fields embedded |
||
---|---|---|
.. | ||
alert_rule_test.go | ||
alert_rule.go | ||
alerts_sender_mock.go | ||
fetcher.go | ||
jitter_test.go | ||
jitter.go | ||
loaded_metrics_reader_test.go | ||
loaded_metrics_reader.go | ||
metrics_test.go | ||
metrics.go | ||
registry_bench_test.go | ||
registry_test.go | ||
registry.go | ||
schedule_unit_test.go | ||
schedule.go | ||
testing.go |