Dealing with Delay in NodeJS Integration Using PM2 Cluster Mode with Signoz
TLDR Siddhartha experienced a delay when restarting PM2 processes with Signoz. With input from vishal-signoz, they improved responsiveness by adjusting PM2 flags.
1
Sep 26, 2023 (2 months ago)
Siddhartha
06:03 AMIs there a better way to ensure that we have zero-downtime deployability with signoz integration?
Palash
08:30 AMvishal-signoz
09:25 AMWe haven’t seen the delay, is the delay because of loading tracing.js?
Sep 27, 2023 (2 months ago)
Siddhartha
03:35 AMFor now, I’ve configured PM2 to wait for the app to become fully responsive before killing old processes, which can be done via their flags
--wait-ready --listen-timeout 10000
. Reference here: https://pm2.keymetrics.io/docs/usage/pm2-doc-single-page/1
SigNoz Community
Indexed 1023 threads (61% resolved)
Similar Threads
Issues with Signoz 10.2: Grouping, Missing Traces, and Capturing Requests
Anil reported issues with Signoz 10.2, including grouping, missing traces, and capturing requests. Srikanth suggested upgrading to a newer version. The issue was resolved after upgrading the node version to 18 and additional clarifications were provided.
Issues with SigNoz Setup and Data Persistence in AKS
Vaibhavi experienced issues setting up SigNoz in AKS, and faced data persistence issues after installation. Srikanth provided guidance on ClickHouse version compatibility and resource requirements, helping Vaibhavi troubleshoot and resolve the issue.
Resolving Signoz Lock-up Issue on EC2 Instance
Praveen faced issues with Signoz locking up their EC2 instance. James suggested it may be a CPU issue though Praveen found out it was due to a memory issue.