Add PHP runtime PHM meter analyzer, e2e, and documentation#13928
Merged
Conversation
Introduce php-runtime.yaml MAL rules for six instance_php_* meters, MAL tests, PHP e2e meter assertions, and backend docs. Pin SW_AGENT_PHP_COMMIT to apache/skywalking-php@de311c9 (PHM apache#145). Use metrics_report_period=31 in e2e php.ini so meter gRPC streams idle-close and OAP persists PHM data.
wu-sheng
approved these changes
Jun 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add PHP runtime PHM meter analyzer, e2e, and documentation
This PR adds OAP support for PHP Health Metrics (PHM) reported by the SkyWalking PHP agent.
php-runtime.yamlMAL analyzer registering six instance-level meters on the General Service layer:meter_instance_php_process_cpu_utilizationmeter_instance_php_memory_used_mbmeter_instance_php_memory_peak_mbmeter_instance_php_virtual_memory_mbmeter_instance_php_thread_countmeter_instance_php_open_fd_countphp-runtimeto defaultmeterAnalyzerActiveFiles.SW_AGENT_PHP_COMMITto merged PHM agent releasede311c9.metrics_report_period=31in e2ephp.iniso meter gRPC streams idle-close and OAP persists PHM samples reliably.PHM process meters are Linux-only (agent samples
/procviagetppid()for the parent PHP process).If this is non-trivial feature, paste the links/URLs to the design doc.
Update the documentation to include this new feature.
docs/en/setup/backend/dashboards-php-runtime.md; updatebackend-meter.md,menu.yml, andCHANGES.Tests(including UT, IT, E2E) are added to verify the new feature.
php-runtime.data.yamlmeter_instance_php_*assertions intest/e2e-v2/cases/php/e2e.yamlIf it's UI related, attach the screenshots below.
apache/skywalking-horizon-ui.If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #.
Update the
CHANGESlog.