Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config option for when transactions are marked as failed (event.outcome=failure) #489

Closed
sorenlouv opened this issue Aug 17, 2021 · 1 comment

Comments

@sorenlouv
Copy link
Member

sorenlouv commented Aug 17, 2021

Problem
Today APM agents automatically mark http transactions as failed (event.outcome=failure) when http.response.status_code > 499. Some users want to treat other status codes like 4xx as failures as well. The only way to achieve that currently is by manually marking those transactions as failed. This is quite combersome for users that want to keep manual instrumentation to a minimum.

Describe the solution you'd like
It would be better if there was a config option for configuring which transactions were marked as failures. For instance a regex to match against http.response.status_code.

@sorenlouv
Copy link
Member Author

Duplicate of #482

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant