Skip to content

Implement APM Integration for Node.js Performance Monitoring #4191

@quiet-node

Description

@quiet-node

Overview

The Hedera JSON-RPC Relay has robust K6 stress testing but lacks visibility into internal Node.js performance during tests. This ticket implements comprehensive Application Performance Monitoring (APM) to provide deep insights into CPU usage, memory patterns, and async operations.

Problem: We can see external behavior (response times, errors) but not internal bottlenecks.
Solution: Integrate APM & profiling tools for better Node.js performance analysis.

🎯 Expected Outcomes

  1. Working APM Integration: Complete Clinic.js toolkit operational with meaningful script names
  2. Comprehensive Performance Visibility: Both external (K6) and APM metrics
  3. Professional Analysis Workflow: Systematic approach to Node.js performance engineering
  4. Foundation for Optimization: Data-driven insights for performance improvements

Note

Clinic.js is no longer actively maintained, and its outdated state has led to unreliable and inconsistent reports. This has prompted internal discussions to evaluate alternative solutions. The current progress is blocked until a more reliable approach is identified.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions