Skip to content

Commit

Permalink
fix: ignore client errors in nr
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-yarmosh committed Apr 16, 2024
1 parent f2a5adc commit 6c6ddc1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions newrelic.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ exports.config = {
distributed_tracing: {
enabled: true,
},
error_collector: {
ignore_status_codes: [ 400, 401, 403, 404, 405, 422, 429 ],
ignore_messages: [ 'Malicious Path', 'No suitable probes found' ],
},
span_events: {
max_samples_stored: 100,
},
Expand Down

0 comments on commit 6c6ddc1

Please sign in to comment.