Mark Sanborn

Mark Sanborn

@marksanborn.net

I make indie software. I’m currently working on centrallogging.com, rocketshipit.com, and more.

131 followers326 following26 posts

I just got ROI on a @levels.io style health check. I created a bot to make sure my product downloads are always available and able to run on the various OSes (important for macOS binaries that need signed). It just fired when I made an rsync --delete mistake

Today I spent an hour figuring out a good way to throttle alerts for Central Logging after I got TLS expiry alerts every 1m. I ended up using an alert tag and tag prefix duration map to specify max frequency per alert type. Is there a better way to do this?

``` // AlertTagDurations is a map of tag prefixes to durations to throttle alerts. var AlertTagDurations = map[string]time.Duration{ "website-monitor-tls-expires-": 24 * time.Hour, } ```

TIL: these types of dialogs are generated by whiptail and can easily be generated by bash scripts: `whiptail --title "Example Dialog" --msgbox "This is an example of a message box. You must hit OK to continue." 8 78`

I've been shipping one small feature/improvement a day. Yesterday I added a next button to central logging. Now you can go back too. I know it's not much but it is what I can do in an hour before the kids wake up. I'm hoping these compound.

You are up to date.