-
Notifications
You must be signed in to change notification settings - Fork 12
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
net: instrument dials #701
Conversation
command/run/run.go
Outdated
@@ -315,6 +315,8 @@ func Command() *cobra.Command { | |||
apiServerConfig: forwarder.DefaultHTTPServerConfig(), | |||
logConfig: log.DefaultConfig(), | |||
} | |||
c.httpTransportConfig.PromRegistry = c.promReg | |||
c.httpProxyConfig.PromNamespace = promNs |
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 c.httpProxyConfig.PromNamespace = promNs
be httpTransportConfig? I see c.httpProxyConfig.PromNamespace being set twice here.
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.
Correct.
Move close once feature to TrackedConn. Fix linting errors when using TrackedConn.
ea0f07c
to
2378155
Compare
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.
LGTM
Fixes #118
Fixes #514
Fixes #679