-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
modify simpleprometheus receiver to use httpclientsetting #11553
modify simpleprometheus receiver to use httpclientsetting #11553
Conversation
ping @codeboten @dmitryax , I already modify the simpleprometheusreceiver to use confighttp.HttpClientSetting, but there is still one problem that I'm not sure, since the origin tls config of simpleprometheusreceiver has totally different key name from the tls config of confighttp.HttpClientSetting. for example, the tls config of simpleprometheusreceiver is
the tls config of confighttp.HttpClientSetting is
What is the best way to release those changes safely? Does this have any guideline like https://github.com/open-telemetry/opentelemetry-collector/blob/main/CONTRIBUTING.md#breaking-changes? |
Please keep support of |
Signed-off-by: Ziqi Zhao <[email protected]>
Signed-off-by: Ziqi Zhao <[email protected]>
6fa8dbc
to
ac1fe8b
Compare
I add If user specify In this way, I think we can just delete |
Signed-off-by: Ziqi Zhao <[email protected]>
Please add a changelog entry |
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.
One nit, otherwise LGTM
Signed-off-by: Ziqi Zhao <[email protected]>
Signed-off-by: Ziqi Zhao <[email protected]>
0c7ef8f
to
720ee27
Compare
Signed-off-by: Ziqi Zhao <[email protected]>
Signed-off-by: Ziqi Zhao <[email protected]>
ping @codeboten @dmitryax I think pr is ready to merge :-) |
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.
Did you test the receiver? I doesn't look like working for regular http endpoints
Signed-off-by: Ziqi Zhao <[email protected]>
Signed-off-by: Ziqi Zhao <[email protected]>
Signed-off-by: Ziqi Zhao <[email protected]>
Signed-off-by: Ziqi Zhao [email protected]
Description:
Fix #9571
Link to tracking Issue:
#9571