Skip to content

intake: Add classname as stacktrace frame attribute#3096

Merged
simitt merged 4 commits intoelastic:masterfrom
simitt:3006-classname
Jan 6, 2020
Merged

intake: Add classname as stacktrace frame attribute#3096
simitt merged 4 commits intoelastic:masterfrom
simitt:3006-classname

Conversation

@simitt
Copy link
Copy Markdown
Contributor

@simitt simitt commented Dec 31, 2019

The current format of stacktrace frames does not well reflect native stacktraces for all languages. Especially .NET and Java are missing a classname attribute. More detailed discussions can be found at elastic/kibana#49467. This PR adds support for classname as a property of a stacktrace frame.

Intake API:
Adds support of classname as a valid property of a stacktrace frame to the Intake API. Requirements are changed, so that now either a classname or a filename is required for a stacktrace frame.

Calculating Error Grouping Key:
In case only classname is given, it will be used for calculating the grouping key, otherwise the calculation is not changed.

Source mapping
The RUM agent does not make use of classname, no changes are required for source mapping logic.

closes #3006

Require either classname or filename attribute for stacktrace frames on
Intake API. This supports more native stacktrace frame representation
for a couple of languages, e.g. Java and .NET.

closes elastic#3006
@codecov-io
Copy link
Copy Markdown

codecov-io commented Dec 31, 2019

Codecov Report

Merging #3096 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master   #3096   +/-   ##
======================================
  Coverage    78.9%   78.9%           
======================================
  Files          97      97           
  Lines        5010    5010           
======================================
  Hits         3953    3953           
  Misses       1057    1057

@simitt simitt merged commit 5f7b1f4 into elastic:master Jan 6, 2020
simitt added a commit to simitt/apm-server that referenced this pull request Jan 7, 2020
Require either classname or filename attribute for stacktrace frames on
Intake API. This supports more native stacktrace frame representation
for a couple of languages, e.g. Java and .NET.

closes elastic#3006

Co-Authored-By: Andrew Wilkins <axwalk@gmail.com>
simitt added a commit that referenced this pull request Jan 7, 2020
)

Require either classname or filename attribute for stacktrace frames on
Intake API. This supports more native stacktrace frame representation
for a couple of languages, e.g. Java and .NET.

closes #3006

Co-Authored-By: Andrew Wilkins <axwalk@gmail.com>
dgieselaar added a commit to dgieselaar/kibana that referenced this pull request Jan 13, 2020
In elastic/apm-server/pull/3096, an alternative to stacktrace.filename was introduced: stacktrace.classname. This change makes sure classname is properly represented in the UI and in our types.
dgieselaar added a commit to elastic/kibana that referenced this pull request Jan 14, 2020
In elastic/apm-server/pull/3096, an alternative to stacktrace.filename was introduced: stacktrace.classname. This change makes sure classname is properly represented in the UI and in our types.
dgieselaar added a commit to dgieselaar/kibana that referenced this pull request Jan 14, 2020
In elastic/apm-server/pull/3096, an alternative to stacktrace.filename was introduced: stacktrace.classname. This change makes sure classname is properly represented in the UI and in our types.
dgieselaar added a commit to elastic/kibana that referenced this pull request Jan 14, 2020
In elastic/apm-server/pull/3096, an alternative to stacktrace.filename was introduced: stacktrace.classname. This change makes sure classname is properly represented in the UI and in our types.
jkelastic pushed a commit to jkelastic/kibana that referenced this pull request Jan 17, 2020
In elastic/apm-server/pull/3096, an alternative to stacktrace.filename was introduced: stacktrace.classname. This change makes sure classname is properly represented in the UI and in our types.
@simitt simitt deleted the 3006-classname branch February 10, 2020 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add classname to stack trace frame fields

3 participants