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

fix: Typo FPM_REQUEST_INFO #134

Merged
merged 2 commits into from
May 10, 2021
Merged

fix: Typo FPM_REQUEST_INFO #134

merged 2 commits into from
May 10, 2021

Conversation

stchr
Copy link
Contributor

@stchr stchr commented Mar 2, 2021

See [FPM_REQUEST_INFO] = "Getting request information", in https://github.com/php/php-src/blob/07fa13088e1349f4b5a044faeee57f2b34f6b6e4/sapi/fpm/fpm/fpm_request.c#L27

Otherwise you can get error messages like Unknown process state 'Getting request information' in php-fpm_exporter.
And indeed, "Getting request information" is unknown, as php-fpm_exporter is checking for "Getting request informations" (note the wrong plural "s")

This was changes in PHP >= 7.4 with php/php-src@84b195d

Fixes #137

@itcsoft54
Copy link
Contributor

itcsoft54 commented Mar 2, 2021

This patch break php-fpm_exporter for php 7.2.34, php 7.3.26, still have Getting request informations and not EOL.

@stchr
Copy link
Contributor Author

stchr commented Mar 2, 2021

This patch break php-fpm_exporter for php 7.2.34, php 7.3.26, still have Getting request informations and not EOL.

@itcsoft54 You are right. Implemented Fallback in 269acb5

@stchr
Copy link
Contributor Author

stchr commented May 3, 2021

@estahn Would be great if you can review/merge this change ✌️

@estahn
Copy link
Contributor

estahn commented May 4, 2021

@stchr Thanks for this Simon. Can you sync with the latest master? This should resolve the test issue.

@estahn estahn self-assigned this May 4, 2021
@estahn estahn added the bug Something isn't working label May 4, 2021
@stchr
Copy link
Contributor Author

stchr commented May 4, 2021

@estahn master sync is done 💪

@estahn estahn changed the title Typo FPM_REQUEST_INFO fix: Typo FPM_REQUEST_INFO May 10, 2021
@estahn estahn merged commit cf49da4 into hipages:master May 10, 2021
@github-actions
Copy link

🎉 This PR is included in version 2.0.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@estahn
Copy link
Contributor

estahn commented May 12, 2021

@all-contributors add @stchr for bug

@allcontributors
Copy link
Contributor

@estahn

I've put up a pull request to add @stchr! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FPM_REQUEST_INFO changed in PHP 7.4
3 participants