1.0.6 • Published 5 years ago

pino-relic v1.0.6

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

pino-relic

New Relic Logs for Pino logging

Install

npm install --save-dev pino-relic

Usage

When using Pino the recommended practice is to pipe the output from the main node process into a formatter. This is for performance as node is single threaded and this enables the log formatting to happen in a seperate process.

node main.js | pino-relic --license 123 --common instance,method,status

Options

optiondescription
-l, --license (key)new relic license key
-i, --interval (milliseonds)upload interval (upload compaction)
-c, --common (field1,field2,field3>common fields (upload size optimization)
1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago