grafana/pkg/services/ngalert/api
Alex Moreno 7a465f42a6
Alerting: Allow pausing alerts from provisioning (#62263)
* Allow pausing alerts from provisioning

* Update swagger

* Add IsPaused to provision export endpoints

* Add pause field in sample.yml

* Add exception for reset state in first loop iteration of scheduler if rule is paused

* Update provision definition and swagger docs

* Fix provisioning export tests

* Suggestion: Simplify if condition

* Add more context to a comment
2023-01-30 16:29:05 +01:00
..
test-data Alerting: Modify endpoint for testing a datasource rule using the UID (#48070) 2022-05-17 14:10:20 +03:00
tooling Alerting: Allow pausing alerts from provisioning (#62263) 2023-01-30 16:29:05 +01:00
api_alertmanager_guards_test.go Alerting: replace usage of simplejson to json.RawMessage in NotificationChannelConfig (#60423) 2022-12-16 13:01:06 -05:00
api_alertmanager_guards.go Alerting: replace usage of simplejson to json.RawMessage in NotificationChannelConfig (#60423) 2022-12-16 13:01:06 -05:00
api_alertmanager_test.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
api_alertmanager.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
api_configuration_test.go Chore: Fix goimports grouping in alerting (#62424) 2023-01-30 09:55:35 +01:00
api_configuration.go Chore: Fix goimports grouping in alerting (#62424) 2023-01-30 09:55:35 +01:00
api_prometheus_test_fixtures.go Alerting: Display query from grafana-managed alert rules on /api/v1/rules (#45969) 2022-03-14 10:39:20 +00:00
api_prometheus_test.go Chore: Fix goimports grouping in alerting (#62424) 2023-01-30 09:55:35 +01:00
api_prometheus.go Chore: Fix goimports grouping in alerting (#62424) 2023-01-30 09:55:35 +01:00
api_provisioning_test.go Alerting: Allow pausing alerts from provisioning (#62263) 2023-01-30 16:29:05 +01:00
api_provisioning.go Alerting: Create endpoints for exporting in provisioning file format (#58623) 2023-01-27 11:39:16 -05:00
api_ruler_test.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
api_ruler_validation_test.go Chore: Fix random indices for slices in test files (#61884) 2023-01-24 15:07:37 -03:00
api_ruler_validation.go Revert "Alerting: Add is_paused attr to the POST alert rule group endpoint" (#62310) 2023-01-27 13:41:36 +01:00
api_ruler.go Chore: Fix goimports grouping in alerting (#62424) 2023-01-30 09:55:35 +01:00
api_testing_test.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
api_testing.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
api.go AuthN: User Quota (#61540) 2023-01-16 11:54:15 +01:00
authorization_test.go Alerting: Create endpoints for exporting in provisioning file format (#58623) 2023-01-27 11:39:16 -05:00
authorization.go Alerting: Create endpoints for exporting in provisioning file format (#58623) 2023-01-27 11:39:16 -05:00
configuration.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
errors.go Alerting: Update forking request handlers to use the same errors (#52965) 2022-08-02 09:33:59 -04:00
forking_alertmanager.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
forking_prometheus.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
forking_ruler.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
generated_base_api_alertmanager.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
generated_base_api_configuration.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
generated_base_api_prometheus.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
generated_base_api_provisioning.go Alerting: Create endpoints for exporting in provisioning file format (#58623) 2023-01-27 11:39:16 -05:00
generated_base_api_ruler.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
generated_base_api_testing.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
lotex_am.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
lotex_prom.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
lotex_ruler_test.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
lotex_ruler.go Chore: Fix goimports grouping in alerting (#62424) 2023-01-30 09:55:35 +01:00
persist.go Alerting: Add alert pausing feature (#60734) 2023-01-26 18:29:10 +01:00
promql_compat_test.go Alerting/testing promql extraction (#34665) 2021-05-25 11:54:50 -04:00
promql_compat.go Chore: Fix goimports grouping in alerting (#62424) 2023-01-30 09:55:35 +01:00
provisioning.go Alerting: Create endpoints for exporting in provisioning file format (#58623) 2023-01-27 11:39:16 -05:00
testing_api.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
testing.go Chore: Fix goimports grouping in alerting (#62424) 2023-01-30 09:55:35 +01:00
util_test.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
util.go Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00