-
Notifications
You must be signed in to change notification settings - Fork 521
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
Add TLS support for Memcached client #3585
Conversation
@@ -181,7 +210,7 @@ func (c *memcachedClient) dialViaCircuitBreaker(network, address string, timeout | |||
c.Unlock() | |||
|
|||
conn, err := cb.Execute(func() (interface{}, error) { | |||
return net.DialTimeout(network, address, timeout) | |||
return c.DialTimeout(network, address, timeout) |
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.
it seems like this DialTimeout
method is available here as c.Client.DialTimeout
is there a reason to store it directly on the object?
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.
I imagine you could use c.Client.DialTimeout
in lieu of storing it directly on the object.
Personally, not so sure if there's any benefits of using one over the other here.
There doesn't seem to be any adverse effects from storing it directly on the object in Loki. Though, it could possibly differ in Tempo.
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.
Thanks for the work! One small question but generally this looks good!
Awesome feature addition! Thank you. |
What this PR does:
This is just a copy of grafana/loki#12318 (comment) but for Tempo.
Which issue(s) this PR fixes:
Fixes #3564
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]