Skip to content

Does standalone mode work with free version #286

@Recodify

Description

@Recodify
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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions