Post A81CcIn0Yuk6n8GQLY by syntax@social.privacytools.io
(DIR) More posts by syntax@social.privacytools.io
(DIR) Post #A81CcHmyHZ7RgjEseO by rysiek@mastodon.social
2021-06-06T14:55:00Z
0 likes, 0 repeats
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 sites2. I am using my own Matomo log ingester script: https://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.
(DIR) Post #A81CcILiCOuNQTUcng by rysiek@mastodon.social
2021-06-06T14:58:21Z
0 likes, 0 repeats
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.
(DIR) Post #A81CcIn0Yuk6n8GQLY by syntax@social.privacytools.io
2021-06-06T19:14:53Z
1 likes, 0 repeats
@rysiekI was also thinking of writing about my adoption of Plausible, and more generally how analytics can be done ethically.