- Notifications
You must be signed in to change notification settings - Fork338
Expose HTTPHost property in HTTPClientConfig#645
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Conversation
c414f4d toe849aa2CompareSigned-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
bboreham left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Turns out that I forget something.
Please explain this further.
Uh oh!
There was an error while loading.Please reload this page.
bboreham commentedJul 16, 2024
In#549 you added Since only the latter was used, I removed the former. Now you adding it back, and hopefully using it. |
jkroepke commentedJul 16, 2024
Hey@bboreham, I only need the property in HTTPClientConfig within the context of Grafana Alloy. I have to apologize. When I started with Golang a year ago, I implemented the wrong side due to my lack of knowledge and missing tooling. I just replicated the userAgent logic, which misled me. Looking at it now, I realize that the host property in httpClientOptions is incorrect. If you agree, I can revert the host in httpClientOptions. |
bboreham commentedJul 16, 2024
Thanks for the explanation. It's fine, everybody makes mistakes. Just easier for me to follow if I can see the path. However we may prefer to deprecate the un-needed one rather than removing it immediately. |
KarstenSiemer commentedNov 21, 2024
Hi! Anything missing here? |
SuperQ commentedJan 18, 2025
Uh oh!
There was an error while loading.Please reload this page.
Signed-off-by: Jan-Otto Kröpke <github@jkroepke.de>
jkroepke commentedJan 21, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@SuperQ from my understanding, the review asks for a more specific doc note which I applied now. |
While I was integrate that feature ingrafana/alloy#698, it figure out that the Host property was removed in#597. Turns out that I forget something.
Since host is problematic with DockerSD, i choice the term
http_hostto follow the pattern fromhttp_headers