Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
10-19-2017 04:40 PM
Hello,
My team has a scenario where a frequently used API catches an Exception and logs it as an info (using log4j2). AppD is showing this as a transaction error each time it occurs, although this is a benign exception. My understanding was that exceptions are only treated as business transaction errors if they are uncaught or logged with level ERROR or FATAL.
Are there any other situations that would cause caught/info logged exceptions to be treated as errors? The exception in question is a RuntimeException. Do caught RuntimeExceptions still get treated as a business transaction error?
Regards,
Jeremy
10-20-2017 08:24 AM
Exceptions that are thrown through instrumentation (i.e. thrown within a backend call and handled by the application code) will get detected like this.
You can configure the agent to ignore certain exceptions if required.
10-20-2017 10:20 AM - edited 10-20-2017 10:29 AM
In this scenario, it was not thrown by a backend call. The code in question is contained entirely through the java service/application.
I plan to configure our Error/Exception detection to ignore this, but I wanted to validate that this is expected behavior.
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form