MaRDI4NFDI / portal-compose

docker-composer repo for mardi
https://portal.mardi4nfdi.de
GNU General Public License v3.0
3 stars 1 forks source link

[Epic] Metrics for mediawiki/wikibase #189

Closed dajuno closed 8 months ago

dajuno commented 2 years ago

wiki metrics such as number of items/pages etc should be tracked for prometheus/grafana, or, alternatively, statsd+graphite.

TODO:

Metrics scraper and visualization:

List of services of interest:

Metrics for our own tools:

see https://grafana.wikimedia.org/ for inspiration very rough statistics can be found here: https://portal.mardi4nfdi.de/wiki/Special:Statistics

Hyper-Node commented 2 years ago

Olaf: (für Bibliothekare) Subscription Zugriffszahlen, Wieviele Nutzer/Institutionen sind dabei (nach Ländern), DSGVO abwägen. Johannes (Idee): Heatmaps, weg durch die Dokumente per Nutzer

dajuno commented 2 years ago

https://plausible.io/ looks pretty nice actually, especially from a privacy perspective. quote "P.S. We're completely independent, self-funded, bootstrapped and debt-free. We're not interested in raising funds or taking investment. We choose the subscription business model rather than surveillance capitalism." && "No cookies and fully compliant with GDPR, CCPA and PECR. Made and hosted in the EU, powered by European-owned cloud infrastructure" && open source self-hosted version is completely free

dajuno commented 1 year ago

as suggested by Tim, a log analyzer might be a more adequate choice, since we have access to the apache logs. hence, installed goaccess.io

physikerwelt commented 1 year ago

I would like to give mamoto a shot. In theory the main problem will be to tell mw the IP of traefik so that it trusts it's XFF IP forward headers. https://m.mediawiki.org/wiki/Manual:$wgCdnServers Maybe we need a persistent IP if the server name does not work. Otherwise it seems straight forward. See https://github.com/matomo-org/docker and https://m.mediawiki.org/wiki/Extension:MatomoAnalytics