grafana/pkg/services/ngalert/api/tooling
George Robinson 3ca00f90b5
Contact point testing (#37308)
This commit adds contact point testing to ngalerts via a new API
endpoint. This endpoint accepts JSON containing a list of
receiver configurations which are validated and then tested
with a notification for a test alert. The endpoint returns JSON
for each receiver with a status and error message. It accepts
a configurable timeout via the Request-Timeout header (in seconds)
up to a maximum of 30 seconds.
2021-08-17 13:49:05 +01:00
..
cmd/clean-swagger Fix/ngalert generation (#33172) 2021-04-20 13:12:32 -04:00
definitions Contact point testing (#37308) 2021-08-17 13:49:05 +01:00
swagger-codegen/templates Alerting/metrics (#33547) 2021-04-30 12:28:06 -04:00
index.html Inhouse alerting api (#33129) 2021-04-19 14:26:04 -04:00
Makefile Alerting: Fix API spec generation (#37852) 2021-08-13 16:15:53 +03:00
post.json Alerting: Fix API spec generation (#37852) 2021-08-13 16:15:53 +03:00
README.md Inhouse alerting api (#33129) 2021-04-19 14:26:04 -04:00
spec.json Contact point testing (#37308) 2021-08-17 13:49:05 +01:00

What

view api

This aims to define the unified alerting API as code. It generates OpenAPI definitions from go structs

Running

make openapi

Requires