Monitoring Memory Consumption in NodeJS App
TLDR abhinav wants to monitor memory consumption in their NodeJS app using host metrics. Srikanth advises that they can track it using the process_memory_usage
metric.
Apr 14, 2023 (5 months ago)
abhinav
07:22 AMSrikanth
07:39 AMNo, you don’t need to install the infra agent if you are already using the host metrics. If you want to see
process_memory_usage
which will contain the command used to start the process and search for the appropriate node process.abhinav
10:15 AMSrikanth
10:23 AMabhinav
10:43 AMabhinav
10:43 AMabhinav
10:43 AMSrikanth
11:03 AMThe dashboard can only help you know the current memory usage. They will not tell you the reason for the memory leak. As I mentioned earlier, if you are already using the host-metrics package, you do not need to run the “infra agent” to collect system or process memory usage. There will be a metric named
process_memory_usage
which can be used to track the memory consumption of a particular kind of process.SigNoz Community
Indexed 825 threads (61% resolved)
Similar Threads
Monitoring Memory Leakage in Node.js Koa.js Framework
abhinav asked about monitoring memory leakage in Node.js Koa.js framework. Ankit sought clarification on the language and framework.
Understanding Host Metrics Graph and Memory Usage Rate
Div needed help understanding a host metrics graph and had issues with memory usage rate. Srikanth guided them to correct the legend format and advised against using rate on gauge metric.


Monitoring Custom Metrics in Signoz with Docker NodeJS Containers
Trung asked for help monitoring custom metrics for Docker NodeJS containers in Signoz. Srikanth shared a relevant GitHub link.
Monitoring Pre-Built Node.js App
TAPAKRON inquired about monitoring an already built Node.js app. vishal-signoz suggested using Opentelemetry Operator for auto-instrumentation in Kubernetes deployment.
Troubleshooting SigNoz Monitoring for AWS EC2 Docker-Compose Application
dipak has problems with SigNoz integration to monitor containers in an AWS EC2 Docker-Compose application. Prashant suggests updating the dashboard and using different guides for log collection, metrics collection and application instrumentation. Issues are still unresolved.

