Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 787 Bytes

README.md

File metadata and controls

37 lines (26 loc) · 787 Bytes

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 Variable Default
MONITORING_ENABLED true Set to false to disable application monitoring.
MONITORING_DEBUG false Set to true to enable debug logs.