grafana/pkg/services/ngalert/models
Yuri Tseretyan f8fa5286a1
Alerting: Introduce alert rule models in storage (#93187)
* introduce storage model for alert rule tables
* remove AlertRuleVersion from models because it's not used anywhere other than in storage
* update historian xorm store to use alerting store to fetch rules

* fix folder tests

---------

Co-authored-by: Matthew Jacobson <matthew.jacobson@grafana.com>
2024-09-12 13:20:33 -04:00
..
admin_configuration_test.go Alerting: Remove url based external alertmanagers config (#57918) 2022-11-10 16:34:13 +01:00
admin_configuration.go Alerting: Remove url based external alertmanagers config (#57918) 2022-11-10 16:34:13 +01:00
alert_query_test.go Alerting: Return better error for invalid time range on alert queries (#85611) 2024-04-05 09:20:21 -05:00
alert_query.go Alerting: Return better error for invalid time range on alert queries (#85611) 2024-04-05 09:20:21 -05:00
alert_rule_test.go Alerting: Add database migration for recording rule fields (#87012) 2024-05-09 12:12:44 -05:00
alert_rule.go Alerting: Introduce alert rule models in storage (#93187) 2024-09-12 13:20:33 -04:00
alertmanager.go Chore: Simplify function signature for GetLatestAlertmanagerConfiguration (#79392) 2023-12-12 13:49:54 +01:00
constants.go Plugins: Automatically forward plugin request HTTP headers in outgoing HTTP requests (#60417) 2022-12-21 13:25:58 +01:00
errors.go Alerting: Detach condition validator from condition evaluator (#91150) 2024-07-30 10:55:37 -05:00
fingerprint.go Alerting: Support secrets in contact points nested fields (#92035) 2024-09-10 22:26:23 -04:00
history.go Chore: Move identity and errutil to apimachinery module (#89116) 2024-06-13 07:11:35 +03:00
image_test.go Alerting: Fix test fails in some environments (#58251) 2022-11-07 16:34:37 +00:00
image.go Alerting: Fix test fails in some environments (#58251) 2022-11-07 16:34:37 +00:00
instance_labels_test.go Alerting: use hash of labels instead of labels string as the alert state cache key (#88956) 2024-06-11 18:34:58 +02:00
instance_labels.go Alerting: use hash of labels instead of labels string as the alert state cache key (#88956) 2024-06-11 18:34:58 +02:00
instance_test.go Alerting: Add alert pausing feature (#60734) 2023-01-26 18:29:10 +01:00
instance.go Alerting: Persist AlertInstance ResolvedAt & LastSentAt (#89135) 2024-07-12 12:26:58 -04:00
notifications_test.go Alerting: Prevent simplified routing zero duration GroupInterval and RepeatInterval (#86561) 2024-04-18 21:08:38 -04:00
notifications.go Alerting: Time interval Delete API to check for usages in alert rules (#90500) 2024-07-17 10:53:54 -04:00
provisioning.go Alerting: Update Time Interval service to support renaming of resources (#91856) 2024-08-16 20:55:03 +03:00
receivers_test.go Alerting: Support secrets in contact points nested fields (#92035) 2024-09-10 22:26:23 -04:00
receivers.go Alerting: Support secrets in contact points nested fields (#92035) 2024-09-10 22:26:23 -04:00
silence_test.go Alerting: Add optional metadata via query param to silence GET requests (#88000) 2024-05-30 12:04:47 -04:00
silence.go Alerting: Add optional metadata via query param to silence GET requests (#88000) 2024-05-30 12:04:47 -04:00
testing.go Alerting: Receiver API complete core implementation (#91738) 2024-08-26 10:47:53 -04:00
time.go Alerting: Fix test fails in some environments (#58251) 2022-11-07 16:34:37 +00:00