It’s been awhile, but I spent some time this weekend contributing to an open source project. After getting a Unifi PDU last week, I wanted to be able to see power metrics in my Grafana setup.  

Unpoller had a lot of code attempting to add support, but the main dev didn’t have hardware to test with. I pushed it the rest of the way and posted a PR:

https://github.com/unpoller/unpoller/pull/612

It was my first chance to work with Go, so that made things a little interesting.

Power usage

CategoriesUncategorized