With the webhook contact point of Grafana alerting I want to trigger a Twilio flow. For this I need to add a ‘To’ and ‘From’ parameter (example in curl can be found below)
If this isn’t enough then you might want to consider filing a feature request:
for feature requests to Grafana OSS we ask the community to make a post here, in GitHub Discussions. It can then get upvoted by fellow users. Devs use this to gauge interest in new features:
I would check and make sure someone hasn’t already started a thread:
Hi! This is not possible at present, but it is something that is being discussed within the Alerting team. We haven’t decided how it should work and so I don’t have a date of when this feature might be available.
Have we made any progress on this feature? do we have any alternate approach which we can use in the meanwhile? - The idea is to Trigger Post Webhook call with certain parameters whenever an alerting situation happens.
Hi! I’m afraid we don’t have an update to share on templating webhooks in either Grafana or Alertmanager. I think the current recommendation is to run a service in between Grafana and the receiving service that can translate the JSON as required.
Infact, after trigger alert, the webhook(public api in mycase) do receive a http request , but after fetching the object, the name and data is null, it was a long string value before: