-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
[otel-plugin] Add aliases for spanevent/logrecord exceptions #113636
[otel-plugin] Add aliases for spanevent/logrecord exceptions #113636
Conversation
...lugin/otel-data/src/main/resources/component-templates/[email protected]
Outdated
Show resolved
Hide resolved
@elasticmachine update branch |
...ugin/otel-data/src/main/resources/component-templates/[email protected]
Outdated
Show resolved
Hide resolved
error.exception.message: | ||
type: alias | ||
path: attributes.exception.message | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No alias for handled
, because we send it as error.exceptin.handled
(by inverting exception.escaped
and attaching it in the enrichment lib) - and that works via passthrough.
Just raising it here to double-check: that's ok, right?
Pinging @elastic/es-data-management (Team:Data Management) |
...ugin/otel-data/src/main/resources/component-templates/[email protected]
Outdated
Show resolved
Hide resolved
...ugin/otel-data/src/main/resources/component-templates/[email protected]
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Do we need to bump the version too?
@elasticmachine update branch |
To be on the safe side, I increased it. |
I think the failing test is being fixed in #113890. |
@elasticmachine update branch |
💔 Backport failed
You can use sqren/backport to manually backport by running |
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
…#113636) * Add tests for exceptions * Adapt aliases and move into a separate file * Clarify description in alias files * Handling stacktrace * Move error aliases to [email protected] * Update resources.yaml --------- Co-authored-by: Elastic Machine <[email protected]> (cherry picked from commit af7c81e) # Conflicts: # x-pack/plugin/otel-data/src/main/resources/resources.yaml
#113925) * Add tests for exceptions * Adapt aliases and move into a separate file * Clarify description in alias files * Handling stacktrace * Move error aliases to [email protected] * Update resources.yaml --------- Co-authored-by: Elastic Machine <[email protected]> (cherry picked from commit af7c81e) # Conflicts: # x-pack/plugin/otel-data/src/main/resources/resources.yaml Co-authored-by: Felix Barnsteiner <[email protected]> Co-authored-by: Elastic Machine <[email protected]>
…#113636) * Add tests for exceptions * Adapt aliases and move into a separate file * Clarify description in alias files * Handling stacktrace * Move error aliases to [email protected] * Update resources.yaml --------- Co-authored-by: Elastic Machine <[email protected]>
Adding aliases for exception fields.