-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Use confighttp.NewDefaultClientConfig instead of manually creating struct #35457
Comments
1 task
Removing |
mackjmr
added a commit
to mackjmr/opentelemetry-collector-contrib
that referenced
this issue
Oct 1, 2024
…y creating struct This PR makes usage of NewDefaultClientConfig instead of manually creating the confighttp.ClientConfig struct. Issue: open-telemetry#35457
mackjmr
added a commit
to mackjmr/opentelemetry-collector-contrib
that referenced
this issue
Oct 1, 2024
…ally creating struct **Description:** This PR makes usage of `NewDefaultClientConfig` instead of manually creating the confighttp.ClientConfig struct. **Link to tracking Issue:** open-telemetry#35457
mackjmr
added a commit
to mackjmr/opentelemetry-collector-contrib
that referenced
this issue
Oct 1, 2024
…eating struct **Description:** This PR makes usage of `NewDefaultClientConfig` instead of manually creating the confighttp.ClientConfig struct. **Link to tracking Issue:** open-telemetry#35457
mackjmr
added a commit
to mackjmr/opentelemetry-collector-contrib
that referenced
this issue
Oct 1, 2024
…ting struct **Description:** This PR makes usage of `NewDefaultClientConfig` instead of manually creating the confighttp.ClientConfig struct. **Link to tracking Issue:** open-telemetry#35457
mackjmr
added a commit
to mackjmr/opentelemetry-collector-contrib
that referenced
this issue
Oct 1, 2024
…ng struct **Description:** This PR makes usage of `NewDefaultClientConfig` instead of manually creating the confighttp.ClientConfig struct. **Link to tracking Issue:** open-telemetry#35457
mackjmr
added a commit
to mackjmr/opentelemetry-collector-contrib
that referenced
this issue
Oct 2, 2024
…ly creating struct **Description:** This PR makes usage of `NewDefaultClientConfig` instead of manually creating the confighttp.ClientConfig struct. **Link to tracking Issue:** open-telemetry#35457
mackjmr
added a commit
to mackjmr/opentelemetry-collector-contrib
that referenced
this issue
Oct 2, 2024
…nstead of manually creating struct **Description:** This PR makes usage of `NewDefaultClientConfig` instead of manually creating the confighttp.ClientConfig struct. **Link to tracking Issue:** open-telemetry#35457
mackjmr
added a commit
to mackjmr/opentelemetry-collector-contrib
that referenced
this issue
Oct 2, 2024
…ually creating struct **Description:** This PR makes usage of `NewDefaultClientConfig` instead of manually creating the confighttp.ClientConfig struct. **Link to tracking Issue:** open-telemetry#35457
mackjmr
added a commit
to mackjmr/opentelemetry-collector-contrib
that referenced
this issue
Oct 2, 2024
…nually creating struct **Description:** This PR makes usage of `NewDefaultClientConfig` instead of manually creating the confighttp.ClientConfig struct. **Link to tracking Issue:** open-telemetry#35457
mackjmr
added a commit
to mackjmr/opentelemetry-collector-contrib
that referenced
this issue
Oct 2, 2024
…nually creating struct **Description:** This PR makes usage of `NewDefaultClientConfig` instead of manually creating the confighttp.ClientConfig struct. **Link to tracking Issue:** open-telemetry#35457
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Component(s)
No response
Describe the issue you're reporting
Related to second point in: open-telemetry/opentelemetry-collector#9478 (comment).
Move away from manually creating
confighttp.ClientConfig
in favor of usingconfighttp.NewDefaultClientConfig
.This is necessary for the following components:
This will be done following conditions:
NewDefaultClientConfig
For the third point, I am unsure of which approach to follow. An example is the
otlphttpexporter
(#11273), where previouslyMaxIdleConns
,MaxIdleConnsPerHost
,MaxConnsPerHost
andIdleConnTimeout
were unset (equivalent ofnil
), which is different than the default which has values.Core collector issue: open-telemetry/opentelemetry-collector#11274
The text was updated successfully, but these errors were encountered: