dbc-node-newrelic-wrapper 1.0.1 • Public • Published 9 years ago dbc-node-newrelic-wrapper
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
Versions Current Tags Version
Downloads (Last 7 Days) 1.0.1
3
Version History Version
Downloads (Last 7 Days) 1.0.1
3
Package Sidebar Install npm i dbc-node-newrelic-wrapper
Downloads Weekly Downloads