Skip to content

pm2-gelf-pro 1.0.4

Install from the command line:
Learn more about npm packages
$ npm install @amplement/pm2-gelf-pro@1.0.4
Install via package.json:
"@amplement/pm2-gelf-pro": "1.0.4"

About this version

Install pm2 module

pm2 install @amplement/pm2-gelf-pro

Bind environment vars to the module process : pm2 set @amplement/pm2-gelf-pro:<param> <value>

For OVH provider use case. Send the private token from header + TLS cert

pm2 set @amplement/pm2-gelf-pro:gelf_adapterOptions_certpath client-cert.pem
pm2 set @amplement/pm2-gelf-pro:gelf_fields '{"X-OVH-TOKEN":"this-is-my-token"}'

Gelf pro default config is :

{
    adapterName: 'tcp-tls',
    adapterOptions: {
        host: 'gra2.logs.ovh.com',
        port: 12202
    }
}

Details


Assets

  • pm2-gelf-pro-1.0.4.tgz

Download activity

  • Total downloads 3
  • Last 30 days 0
  • Last week 0
  • Today 0