question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Way to filter out status codes?

See original GitHub issue

Is your feature request related to a problem? Please describe. Would be great if it was possible to filter out certain status codes (eg: 404, 410 etc) with this apm client.

Describe the solution you’d like

A option in config option to specify an array of status codes to ignore listed here: https://www.elastic.co/guide/en/apm/agent/nodejs/current/configuration.html

ignoreStatusCodes: [404, 410, .. ]

Describe alternatives you’ve considered Can do it as part of a filter https://www.elastic.co/guide/en/apm/agent/nodejs/current/agent-api.html#apm-add-filter but this seems a bit annoying - a config property seems simpler

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
watsoncommented, Jun 20, 2019

Ok, I see. I’ll bring it up with the team

0reactions
watsoncommented, Jun 24, 2019

No I mean what you suggested in the issue description:

Describe alternatives you’ve considered Can do it as part of a filter https://www.elastic.co/guide/en/apm/agent/nodejs/current/agent-api.html#apm-add-filter but this seems a bit annoying - a config property seems simpler

Read more comments on GitHub >

github_iconTop Results From Across the Web

Filter by Status | - GitHub Pages
The first such filter is a Status Code Filter. As responses come back from the scanned server, each one is checked against a...
Read more >
Filter on http status code - Forums - IBM Support
How can I specify an error-rule (or a server->client-rule) filtering on the http status code from backend? I have tried. filtering on http-header ......
Read more >
Filter requests in the Network panel by status code, mime type ...
The Network panel lets you filter requests by status code, or mime type, and more. Click in the filter input field in the...
Read more >
Apigee trace - filter on HTTP status codes
The trace starts when the request hits Apigee. To support a response status code filter, we would need to trace every single request...
Read more >
Filter only the requests with errors - Google chrome network
There's a useful plot twist: you can use negative filters, i.e.: -status-code:200 (notice the prepended - sign). That will filter out all ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found