Skip to main content


I'm thinking about rewriting my monitoring tool (currently in #Fennel) in #Rust, and using rust_lisp for "configuration".

Mainly because I want to do a few things that are considerably easier from Rust - Lua libraries for some of the things I'd like are... not quite there.
Or maybe not. Maybe I'll just recompile the whole thing when the config changes, so it can be all Rust.

Or maybe I'll just leave it as-is, because it works, and the new stuff I want... I can live without that for a while longer.
(every 5 :minutes<br><br> (local r (s/collect [:http :get] "<a href="https://trunk.mad-scientist.club/health&quot" target="_blank"><span class="invisible">https://</span><span class="ellipsis">trunk.mad-scientist.club/healt</span><span class="invisible">h&quot</span></a>;))<br><br> [{:service "healthcheck/trunk.mad-scientist.club"<br>   :state (if (= (?. r :body) "OK") :ok :fail)}])<br>


This is the kind of thing I currently do. Not sure how to translate this to Rust, it's neat this way. So I guess I'd need a Lisp-In-Rust. But that's a whole lot of data munging and whatnot.

What I'm saying is that I have enough stuff to play with, not gonna go down this rabbit hole again now.
well I started pouring metrics into #victoriametrics and trying to get anything comprehensible from #grafana. So far it looks extremely horrible, but not entirely hopeless. 😁
But at least vmalert+alertmanager can do fancy things from the data.
@grin That's way too fancy and complicated for my needs, both VictoriaMetrics and Grafana. :(
@grin
I 💓 fancy
😊
@grin To expand a bit further, all I need is a simple tool to collect some metrics periodically, push it to #riemann, which I can then query from a custom built dashboard.

No permanent metric storage, no cluster support, no scalability, no complicated filtering and data transformation, no compatibility with other systems, no ad-hoc queries, no alerts, no history. Nada. Just real-time stuff on a dashboard.

End result looks like the image attached, and this is pretty much it. I don't need more.
Screenshot of a monitoring dashboard with a bunch of pie charts (sorry, no pacman).
I see no problem with that. Apart from that it isn't FANCY! 😁
@grin Well, it is way fancier than my previous dashboard!
Screenshot of a potential-happiness dashboard.
@grin