Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better cache analytics trough custom User-Agent #198

Open
zimbatm opened this issue Nov 2, 2023 · 3 comments
Open

Better cache analytics trough custom User-Agent #198

zimbatm opened this issue Nov 2, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@zimbatm
Copy link
Contributor

zimbatm commented Nov 2, 2023

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:

  • the name of the action
  • which github org it's being used on

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.

@zimbatm zimbatm changed the title Better cache usage pattern trough custom User-Agent Better cache usage understanding trough custom User-Agent Nov 2, 2023
@zimbatm zimbatm changed the title Better cache usage understanding trough custom User-Agent Better cache analytics trough custom User-Agent Nov 2, 2023
@zimbatm
Copy link
Contributor Author

zimbatm commented Nov 2, 2023

@sandydoo sandydoo added the enhancement New feature or request label Nov 2, 2023
@sandydoo
Copy link
Member

sandydoo commented Nov 2, 2023

Sounds reasonable to me.

which github org it's being used on

This is likely the only contentious issue. cc @domenkozar

@domenkozar
Copy link
Member

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:

  • the name of the action
  • which github org it's being used on

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.

This might also trigger people about privacy, since it's now leaking usage stats. I'm not particularly concerned about it, because I don't expect any abuse to happen, but I'd like to communicate somehow that we're doing this for the sake of improving the service.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants