0.2.0 • Published 6 years ago

apm-monitor v0.2.0

Weekly downloads
3
License
-
Repository
-
Last release
6 years ago

APM Monitor

This library aims to help provision applications into our monitoring ecosystem.

Usage

package.json

Add an entry for the apm-monitor under dependencies and run npm install.

{
    ...
    "dependencies": {
        ...
        "apm-monitor": "gedigital-apm/apm-monitor"
    }
}
app.js

Import the apm-monitor library at the top of your entry-point file.

require("apm-monitor");
...

Configuration

Configuration options can be set via environment variables.

Environment VariableDefault
MONITORING_ENABLEDtrueSet to false to disable application monitoring.
MONITORING_DEBUGfalseSet to true to enable debug logs.
0.2.0

6 years ago