vaadin / observability-kit

Other
5 stars 2 forks source link

Provide option to mark root spans as failed if a nested error occurs #81

Open sissbruecker opened 2 years ago

sissbruecker commented 2 years ago

Vendors like Dynatrace, New Relic do only include traces in their error monitoring if the root trace itself is marked as an error, nested traces having an error are not enough.

We could provide an option to mark root spans as errors, if a nested instrumentation records an exception. We could also consider doing that by default, as from a "user operation" perspective, if some RPC call during a user-initiated request fails, then from a user perspective the operation has failed.