songzhendong opened a new pull request, #74:
URL: https://github.com/apache/skywalking-horizon-ui/pull/74
### Add PHP PHM instance dashboard widgets and i18n overlays
This PR adds **General Service → Instance** dashboard widgets for PHP PHM
meters provided by the OAP `php-runtime` MAL analyzer.
Six line widgets, each gated with `visibleWhen` on the corresponding
`meter_instance_php_*` MQE expression:
| Widget ID | Metric | Unit |
|-----------|--------|------|
| `php_cpu` | `meter_instance_php_process_cpu_utilization` | % |
| `php_mem` | `meter_instance_php_memory_used_mb` | MB |
| `php_mem_peak` | `meter_instance_php_memory_peak_mb` | MB |
| `php_vmsize` | `meter_instance_php_virtual_memory_mb` | MB |
| `php_threads` | `meter_instance_php_thread_count` | — |
| `php_open_fds` | `meter_instance_php_open_fd_count` | — |
Widget tips describe agent behavior: the parent PHP process is sampled via
`getppid()` from `/proc`. Widgets stay hidden when no PHM data exists; JVM
widgets remain unaffected via `visibleWhen`.
- [x] Update the documentation to include this new feature.
- `CHANGELOG.md` under `## 1.1.0`
- [x] Tests are added to verify the new feature.
- Bundled template: `apps/bff/src/bundled_templates/layers/general.json`
- i18n overlays: `de`, `es`, `fr`, `ja`, `ko`, `pt`, `zh-CN`
- Fork CI passed before opening ([fork
run](https://github.com/songzhendong/skywalking-horizon-ui/actions/runs/28112206977))
- [ ] If it's UI related, attach the screenshots below.
- _(attach General Service → Instance dashboard screenshots with PHM
widgets visible)_
- [ ] If this pull request closes/resolves/fixes an existing issue, replace
the issue number. Closes #<issue number>.
- [x] Update the
[`CHANGELOG`](https://github.com/apache/skywalking-horizon-ui/blob/main/CHANGELOG.md).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]