-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[chore] [receiver/bigip] Use confighttp.NewDefaultClientConfig instead of manually creating struct #35586
[chore] [receiver/bigip] Use confighttp.NewDefaultClientConfig instead of manually creating struct #35586
Conversation
…d 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
@@ -40,8 +47,13 @@ func TestNewFactory(t *testing.T) { | |||
CollectionInterval: 10 * time.Second, | |||
}, | |||
ClientConfig: confighttp.ClientConfig{ |
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.
Should we create this config using the confighttp.NewDefaultClientConfig()
method, then override values?
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.
Same as: #35578 (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.
Updated tests
…d of manually creating struct (open-telemetry#35586) **Description:** This PR makes usage of `NewDefaultClientConfig` instead of manually creating the confighttp.ClientConfig struct. **Link to tracking Issue:** open-telemetry#35457
…d of manually creating struct (open-telemetry#35586) **Description:** This PR makes usage of `NewDefaultClientConfig` instead of manually creating the confighttp.ClientConfig struct. **Link to tracking Issue:** open-telemetry#35457
Description:
This PR makes usage of
NewDefaultClientConfig
instead of manually creating the confighttp.ClientConfig struct.Link to tracking Issue: #35457