grafana/pkg/services/ngalert/store
Yuriy Tseretyan 8b3b667a47
Alerting: Fix rule API to accept 0 duration of field For (#50992)
* make 'for' pointer to distinguish between missing field and 0
* set 'for' to -1 if the value is missing but not allow negative in the request + path -1 with the value from original rule
* update store validation to not allow negative 'for'
* update usages to use pointer
2022-06-30 11:46:26 -04:00
..
admin_configuration.go Alerting: Send alerts to external Alertmanager(s) (#37298) 2021-08-06 13:06:56 +01:00
alert_rule_test.go Alerting: Support for optimistic locking for alert rules (#50274) 2022-06-13 12:15:28 -04:00
alert_rule.go Alerting: Fix rule API to accept 0 duration of field For (#50992) 2022-06-30 11:46:26 -04:00
alertmanager_test.go Chore: Exclude integration tests from running on test-backend step (#50359) 2022-06-10 11:46:21 -04:00
alertmanager.go Alerting: change optimistic lock to use proper insert select (#51461) 2022-06-28 00:20:21 +02:00
database.go sqlstore: finish removing Find and SearchDashboards (#49347) 2022-05-24 09:24:55 -04:00
image_test.go Alerting: Use google/uuid instead of gofrs/uuid (#51242) 2022-06-28 11:57:24 +02:00
image.go Alerting: Use google/uuid instead of gofrs/uuid (#51242) 2022-06-28 11:57:24 +02:00
instance_database_test.go Chore: Exclude integration tests from running on test-backend step (#50359) 2022-06-10 11:46:21 -04:00
instance_database.go Alerting: Add a "Reason" to Alert Instances to show underlying cause of state. (#49259) 2022-05-23 16:49:49 +08:00
org.go Alerting: create wrapper for Alertmanager to enable org level isolation (#37320) 2021-08-24 11:28:09 +01:00
provisioning_store_test.go Drop ProvenanceOrgAdapter and build into store API instead (#48137) 2022-04-26 10:30:57 -05:00
provisioning_store.go Drop ProvenanceOrgAdapter and build into store API instead (#48137) 2022-04-26 10:30:57 -05:00
testing.go Alerting: Add first Grafana reserved label grafana_folder (#50262) 2022-06-17 13:10:49 -04:00
transactions.go Alerting: Provisioning API - Notification Policies (#46755) 2022-04-05 16:48:51 -05:00