Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does standalone mode work with free version #286

Open
Recodify opened this issue Oct 24, 2021 · 0 comments
Open

Does standalone mode work with free version #286

Recodify opened this issue Oct 24, 2021 · 0 comments

Comments

@Recodify
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant