Skip to content

Conversation

@Mpdreamz
Copy link
Member

@Mpdreamz Mpdreamz commented Jul 30, 2024

OpenTelemetry today just sends a tree of exception.message and exception.type

The current logic for haveExceptionStackTrace determines there is a stack trace if there is an exception tree.

This PR ensures that when an exception tree has no stacktrace anywhere in the tree we include
exception.message into the hash so that we don't just hash over exception.type.

This PR also fixes if we only receive stack trace as string we atleast hash over that instead.

…ble.

OpenTelemetry today just sends a tree of `exception.message` and `exception.type`

The current logic for `haveExceptionStackTrace` determines there is a stack trace if there is an
exception tree.

This PR ensures that when an exception tree has no stacktrace anywhere in the tree we include
`exception.message` into the hash so that we don't just hash over `exception.type`.
@Mpdreamz Mpdreamz requested a review from a team as a code owner July 30, 2024 08:31
@obltmachine obltmachine added the safe-to-test Changes are safe to run in the CI label Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe-to-test Changes are safe to run in the CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants