-
Notifications
You must be signed in to change notification settings - Fork 4
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 Prometheus metrics and GoKit logs #1
Conversation
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
e8ecada
to
a423ac3
Compare
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
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. I left few nits plus a couple of questions about changes I'm bit dubious about.
@@ -550,21 +551,21 @@ func (t *tokenAwareHostPolicy) getMetadataForUpdate() *clusterMeta { | |||
|
|||
// resetTokenRing creates a new tokenRing. | |||
// It must be called with t.mu locked. | |||
func (m *clusterMeta) resetTokenRing(partitioner string, hosts []*HostInfo) { | |||
func (m *clusterMeta) resetTokenRing(partitioner string, hosts []*HostInfo) error { |
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.
Now returns an error, but it's never checked in any place where we call resetTokenRing()
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.
Agree, its tech debt I need to tidy up in a future refactor. Shouldn't affect us.
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
No description provided.