2 years ago
This post is part of Railway's 2024 product roadmap kickoff, the Railway team spends the first week every three months sharing our thought process and concepts of what we plan to build.
Project Cheerleader: Faraz Patankar
Believe it or not, webhooks on Railway is one of the oldest features that haven't been touched in a while.
We get a lot of requests from users asking if they could add second Webhook destination in the UI (yes) - but also, we thought it would be cool if we could allow people to make it so they could configure firing Webhooks depending on certain actions performed on Railway.
Imagine being able to right click a line of log on Observability - then make it so that if you see a log print 10 times- fire a webhook to PagerDuty to raise an incident. Stuff like that.
But… that's us. What do you want to do with webhooks and how can we make them better? Thoughts?
7 Replies
2 years ago
I would love to be able to configure what events are sent to webhooks. Instead of getting four messages when deploying a new commit (BUILDING, DEPLOYING, SUCCESS, and REMOVING), it would be great to only get two notifications, one for the start and one for the completion of the deploy process.
2 years ago
Imagine being able to right click a line of log on Observability - then make it so that if you see a log print 10 times- fire a webhook to PagerDuty to raise an incident. Stuff like that.
aka log drains with extra steps :)
2 years ago
Brody, you know how to push our buttons ;)
@eejit- I see you there, and raise you, it would be really nice to alert on those webhooks from Railway, or have your project be webhook aware. I think however, this is a good base case that we could ship without us having to overthink it.
2 years ago
That would be great!
2 years ago
Ditto to eejit. We have 4 templates deploy on raliway each time we deploy, and it is SO incredibly noisy. I would only want to see a kick off (for all 4) and then a notification when it was active (the other deploy was removed) and we could expect to see the new code deployed, or notice if there was an issue or failure with one of the deployables.
2 years ago
would love this
a year ago
We shipped this for a large customer + it’s now available for everyone. Go to your project settings > webhook to use the new feature!
Status changed to Completed angelo-railway • 12 months ago
