pm2-plotly

0.0.3 • Public • Published

pm2-plotly

Create a quick dashboard to monitor pm2 apps using Plotly

install

npm install -g pm2-plotly

configure with your Plotly credentials

touch ~/.pm2_plotly

Fill that file with your credentials:

{
    "username": "alexander.daniel",
    "apiKey": "xxxxxxxxxxx",
    "tokens": [
        "xxxxxxxxxxx",
        "xxxxxxxxxxx"
    ]
}

Now you're ready to go!

start the dashboard server:

pm2-plotly

Visiting http://localhost:9090/ will show you a list of running pm2 apps.

Right now you can only view one at a time, as this script only uses 2 plotly streamTokens. Feel free to fork!

license

MIT

Package Sidebar

Install

npm i pm2-plotly

Weekly Downloads

3

Version

0.0.3

License

MIT

Last publish

Collaborators

  • alexander-daniel