You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an alert is submitted to inbound integration webhook API (i.e. the formatted webhook), the response is simply a plain text Ok. This makes it difficult to find the identifying details for the alert via the OnCall API.
We have an internal alerting system where urgent alerts are synchronised to OnCall. The OnCall alert group id is stored in our internal system after the alert has been submitted to OnCall. What we are doing now is quite convoluted:
Submit the alert using a formatted webhook call. We include an internal id in the alert details.
Make a OnCall alert search API call using the internal id to find the OnCall alert details.
Make another OnCall API request to map the alert id to the alert group id.
Store the alert group id against the alert in our internal system.
It would be much more efficient if the formatted webhook API returned the alert id and alert group id at submission time.
Product Area
Alert Flow & Configuration
Anything else to add?
No response
The text was updated successfully, but these errors were encountered:
The current version of Grafana OnCall, at the time this issue was opened, is v1.3.105. If your issue pertains to an older version of Grafana OnCall, please be sure to list it in the PR description. Thank you 😄!
have you considered setting up an Outgoing Webhook with the "Alert Group Created" event type? (docs)
We don't have any plans to modify the response for incoming alerts. This is because the actual alert creation is done asynchronously. Therefore it is not possible to know these ids at response time.
What would you like to see!
When an alert is submitted to inbound integration webhook API (i.e. the formatted webhook), the response is simply a plain text
Ok
. This makes it difficult to find the identifying details for the alert via the OnCall API.We have an internal alerting system where urgent alerts are synchronised to OnCall. The OnCall alert group id is stored in our internal system after the alert has been submitted to OnCall. What we are doing now is quite convoluted:
It would be much more efficient if the formatted webhook API returned the alert id and alert group id at submission time.
Product Area
Alert Flow & Configuration
Anything else to add?
No response
The text was updated successfully, but these errors were encountered: