I am using prom-client for gathering metrics. The prom-client gathers active_handles ( i.e open file descriptors ) from:
const fds = fs.readdirSync('/proc/self/fd');
When using eiows, instead of ws, open websocket connections are not listed in this directory.
I am using prom-client for gathering metrics. The prom-client gathers active_handles ( i.e open file descriptors ) from:
const fds = fs.readdirSync('/proc/self/fd');
When using eiows, instead of ws, open websocket connections are not listed in this directory.
Related issue on prom-client repository: https://github.com/siimon/prom-client/issues/529