grafana/pkg/services/ngalert/api
Santiago 09f8e026a1
Alerting: Expose info about notification delivery errors in a new /receivers endpoint (#55429)
* (WIP) switch to fork AM, first implementation of the API, generate spec

* get receivers avoiding race conditions

* use latest version of our forked AM, tests

* make linter happy, delete TODO comment

* update number of expected paths to += 2

* delete unused endpoint code, code review comments, tests

* Update pkg/services/ngalert/notifier/alertmanager.go

Co-authored-by: Matthew Jacobson <matthew.jacobson@grafana.com>

* remove call to fmt.Println

* clear naming for fields

* shorter variable names in GetReceivers

Co-authored-by: Matthew Jacobson <matthew.jacobson@grafana.com>
2022-10-03 10:58:41 -03: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: Expose info about notification delivery errors in a new /receivers endpoint (#55429) 2022-10-03 10:58:41 -03:00
api_alertmanager_guards_test.go Alerting: Add provenance guard to config api (#50147) 2022-06-04 14:55:46 +02:00
api_alertmanager_guards.go Alerting: Add provenance guard to config api (#50147) 2022-06-04 14:55:46 +02:00
api_alertmanager_test.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
api_alertmanager.go Alerting: Expose info about notification delivery errors in a new /receivers endpoint (#55429) 2022-10-03 10:58:41 -03:00
api_configuration_test.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
api_configuration.go Alerting: New API endpoint GET /api/v1/ngalert (#55134) 2022-09-14 14:03:10 -04: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 Alerting: Move fake rule store to the test utilities package (#56062) 2022-09-30 14:36:51 -05:00
api_prometheus.go Alerting: Break up store.RuleStore interface, delete dead code (#55776) 2022-09-27 08:56:30 -05:00
api_provisioning_test.go Fix incorrect propagation of org ID in rule endpionts (#54603) 2022-09-06 14:51:54 -05:00
api_provisioning.go Fix incorrect propagation of org ID in rule endpionts (#54603) 2022-09-06 14:51:54 -05:00
api_ruler_test.go Alerting: Move fake rule store to the test utilities package (#56062) 2022-09-30 14:36:51 -05:00
api_ruler_validation_test.go Rename Acl to ACL (#52342) 2022-07-18 15:14:58 +02:00
api_ruler_validation.go Alerting: Improve validation of query and expressions on rule submit (#53258) 2022-09-21 15:14:11 -04:00
api_ruler.go Alerting: Move stray model structs in store package to model package (#55968) 2022-09-29 15:47:56 -05:00
api_testing_test.go Alerting: Improve validation of query and expressions on rule submit (#53258) 2022-09-21 15:14:11 -04:00
api_testing.go Alerting: Improve validation of query and expressions on rule submit (#53258) 2022-09-21 15:14:11 -04:00
api.go Alerting: Expose info about notification delivery errors in a new /receivers endpoint (#55429) 2022-10-03 10:58:41 -03:00
authorization_test.go Alerting: Expose info about notification delivery errors in a new /receivers endpoint (#55429) 2022-10-03 10:58:41 -03:00
authorization.go Alerting: Expose info about notification delivery errors in a new /receivers endpoint (#55429) 2022-10-03 10:58:41 -03:00
configuration.go Alerting: New API endpoint GET /api/v1/ngalert (#55134) 2022-09-14 14:03:10 -04: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 Alerting: Expose info about notification delivery errors in a new /receivers endpoint (#55429) 2022-10-03 10:58:41 -03:00
forking_prometheus.go Alerting: Update forking request handlers to use the same errors (#52965) 2022-08-02 09:33:59 -04:00
forking_ruler.go Alerting: Update forking request handlers to use the same errors (#52965) 2022-08-02 09:33:59 -04:00
generated_base_api_alertmanager.go Alerting: Expose info about notification delivery errors in a new /receivers endpoint (#55429) 2022-10-03 10:58:41 -03:00
generated_base_api_configuration.go Alerting: New API endpoint GET /api/v1/ngalert (#55134) 2022-09-14 14:03:10 -04:00
generated_base_api_prometheus.go Alerting: Refactor API types generation with different names. (#51785) 2022-07-18 03:08:08 -04:00
generated_base_api_provisioning.go Alerting: Extend PUT rule-group route to write the entire rule group rather than top-level fields only (#53078) 2022-08-10 12:33:41 -05:00
generated_base_api_ruler.go Alerting: Refactor API types generation with different names. (#51785) 2022-07-18 03:08:08 -04:00
generated_base_api_testing.go Alerting: Refactor API types generation with different names. (#51785) 2022-07-18 03:08:08 -04:00
lotex_am.go backend/datasources: move datasources models into the datasources service package (#51267) 2022-06-27 12:23:15 -04:00
lotex_prom.go Alerting: modify prometheus endpoints for proxying using the datasource UID (#48052) 2022-05-06 15:05:02 -04:00
lotex_ruler_test.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
lotex_ruler.go Alerting: Code-gen parsing of URL parameters and fix related bugs (#50731) 2022-06-23 15:13:39 -05:00
persist.go Alerting: Move stray model structs in store package to model package (#55968) 2022-09-29 15:47:56 -05:00
promql_compat_test.go Alerting/testing promql extraction (#34665) 2021-05-25 11:54:50 -04:00
promql_compat.go Alerting: check upstream response content type in lotex proxy (#34760) 2021-05-27 14:12:29 +03:00
provisioning.go Alerting: Extend PUT rule-group route to write the entire rule group rather than top-level fields only (#53078) 2022-08-10 12:33:41 -05:00
testing_api.go Alerting: Refactor API types generation with different names. (#51785) 2022-07-18 03:08:08 -04:00
testing.go Alerting: Remove mis-behaving fake and fix masked test failure in AM config API (#47747) 2022-04-13 19:31:57 -05:00
util_test.go Alerting: Update rules delete endpoint to handle rules in group (#53790) 2022-08-24 15:33:33 -04:00
util.go Alerting: Improve validation of query and expressions on rule submit (#53258) 2022-09-21 15:14:11 -04:00