-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels