-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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
expose metrics per process in fpm status #12759
base: master
Are you sure you want to change the base?
Conversation
fbd131d
to
f8a8785
Compare
Hi @bukka any help on fixing the broken test would be highly appreciated because I don't undersatnd how my changes could affect the JSON format... |
@cdaguerre It is probably failing some ASAN check. I just pushed some tester changes to be able see child logs if there is an error which might show more so please try to rebase and push force it here. If it doesn't show anything useful, then the next step would be to build with ASAN locally but lets first see if there are any useful child logs. |
d3e4771
to
2db1ea7
Compare
2db1ea7
to
12a7c77
Compare
"# HELP phpfpm_accepted_connections The number of requests accepted by the pool\.\n" . | ||
"# TYPE phpfpm_accepted_connections counter\n" . | ||
"phpfpm_accepted_connections " . $fields['accepted conn'] . "\n" . | ||
"phpfpm_up{pool=\"" . $fields['pool'] . "\"} 1\n" . |
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.
I think test is failing due to the escaping here. Maybe it should be double escaped ? (not sure)
"phpfpm_up{pool=\"" . $fields['pool'] . "\"} 1\n" . | |
"phpfpm_up{pool=\\\"" . $fields['pool'] . "\\\"} 1\n" . |
@bukka @cdaguerre any update on this? |
Closes #9494
Supersedes #9646