[Alerting] Forking alert manager API (#32300)
* Alertmanager lotex ruler * Apply suggestions from code review
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
@lokiDatasourceID = 32
|
||||
@prometheusDatasourceID = 875
|
||||
@grafana = grafana
|
||||
|
||||
# unsupported loki backend
|
||||
GET http://admin:admin@localhost:3000/alertmanager/{{lokiDatasourceID}}/config/api/v1/alerts
|
||||
|
||||
###
|
||||
# unsupported cortex backend
|
||||
GET http://admin:admin@localhost:3000/alertmanager/{{prometheusDatasourceID}}/config/api/v1/alerts
|
||||
|
||||
###
|
||||
# grafana requests
|
||||
GET http://admin:admin@localhost:3000/alertmanager/{{grafana}}/config/api/v1/alerts
|
||||
|
||||
###
|
||||
DELETE http://admin:admin@localhost:3000/alertmanager/{{grafana}}/config/api/v1/alerts
|
||||
|
||||
###
|
||||
POST http://admin:admin@localhost:3000/alertmanager/{{grafana}}/config/api/v1/alerts
|
||||
content-type: application/json
|
||||
|
||||
< ./post-user-config.json
|
||||
|
||||
###
|
||||
POST http://admin:admin@localhost:3000/alertmanager/{{grafana}}/api/v2/silences
|
||||
content-type: application/json
|
||||
|
||||
< ./post-silence-data.json
|
||||
|
||||
###
|
||||
GET http://admin:admin@localhost:3000/alertmanager/{{grafana}}/api/v2/silences
|
||||
Reference in New Issue
Block a user