# APM showing framework exceptions also in Errors tab

**URL:** <https://discuss.elastic.co/t/apm-showing-framework-exceptions-also-in-errors-tab/259995>\
**Category:** APM\
**Tags:** java\
**Created:** [January 1, 2021, 1:13pm UTC](https://discuss.elastic.co/t/apm-showing-framework-exceptions-also-in-errors-tab/259995 "2021-01-01T13:13:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shivasantosh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shivasantosh/32/80942_2.png) [@shivasantosh](https://discuss.elastic.co/u/shivasantosh)\
**Post date:** [January 1, 2021, 1:13pm UTC](https://discuss.elastic.co/t/apm-showing-framework-exceptions-also-in-errors-tab/259995/1 "2021-01-01T13:13:03Z")

</div>

We have integrated APM with our Spring boot application Java. we have two concerns with APM agent, just wanted to know are they expected or anything missing at my side in configuration.

Below are the concerns

1. If we use throw new in application with 200 HTTP Status code APM is showing in errors tab.
2. In spring DataAccessException is thrown by the spring framework which is caught in the application and handled. These are also showing in ELK errors tab. For this point I have added image reference.

Please help in this.

 ![ELKUpload](https://us1.discourse-cdn.com/elastic/original/3X/a/d/ade2e748fb45f6dbcf562c6c0f0758234998c94f.png)

---

<div class="post-metadata">

**Author:** ![Eyal\_Koren](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eyal_koren/32/36830_2.png) [@Eyal\_Koren](https://discuss.elastic.co/u/Eyal_Koren)\
**Post date:** [January 3, 2021, 9:58am UTC](https://discuss.elastic.co/t/apm-showing-framework-exceptions-also-in-errors-tab/259995/2 "2021-01-03T09:58:27Z")

</div>

Hi and thanks for the question.

This is expected - [errors](https://www.elastic.co/guide/en/kibana/7.10/errors.html) are reported whenever a method instrumented by the agent ends with an uncaught Exception. In addition, the agent reports errors as part as the automated support in [logging frameworks](https://www.elastic.co/guide/en/apm/agent/java/current/supported-technologies-details.html#supported-logging-frameworks).

If you want the agent to ignore specific Exception types, you can configure that through [ignore\_exceptions](https://www.elastic.co/guide/en/apm/agent/java/current/config-core.html#config-ignore-exceptions).

We are going to add a new [outcome field](https://github.com/elastic/apm/pull/299) to transactions and spans soon, that will better reflect errors, rather than Exceptions.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 24, 2021, 5:58am UTC](https://discuss.elastic.co/t/apm-showing-framework-exceptions-also-in-errors-tab/259995/3 "2021-01-24T05:58:32Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
