Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mkeeler
Copy link
Member

@mkeeler mkeeler commented Jun 8, 2023

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:

Also bumping hashicorp/memberlist to the corresponding version which also uses hashicorp/go-metrics
@mkeeler mkeeler requested a review from a team as a code owner June 8, 2023 16:57
@mkeeler mkeeler requested review from JadhavPoonam and rboyer and removed request for a team, JadhavPoonam and rboyer June 8, 2023 16:57
@puffpuf
Copy link

puffpuf commented Jul 25, 2023

can someone merge it, please?

@peczenyj
Copy link

peczenyj commented Nov 8, 2023

+1 here

I need to the line below several go.mod files and it is annoying

replace github.com/armon/go-metrics v0.5.1 => github.com/hashicorp/go-metrics v0.5.1

@peczenyj
Copy link

peczenyj commented Nov 8, 2023

fix issue #707

@alex-savin
Copy link

+1 here

@peczenyj
Copy link

any reason to not merge it ?

@adamrothman
Copy link

@mkeeler @hashi-derek can we get some 👀 on this?

@frebib
Copy link

frebib commented Apr 28, 2024

Bump please; without this patch, this library is completely unusable/broken for anyone using it, or pulling in something that uses it

@shane-ns1
Copy link

Wow this PR is more than a year old! Is the repository completely unmaintained? 😬

@peczenyj
Copy link

peczenyj commented Jul 3, 2024

@shane-ns1 looks like ...

@peczenyj
Copy link

peczenyj commented Jul 3, 2024

perhaps we should start to ping @dhiaayachi and other people that can merge on this repo

@shane-ns1
Copy link

perhaps we should start to ping @dhiaayachi and other people that can merge on this repo

Or even @armon? 😆

@jmurret
Copy link
Member

jmurret commented Jul 5, 2024

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. go-metrics relies on a singleton sink in global state. If any applications have a mix of armon metrics and hashicorp due to underlying dependencies not aligning on only one of them, metrics will be split among different sinks in the global state.
This change has to be coordinated with changing and releasing this dependency across multiple libraries and applications in a thoughtful way. This PR is taking longer than expected due to the prioritization and coordination of those efforts to ensure a smooth transition. Thank you for your patience and understanding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants