Setup Keymetrics and PM2

Getting started with Keymetrics is seamless, smart and straightforward:

1- Create an account

First create an account in Keymetrics:


2- Create a Bucket

Then you will land to the Bucket page.

Bucket: A bucket is a way to organize multiple servers in the same context. One bucket can used for one your customer or one bucket could represent an environment like staging, production, test.

Click on the button create a new bucket:

create a new bucket

Give a name to your bucket and an optional comment:

post bucket

Congratulation, you have succesfully created you very first bucket in Keymetrics! You benefits now from a public and secret key that will identify and secure the connectivity between your server and Keymetrics,

You will land up to the following page telling you how to link PM2 to Keymetrics:

popup link to pm2

Just copy paste (or click on the green button):

$ wget -qO- | SECRET_ID=1k706942ti26lb7 PUBLIC_ID=0m0bbf0zymvsrrh bash

This will look for a local Node.js binary else it will install it, then will install PM2 and will directly link your server with Keymetrics.

You can see the result in realtime, or else refresh the page to see your server being monitored.

installation success

Now you are ready to start an application with PM2 and supervize it on Keymetrics!

4- Start an application

Now that you are ready to go, let’s start an application to see the result in Keymetrics.

If you have a Node.js application at hand, start it with:

$ pm2 start my-app.js

Else use our sample application:

$ git clone
$ cd app-playground
$ pm2 start app.js --watch

sample app