# { { if not .Site.IsServer } } # { { template "_internal/google_analytics.html" . } } # { { template "_internal/google_analytics_async.html" . } } # { { end } }
CloudMonitoring
My Mac’s battery🔋 on Google Cloud Monitoring — send SMS if low 🪫
· ☕ 8 min read

See original article on Medium

Image Caption

This article shows how you can easily inject a generic key/value into Google Cloud Monitoring and set up alerts on it. I use it to alert on disk space, and now also low battery!

This morning I was in London, and I forgot my charger at home. With plenty of time but 🪫 little battery, I thought: hey! I need to have a way to predict when my battery is low! And I need to do it in a totally overkill way!