Ability to create an Alert Groups via the public API #2762
Labels
feature request
New feature or request
part:alert flow & configuration
type/docs
Grafana Labs internal. Docs Squad label across all Grafana Labs repos
What would you like to see!
According to the docs only
get
anddelete
are supported for alert groups. It would be really useful to be able to create an ad hoc alert group via the API. This functionality is currently supported in the UI and slack slash commands.My use case is that I have application code that runs in response to events in my cloud account. I'd like the ability to trigger oncall alerts when these events occur.
example payload being used by the UI (internal API)
Product Area
Alert Flow & Configuration
Anything else to add?
Workaround
My current work around is to publish these events as a metric which can be used in an alerting rule. This works for triggering the alert but due to the nature of events (firing then shortly after returning to 0) the alert will quickly return to a healthy state without necessarily being acknowledged by the person oncall.
The text was updated successfully, but these errors were encountered: