sematext / spm-agent-nodejs

NodeJS Monitoring Agent
https://sematext.com/integrations/nodejs-monitoring
Apache License 2.0
60 stars 6 forks source link

Add support to monitor Worker Threads in Node 12 #16

Closed megastef closed 4 years ago

megastef commented 5 years ago

Currently, the agent counts workers forked by cluster-module. It might be useful to count workerThreads as well.

See: https://nodejs.org/dist/latest-v12.x/docs/api/worker_threads.html#worker_threads_worker_threadid

adnanrahic commented 4 years ago

This was implemented as part of the Process Monitoring features, added in v3.0.0. We can resolve this issue.