Skip to content

[Profiling] Add fake frame when truncating stacks#1679

Merged
morrisonlevi merged 2 commits into
masterfrom
levi/profiling-truncated-frames
Aug 1, 2022
Merged

[Profiling] Add fake frame when truncating stacks#1679
morrisonlevi merged 2 commits into
masterfrom
levi/profiling-truncated-frames

Conversation

@morrisonlevi

@morrisonlevi morrisonlevi commented Aug 1, 2022

Copy link
Copy Markdown
Collaborator

Description

The exact fake frame name may change to align with other profilers,
but currently this information is missing and we can't easily tell if
a customer has hit a stalk walking bug, genuinely has weird stacks, or
if it's been truncated.

Here's a screenshot with an artificial max depth of 4 to illustrate it:
Screenshot of Datadog profiling page with an example of a truncated stack

Readiness checklist

  • Changelog has been added to the release document.
  • Tests added for this feature/bug.

Reviewer checklist

  • Appropriate labels assigned.
  • Milestone is set.

The exact fake frame name may change to align with other profilers,
but currently this information is missing and we can't easily tell if
a customer has hit a stalk walking bug, genuinely has weird stacks, or
if it's been truncated.
@morrisonlevi morrisonlevi added 🏆 enhancement A new feature or improvement profiling Relates to the Continuous Profiler labels Aug 1, 2022
@morrisonlevi morrisonlevi added this to the 0.77.0 milestone Aug 1, 2022
@morrisonlevi morrisonlevi changed the title [Profiling] Add [truncated] frame when truncating stacks [Profiling] Add fake frame when truncating stacks Aug 1, 2022
@morrisonlevi
morrisonlevi marked this pull request as ready for review August 1, 2022 16:13
@morrisonlevi
morrisonlevi requested a review from a team as a code owner August 1, 2022 16:13

@r1viollet r1viollet left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That should make room ! 👍
LGTM

@morrisonlevi
morrisonlevi merged commit 4104f1f into master Aug 1, 2022
@morrisonlevi
morrisonlevi deleted the levi/profiling-truncated-frames branch August 1, 2022 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🏆 enhancement A new feature or improvement profiling Relates to the Continuous Profiler

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants