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

helper/metricsutil: Update usage of expfmt #25799

Closed
wants to merge 1 commit into from

Conversation

metalmatze
Copy link
Contributor

The previously exposed constants are no longer exposed, and we can use expfmt.Format instead. prometheus/common#576

Once Prometheus gets updated, the Vault dependency breaks.

The previous exposed constants are no longer exposed and we can use expfmt.Format instead.
prometheus/common#576
@hashicorp-cla
Copy link

hashicorp-cla commented Mar 6, 2024

CLA assistant check
All committers have signed the CLA.

"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/common/expfmt"

Copy link
Contributor

@peteski22 peteski22 Mar 7, 2024

Choose a reason for hiding this comment

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

Please could you remove the blank line and reformat the imports? Thanks 😄

	"github.com/armon/go-metrics"
	"github.com/hashicorp/vault/sdk/logical"
	"github.com/prometheus/client_golang/prometheus"
	"github.com/prometheus/common/expfmt"

@peteski22 peteski22 added pr/no-changelog pr/no-milestone dependencies Pull requests that update a dependency file and removed waiting-for-response labels Mar 14, 2024
@peteski22 peteski22 disabled auto-merge March 14, 2024 10:11
@peteski22
Copy link
Contributor

Closing as this has been merged in #25947

@peteski22 peteski22 closed this Mar 14, 2024
@metalmatze
Copy link
Contributor Author

Thanks! We're currently busy at our Offsite, so this was definitely quicker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file pr/no-changelog pr/no-milestone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants