Swatto / promtotwilio

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

Support sending alerts to multiple SMS numbers #12

Open mattock opened 1 year ago

mattock commented 1 year ago

This is done by creating a new struct based on sendOptions but with identical data. This is required to avoid the same data structure in memory getting modified in the for loop before SMS messages are sent - end result of which would be sending all the SMS messages to the last receiver on the list.