Skip to content

Add Node.js runtime metrics analyzer and E2E coverage#13930

Open
songzhendong wants to merge 1 commit into
apache:masterfrom
songzhendong:node
Open

Add Node.js runtime metrics analyzer and E2E coverage#13930
songzhendong wants to merge 1 commit into
apache:masterfrom
songzhendong:node

Conversation

@songzhendong

@songzhendong songzhendong commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

Summary

Add OAP-side support for Node.js runtime metrics reported by MeterReportService from skywalking-nodejs (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

CI (fork validation)

Component Workflow Result Run
OAP full matrix CI (skywalking.yaml) Node.js jobs ✅; 14 unrelated flaky failures https://github.com/songzhendong/skywalking/actions/runs/28323149661
OAP dead links Dead Link Checker https://github.com/songzhendong/skywalking/actions/runs/28323149657
UI CI https://github.com/songzhendong/skywalking-horizon-ui/actions/runs/28328865786

Node.js E2E jobs in the OAP CI run: Agent NodeJS Backend, Agent NodeJS Frontend, Agent NodeJS Frontend ES, Agent NodeJS Frontend ES Sharding, Meter — all passed.

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

Add nodejs-runtime MAL rules, documentation, e2e assertions, and pin
SW_AGENT_NODEJS_COMMIT to apache/skywalking-nodejs master @ 36df516
(merged apache/skywalking-nodejs#139).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant