Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Export user agent? #34

Open
OmgImAlexis opened this issue Dec 29, 2017 · 4 comments
Open

Export user agent? #34

OmgImAlexis opened this issue Dec 29, 2017 · 4 comments

Comments

@OmgImAlexis
Copy link

Could you possibly add the user agent to the exported data?

@miekg
Copy link
Owner

miekg commented Dec 29, 2017 via email

@OmgImAlexis
Copy link
Author

OmgImAlexis commented Dec 29, 2017

I'm not sure what you mean?

I'm mainly wanting this for my API servers that accept connections from known clients. Each using appname v1.0.0 for example. I'm mainly trying to see how many people are on what version and I don't have a clue when it comes to Go otherwise I would have forked and added my own code.

@OmgImAlexis
Copy link
Author

What about adding the user agent as a label to each request?

@ptman
Copy link

ptman commented Jul 31, 2018

So you want stats on what clients are used to access? I think log parsing is a better idea. As @miekg said, the problem is with the amount of different user agents in the wild. Or handle user-agent header in your API servers.

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

No branches or pull requests

3 participants