Is it OK to use Matomo to track server side stats?

We started writing our own little analytics thing for server-side things on our website, but then realized that Matomo already provides most of what we were designing. Is it crazy to track a variety of other stats in Matomo that relate to server-side events?

I’m thinking stuff like, “50 Errors in the foogarg pipeline today”.

If that’s a reasonable idea, what’s the right API to do this with? I looked at Event Tracking, which felt about right, but also a bit like a shoehorn. Is there a better way?

Thanks as always. I’m loving the latest Matomo.