Closed bradennapier closed 5 years ago
Additionally this doesnt work...
/** Track how many connected websockets are currently active. */
const connectedUsers = pmx.probe().metric({
name: 'Connected Clients',
});
you should fix the info and provide a migration doc
You can find migration guide here https://github.com/keymetrics/pm2-io-apm#migration-guides. I've updated it for the probe()
method removed here
This says that
@pm2/io
is a drop-in replacement but i see a bunch of differences at first glance. Noports
, metrics moved tometrics
property....pmx.init({ network: true, ports: true })
is notpmx.init({ metrics: { network: true } })
and it looks likeports
is not an option at all.