songzhendong opened a new pull request, #13930:
URL: https://github.com/apache/skywalking/pull/13930
### Summary
Add OAP-side support for Node.js runtime metrics reported by
`MeterReportService` from skywalking-nodejs (merged in
apache/skywalking-nodejs#139, commit `36df516`).
### Changes
- Add `nodejs-runtime.yaml` MAL analyzer with 6 rules →
`meter_instance_nodejs_*`:
`process_cpu`, `heap_used`, `heap_total`, `heap_limit`, `rss`,
`external_memory`
- Register analyzer in `application.yml`; add unit test data
(`nodejs-runtime.data.yaml`)
- Add E2E MQE assertions for all 6 meters
(`test/e2e-v2/cases/nodejs/e2e.yaml`)
- Add setup doc (`dashboards-nodejs-runtime.md`), menu entry, and
`changes.md`
### Related PRs
- Agent: apache/skywalking-nodejs#139 (merged)
- UI: skywalking-horizon-ui (General layer instance dashboard widgets)
### CI
Node.js E2E and meter-related jobs pass on fork. Unrelated flaky failures
(Go agent image, Alarm/Istio E2E) do not affect this change.
### Test plan
- [ ] OAP unit test: `nodejs-runtime.data.yaml` MAL rules
- [ ] E2E: `Agent NodeJS Backend` / `Frontend` jobs assert 6
`meter_instance_nodejs_*` metrics
- [ ] With UI PR: General → Instances → Node.js instance shows 6 runtime
widgets
--
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]