Exception analysis detects Java exceptions across your monitored applications and surfaces them with occurrence counts, trend charts, and stack traces. Filter exceptions by name, operation, or host, then drill into stack traces and linked traces to find root causes.
How exception detection works
Managed Service for OpenTelemetry automatically detects Java exceptions. The detection behavior depends on how your code handles exceptions:
| Scenario | Behavior |
|---|---|
| Exception caught inside a try-catch block | The exception may not appear in the analysis. Only exceptions that propagate beyond the catch boundary are recorded. |
| Multiple try-catch executions in one operation | A single operation call can produce several distinct exceptions. |
| Unhandled exception | The request returns an error, and the exception is recorded automatically. |
View exception analysis data
Before you begin, make sure that your application data is reported to Managed Service for OpenTelemetry. For setup instructions, see Connection Description.
Log on to the Managed Service for OpenTelemetry console. In the left-side navigation pane, click Applications.
-
On the Applications page, select a region in the top navigation bar and click the name of the application.
In the top navigation bar, click Exceptions.

The Exceptions tab contains three sections:
Quick filter (area 1)
Filter exceptions by exception name, operation, or host. The filter applies to both the trend chart and the exception list.
Trend chart (area 2)
Displays exception counts over time as a stacked chart. Each color represents a different exception type.
| Action | Result |
|---|---|
| Click the | View metric data for a specific time range, or compare the same time range across different dates. |
| Click the | Switch between a column chart and a trend chart. |
Exception list (area 3)
Lists each exception with its name, occurrence count, proportion, and stack trace.
The following table describes the actions available for each exception:
| Action | How to access | Details |
|---|---|---|
| View exception overview | Click Overview in the Actions column. | Displays the trend of exception occurrence count over time, exception distribution by operation and host, and the full exception stack trace. |
| Inspect related traces | Click Traces in the Actions column. | Opens the trace details for a specific request that triggered the exception. For more information, see Trace Explorer. |

Set up alert rules for exceptions
Create alert rules to notify your operations team when exceptions occur, rather than diagnosing issues after the fact. Configure alerts for specific operations or apply them across all operations. For instructions, see Create an alert rule.