Skip to content

Conversation

@gouthamve
Copy link
Contributor

@gouthamve gouthamve commented Mar 19, 2020

Signed-off-by: Goutham Veeramachaneni gouthamve@gmail.com

Which issue(s) this PR fixes:
Fixes #2302

Checklist

  • Tests updated

Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would just suggest to rename registerer to dnsProviderRegisterer to avoid in the future people will erroneously use the replaced registerer to register other metrics.

Copy link
Contributor

@pracucci pracucci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Just left a nit

@gouthamve gouthamve force-pushed the fix-multi-register branch from a47ce14 to ad776b7 Compare March 20, 2020 10:53
Copy link
Contributor

@bboreham bboreham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally looks OK but I have questions about the comments in the test.

Also incorporate review feedback.

Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
@gouthamve gouthamve force-pushed the fix-multi-register branch from ad776b7 to 2eda98e Compare March 20, 2020 11:05
@gouthamve
Copy link
Contributor Author

Sorry for the stale comments (copied the test from the blocks storage test). Clarified them now.

@gouthamve gouthamve merged commit 931b89e into cortexproject:master Mar 20, 2020
@gouthamve gouthamve deleted the fix-multi-register branch March 20, 2020 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crash on startup with duplicate metrics collector registration

4 participants