-
Notifications
You must be signed in to change notification settings - Fork 714
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
Scope probe should set the user-agent string #3715
Comments
Hi @bboreham I would like to try this. Can you guide me how to get started. |
You are welcome, @harshshekhar15 ! There is a brief outline how to build and run in the file CONTRIBUTING. You should research how to set the user-agent in Go, and see where that could fit into the probe code. Ideally also write a test, though I won't insist on it for this particular change. |
Thanks for the heads-up @bboreham. |
Hi @bboreham, |
There's no point both of you doing the same task. How far did you get in the instructions I already gave? |
I just wanted to clarify certain things. I have to first fork this repo, then after making the change, I am supposed to make a pr, which is basically me telling you that "I have made this change. Please review and add to master". And then you add it. Right? |
Hi @bboreham and @DarthSett. @bboreham no I didn't gave up, actually was caught up with some work and didn't got time to look into the issue. By the way @DarthSett are you ready with the changes, if yes then please go ahead and raise a PR, else I will try to raise a PR once I'm done. |
@bboreham What do you want the header value to be? I can set it to something like "Scope/1.11.6" for now. |
@bboreham @harshshekhar15 |
Thanks! There is already a version string set at build time here via the |
Thank you all |
Right now it shows up in access logs as "Go-http-client/1.1", which is very dull.
We could copy Prometheus, which sets it to something like "Prometheus/2.12.0".
The text was updated successfully, but these errors were encountered: