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

support for prometheus-style metrics #150

Closed
jelmer opened this issue Jul 24, 2021 · 2 comments
Closed

support for prometheus-style metrics #150

jelmer opened this issue Jul 24, 2021 · 2 comments

Comments

@jelmer
Copy link

jelmer commented Jul 24, 2021

It would be great if gonic supported prometheus-style metrics at /metrics. Happy to contribute something if you'd be open to accepting PRs that added support for that.

@sentriz
Copy link
Owner

sentriz commented Jul 24, 2021

Yeah cool idea. Would the output of using expvar be suitable?

https://pkg.go.dev/expvar

This would be then /debug/vars instead of /metrics

@jelmer
Copy link
Author

jelmer commented Jul 27, 2021 via email

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

No branches or pull requests

2 participants