Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

newrelic notice err with custom attributes

try {  // code that throws an error} catch (err) {  newrelic.noticeError(err, { attribute1: 'value1', attribute2: 2 });}
Source by docs.newrelic.com #
 
PREVIOUS NEXT
Tagged: #newrelic #notice #err #custom #attributes
ADD COMMENT
Topic
Name
7+2 =