-
Notifications
You must be signed in to change notification settings - Fork 597
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
Upgrade armon/go-metrics to hashicorp/go-metrics #693
base: master
Are you sure you want to change the base?
Conversation
Also bumping hashicorp/memberlist to the corresponding version which also uses hashicorp/go-metrics
can someone merge it, please? |
+1 here I need to the line below several
|
fix issue #707 |
+1 here |
any reason to not merge it ? |
@mkeeler @hashi-derek can we get some 👀 on this? |
Bump please; without this patch, this library is completely unusable/broken for anyone using it, or pulling in something that uses it |
Wow this PR is more than a year old! Is the repository completely unmaintained? 😬 |
@shane-ns1 looks like ... |
perhaps we should start to ping @dhiaayachi and other people that can merge on this repo |
Or even @armon? 😆 |
Hi all, we will post a more detailed thread on why this is complicated, but the short gist is that this change has to be consistently updated across the dependency chains of libraries used in an application. |
It's been 18 months since this was opened, and 5 months since the last comment, but I think that this is still an issue. Is there anything that anyone can do to help? |
After authoring these PRs originally, we came to the realization that the problem wasn't quite so simple and we were going to have a difficult time rolling out the changes in a safe way across many libraries, products, services and applications. Safe here meaning where we don't accidentally lose metrics. Recently I have spent some more time working on the problem and found an approach that I think will be better. The gist is that I am introducing a compatibility package into hashicorp/go-metrics. This exposes an identical API to that of the latest armon/go-metrics tag. The compat package can be controlled with build tags to choose which metrics package is actually used (either armon/go-metrics with a The big advantage I see with the build tagged approach is that the top level application performing the I am hoping to have all the libraries PR'ed and merged before the end of the month. |
Also bumping hashicorp/memberlist to the corresponding version which also uses hashicorp/go-metrics
This will require a new major version to signify that metrics are using different global handlers.
TODO: