-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[APM] Language-specific stacktrace formatting #75924
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
Conversation
|
Pinging @elastic/apm-ui (Team:apm) |
...in the table and the header. Did this by adding `word-break: break-all` to them. Also: * Rename List to TransactionList * Add stories for TransactionList and ApmHeader * Add missing type information to transactions based on sample transaction * Fixes elastic#73960.
This reverts commit 1ef000e.
|
@felixbarny wrote (on internal Elastic Slack):
I did not change this. We're using the I agree with you it should show the class in the message, but I'm not sure this is the right place to do it.
Done. @formgeist this includes some changes to the spacing and indentation. I'm adding you as a reviewer. |
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.
The spacing and indentation make it look so much better. And the language-specific changes give the stack traces a native feel. Great improvement!
|
@elasticmachine merge upstream |
I think we should store the exception type and message in different fields but then display both.
You mean this PR is not the right place to do it? I'm fine either way but when not adding it in this PR, could you create a follow-up issue? But if it's a quick thing to do I'm not sure if the overhead of another issue is worth it. Up to you 🙂 |
Yes I'd like to do it in another PR, since this is about language-specific stackframes and this is making changes to messages. I'll open an issue. |
|
@elasticmachine merge upstream |
|
@felixbarny opened #76296 for message formatting. |
💚 Build SucceededBuild metrics@kbn/optimizer bundle module count
async chunks size
History
To update your PR or re-run it, just comment with: |
* [APM] Language-specific stacktrace formatting * Add todos * more * add at prefix for java * [APM] Fix overlapping transaction names ...in the table and the header. Did this by adding `word-break: break-all` to them. Also: * Rename List to TransactionList * Add stories for TransactionList and ApmHeader * Add missing type information to transactions based on sample transaction * Fixes elastic#73960. # Conflicts: # x-pack/plugins/apm/typings/es_schemas/raw/error_raw.ts
|
New bug: #80152 |
Create stackframe heading renderers for languages as described in #49467.
The intention is to make the frames look like they do in their native language stacktrace output.
The FrameHeading tests include examples.
Rename
IStackFrametoStackframeto match other interfaces.Fixes #49467.
Screenshots
.NET
Before
After
this is without
classnames. elastic/apm-agent-dotnet#848 is not yet merged, but there are examples withclassnamein the tests.Go
Before
After
Only spacing and indentation changed.
Java
Before
After
Node
Before
After
This now includes
classnameif it's sent but we don't have any Opbeans errors that include this.Python
Only spacing and indentation changed.
Ruby
Before
After
RUM
Before
After
RUM uses the same renderer as Node.