Skip to content

Cloudflare log processing for metrics #742

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

Closed
rvagg opened this issue May 30, 2017 · 6 comments
Closed

Cloudflare log processing for metrics #742

rvagg opened this issue May 30, 2017 · 6 comments
Assignees

Comments

@rvagg
Copy link
Member

rvagg commented May 30, 2017

We're in a bit of limbo here, mainly because it's been fully on me and we know how that's working out lately!

Current status: we're load balancing with CF now so there's a fallback server in place so if the main one goes down it'll switch to serving the backup. But we still need to fully detach the /downloads/ content from CF so that it can serve it from cache. The blocker is that we need to be able to produce download metrics for http://nodejs.org/metrics/ so we need to switch from processing nginx logs to CF logs to produce those.

I have a script in place that fetches the CF logs every hour (it's not a deterministic process so it has to account for failures and retries so we need to verify that it's actually working now that it's been running for a while), I also have a script that'll convert their line-delimited JSON to the same format (roughly) as our nginx logs, potentially as a final solution or a step toward a final solution. I just haven't don all the bits that wire everything up together.

If someone wants to help with this, they'll either need access to nodejs.org, and there are only a few of those, or I'll have to provide example files and details of existing tools and file locations that can be used to replicate the process. I'm happy to work with someone on this but it's going to be tedious work on my end to replicate it off the server.

@refack
Copy link
Contributor

refack commented May 30, 2017

I'll take this on (unless someone with access wants to).
In this case I'll need the samples.

@refack
Copy link
Contributor

refack commented May 30, 2017

I'm happy to work with someone on this but it's going to be tedious work on my end to replicate it off the server.

Send me the code and a sample of input and output. I'll manage.

@refack
Copy link
Contributor

refack commented May 30, 2017

@jbergstroem
Copy link
Member

@refack yes.

@refack refack self-assigned this Nov 3, 2017
@Trott
Copy link
Member

Trott commented Mar 22, 2019

Closing due to long period of inactivity. Feel free to re-open if this is a thing. I'm just trying to close stuff that has been ignored for sufficiently long that it seems likely it's not something we're going to get to.

@Trott Trott closed this as completed Mar 22, 2019
@rvagg
Copy link
Member Author

rvagg commented Mar 25, 2019

-> #987

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

No branches or pull requests

4 participants