You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const options = {
standalone: true, // mandatory
apmOptions: {
publicKey: process.env.KM_PUBLIC_KEY, // define the public key given in the dashboard
secretKey: process.env.KM_SECRET_KEY, // define the private key given in the dashboard
appName: `${process.env.KM_APP_NAME}_${process.env.NODE_ENV}` // define an application name
}
};
export const pm2Apm = require('@pm2/io').init(options);
I'm requiring the above but am not seeing anything in the dashboard. When I start via PM2, using the same public key and secret, it works fine. I was wondering if perhaps the standalone agent only works with enterprise, as I've seen a few references to this in the code.
The text was updated successfully, but these errors were encountered:
I'm requiring the above but am not seeing anything in the dashboard. When I start via PM2, using the same public key and secret, it works fine. I was wondering if perhaps the standalone agent only works with enterprise, as I've seen a few references to this in the code.
The text was updated successfully, but these errors were encountered: