-
Notifications
You must be signed in to change notification settings - Fork 454
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
prometheus metrics format #114
Conversation
Hi, Any news about this? |
Have you tested this with promtool |
It looks like a small patch would come in handy, but the gun works. |
Thanks for the pull request. |
That feature has added. Latest commit: 2f9434f |
Did a bit of testing and it seems to work well. Do you plan on making a release with these changes anytime soon? |
I will release it after checking the histogram in #62 (comment). |
The metric type of histogram in Latest commit: 2fd3ae4 |
I have tagged the latest commit as |
Don't know if this is a configuration problem from my side but I have many upstreams behind nginx and I only got one from the /status/format/prometheus. They appear when I use the /status/ or /status/format/json. Any explanation here ? I didn't create a new issue as It may be an error in your code as you mentioned it. Used version : |
I think this is obsolete. |
@etlfg If you still encounter such a problem, please create a new issue. |
This PR adds an alternate display format for data. It's a lot of code that I modified after copy & pasting. I'm not a C developer so I wouldn't be surprised if there's a lot of things wrong with it. Let me know what needs to be fixed/changed to get this merged. Thanks!