Swatto / promtotwilio

Send text messages for Prometheus alerts using Twilio
MIT License
33 stars 21 forks source link

Allow using a custom listen port #11

Open mattock opened 1 year ago

mattock commented 1 year ago

In our case Prometheus itself is listening on port 9090, so the default port could not be used. This PR adds support for customizing the port while retaining the backwards compatibility.

This is my first ever contribution in Go, so please point me in the right direction if the way this was implemented was not optimal.