nodejs / release-cloudflare-worker

Infra for serving Node.js downloads and documentation.
https://nodejs.org/dist
MIT License
21 stars 5 forks source link

Ensure that download metrics are preserved #29

Closed mhdawson closed 9 months ago

mhdawson commented 9 months ago

I believe I was told that since we will still be using Cloudflare as the entry point our existing implementation to capture download stats should continue to work.

Just opening this issue to ensure we validate that is the case. This is where I believe the documentation is for the current metrics capture: https://github.com/nodejs/build/tree/main/ansible/roles/metrics

mhdawson commented 9 months ago

@AshCripps, @BethGriggs in case either of you two have something to add.

MoLow commented 9 months ago

@mhdawson @AshCripps @BethGriggs this links mentions that

The logs from cloudflare come in five minute intervals (e.g 20210105/20210105T141000Z_20210105T141500Z_adbdac1f.log.gz contains every log from the period of 1410 - 1415 on 2021/01/05 UTC) Every time a new log file is created it is automatically pushed to GCP to the bucket cloudflare-logs-nodejs

what causes the log to be pushed from Cloudflare to GCP?

jbergstroem commented 9 months ago

what causes the log to be pushed from Cloudflare to GCP?

I set up Logpush a good while ago.

MoLow commented 9 months ago

Ok great, So if I understand correctly: all metrics are served from https://storage.googleapis.com/access-logs-summaries-nodejs/index.html and https://nodejs.org/metrics/ is static and won't update anymore?

MoLow commented 9 months ago

as per my understanding, there are no further actions needed for this to work. closing