Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure more unique grouping key when parsed stack trace is not available. #331

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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