-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Fix deprecated NewBuildInfoCollector
API
#1000
Conversation
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.
Nice!
But can we remove main
binary from this PR? I think it was added by accident.
sorry i gonna give a fix |
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
@bwplotka Feel free to merge :) |
@alissa-tung Would you mind maybe adding comment changes in this PR as well here? #918 |
done |
@alissa-tung By any chance you forgot to push? I don't see the changes |
Update `examples/random/main.go`: `prometheus.NewBuildInfoCollector` is deprecated. Use `collectors.NewBuildInfoCollector` instead. Signed-off-by: alissa-tung <[email protected]>
yes, sorry :( |
Still the same :/ |
https://github.com/prometheus/client_golang/pull/1000/commits i though there are some commit message comment here 🤔 im not native English speaker, im afraid that there is something i misunderstood |
Signed-off-by: alissa-tung <[email protected]> Co-authored-by: Cruise_Hua <[email protected]>
is ffd6362 work as expected? |
Yes, thanks 🙏 |
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
examples/random/main.go
:prometheus.NewBuildInfoCollector
is deprecated. Usecollectors.NewBuildInfoCollector
instead.