30 Dec 2024 10:19 AM
Hi Team,
We have a requirement from the customer to capture the log.error message (highlighted as 1 in the attached snapshot). Currently, we are only see the second exception captured to BizErrorCode.
Could someone guide us on how we can ensure the log.error exception is captured in Dynatrace? If there are specific configurations, such as logging integration or API usage, please let us know the steps to achieve this.
Looking forward to your suggestions.
Solved! Go to Solution.
30 Dec 2024 11:17 AM
Hi,
I can see too many exceptions are catched out-of-the-box, if you have OneAgent in fullstack. Have you check Exception analysis?
Best regards
30 Dec 2024 01:45 PM
Hi @AntonPineiro ,
The application is not onboarded yet, but we want to confirm if it will be possible to capture the log.error message (highlighted as 1 in the attached snapshot) once onboarded.
We plan to test this scenario in the lower environment first.
30 Dec 2024 11:02 PM
By default, the exception should be captured and you can find more when you configure the agent.
From the documentation:
https://docs.dynatrace.com/docs/shortlink/service-failure-detection
By default, Dynatrace detects:
If still not captured, you can define custom exception detection, using this.
https://docs.dynatrace.com/docs/shortlink/service-failure-detection#general
Screenshot from my lab: