nixbuild / nix-quick-install-action

101 stars 13 forks source link

Better cache analytics trough custom User-Agent #50 #38

Open zimbatm opened 1 year ago

zimbatm commented 1 year ago

As part of the work on the S3 cache GC, we discovered that most of our Fastly traffic is coming from North America. Could this be primarily GitHub traffic?

It would be interesting if this action could set the "user-agent-suffix" Nix setting with the following info:

This would allow us to build a better understanding of the usage pattern of the cache.

I'm going to post this to the other Nix install actions as well.

rickynils commented 1 year ago

To not duplicate the discussion here, I'll post on https://discourse.nixos.org/t/tracking-nixos-cache-usage-by-user-agent instead.