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

Collect request time, response time, user agent, remote addr and query params #3

Open
1 of 5 tasks
fntlnz opened this issue Feb 19, 2018 · 2 comments
Open
1 of 5 tasks

Comments

@fntlnz
Copy link
Collaborator

fntlnz commented Feb 19, 2018

X-Real-IP
X-Forwarded-For
X-Forwarded-Proto

For request time, req has a field:

req->start_msec

For upstream response time, req has a field:

req->upstream->state->response_tim

And for user agent there's the header

user_agent
@gianarb
Copy link

gianarb commented Feb 19, 2018

X-Forwarded-For
X-Forwarded-Proto

Perfect! I am not sure about Real-IP but I am fine

@fntlnz
Copy link
Collaborator Author

fntlnz commented Feb 22, 2018

We might also want to check for pipelined requests: https://en.wikipedia.org/wiki/HTTP_pipelining
it's not very common now with http/2 but it's a good thing too track to understand bad behaviors

@fntlnz fntlnz changed the title Collect response time, user agent and remote addr Collect response time, user agent, remote addr and query params Mar 30, 2018
@fntlnz fntlnz changed the title Collect response time, user agent, remote addr and query params Collect request time, response time, user agent, remote addr and query params Apr 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants