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

promauto: add NewCounterFunc and NewGaugeFunc #393

Merged
merged 1 commit into from
Mar 19, 2018
Merged

promauto: add NewCounterFunc and NewGaugeFunc #393

merged 1 commit into from
Mar 19, 2018

Conversation

athomason
Copy link
Contributor

This adds the Func variants of NewCounter and NewGauge to the handy promauto package.

@beorn7

@beorn7
Copy link
Member

beorn7 commented Mar 19, 2018

Thanks. (The test errors are unrelated, I'll fix them ASAP in a different commit.)

@beorn7 beorn7 merged commit 07e5c3c into prometheus:master Mar 19, 2018
@athomason athomason deleted the promauto-funcs branch March 20, 2018 09:13
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.

2 participants