I done goofed and run out of space on my @Matomo server. Visits to my sites were not being added for a while.

Thankfully:
1. I am ingesting the web server logs to Matomo, instead of having image/JS trackers on my sites
2. I am using my own Matomo log ingester script: git.rys.io/libre/log-matomnom/

It is based on the official Matomo log ingester, but heavily modified so that:
- it runs constantly and inotify-watches for files to ingest
- it handles errors more gracefully, putting failed logs aside.

So, the moment I fixed the disk issue, logs started being ingested again.

It was also trivially easy for me to just move the failed logfiles back into the inotify-watched location, and have them ingested.

Log-based analytics means I also have a nice overview of errors (4xx/5xx), something that is very hard with image/JS trackers.

I should probably blog about my general Matomo set-up.

Show thread

@rysiek
I was also thinking of writing about my adoption of Plausible, and more generally how analytics can be done ethically.

Sign in to participate in the conversation
Mastodon 🔐 privacytools.io

Fast, secure and up-to-date instance. PrivacyTools provides knowledge and tools to protect your privacy against global mass surveillance.

Website: privacytools.io
Matrix Chat: chat.privacytools.io
Support us on OpenCollective, many contributions are tax deductible!