NixOS / nixos-homepage

Sources for nixos.org
https://nixos.org
309 stars 317 forks source link

get usage statistics #880

Open fricklerhandwerk opened 2 years ago

fricklerhandwerk commented 2 years ago

We could better direct our efforts for marketing and documentation if we knew which material people interact with most. This has been asked for in many discussions already, and we still do not have progress.

Aggregate usage statistics for individual pages on

and the cache.nixos.org traffic. @edolstra

Related: Nix Marketing team: Collecting metrics

It would be great if we could coordinate to make the data available in a single place for everyone to see and make use of.

nixos-discourse commented 2 years ago

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/2022-08-01-summer-of-nix-documentation-q-a/20695/1

Mic92 commented 2 years ago

I don't have any usage statistics of the nixos wiki.

bryanhonof commented 2 years ago

@Mic92 If I'm not mistaken the wiki has NGINX fronting it, no? If so, perhaps we could look into using the prometheus exporter for NGINX to collect metrics, and there's already a NixOS module for it. Only sad part about the NGINX exporter is that it apparently doesn't export how people are navigating the site, so we won't know which page gets the most visits. Perhaps we can ship the access log to somewhere central?

This could actually be a broader topic. Our Grafana instance currently only really holds metrics for the build & caching servers, and some misc. info. Perhaps we can also use it to visualize these kinds of metrics?

fricklerhandwerk commented 2 years ago
nixos-discourse commented 2 years ago

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/2022-08-11-documentation-team-meeting-7/20918/1

timfenney commented 1 year ago

What are the implications of tracking (anonymized, I assume) data for an open source project? The only thing I'm familiar with that captured user decisions was the popularity contest package from debian.