Skip to content

Commit

Permalink
Merge pull request #51 from jonnor/ignore_504
Browse files Browse the repository at this point in the history
Don't report 504,403 as error to New Relic
  • Loading branch information
jonnor committed Nov 12, 2015
2 parents e0f037e + 8d4f931 commit 9fe6e56
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions newrelic.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,12 @@ exports.config = {
* production applications.
*/
level : 'info'
},
/**
* Don't report certain types of failures as errors
*/
error_collector : {
enabled : true,
ignore_status_codes : [403,404,504]
}
};

0 comments on commit 9fe6e56

Please sign in to comment.