mmdevries / eiows

Other
78 stars 4 forks source link

How can I get active socket handles? #13

Closed mkadirtan closed 1 year ago

mkadirtan commented 1 year ago

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

mkadirtan commented 1 year ago

Issue resolved on prom-client side