Detalhes do pacote

dbc-node-newrelic-wrapper

DBCDK10GPL-3.01.0.1

New Relic wrapper to handle logging while New Relic is not while available

DBC, logger, newrelic, logging

readme (leia-me)

dbc-node-newrelic-wrapper

David David

Description

Simple wrapper for the New Relic clientside API, that ensures no errors if the newrelic object is not defined. The modules simply wraps the New Relic methods in a try/catch

Example

import * as dbcrelic from 'dbc-node-newrelic-wrapper';
dbcrelic.addPageAction('someEvent, {data: someData});

API

Currently only the addPageAction method is implemented, more will follow whenever they are needed.

Links

New Relic Browser Agent API