Skip to content

Conversation

PyvesB
Copy link
Member

@PyvesB PyvesB commented Sep 18, 2025

What does this PR do? What is the motivation?

The screenshot and instructions to view source code in the Continuous Profiler were outdated, let's update them!

Merge instructions

Merge readiness:

  • Ready for merge

For Datadog employees:

Your branch name MUST follow the <name>/<description> convention and include the forward slash (/). Without this format, your pull request will not pass CI, the GitLab pipeline will not run, and you won't get a branch preview. Getting a branch preview makes it easier for us to check any issues with your PR, such as broken links.

If your branch doesn't follow this format, rename it or create a new branch and PR.

[6/5/2025] Merge queue has been disabled on the documentation repo. If you have write access to the repo, the PR has been reviewed by a Documentation team member, and all of the required checks have passed, you can use the Squash and Merge button to merge the PR. If you don't have write access, or you need help, reach out in the #documentation channel in Slack.

Additional notes

@github-actions github-actions bot added Images Images are added/removed with this PR Guide Content impacting a guide labels Sep 18, 2025
Comment on lines -488 to -494
You can also see links from profile frames to their source repository. This is supported for profiles broken down by line, method, or file.

1. Navigate to [**APM** > **Profile Search**][2].
2. Hover your cursor over a method in the flame graph. A kebab icon with the **More actions** label appears on the right.
3. Click **More actions** > **View in repo** to open the trace in its source code repository.

{{< img src="integrations/guide/source_code_integration/profiler-link-to-git.png" alt="Link to GitHub from the Continuous Profiler" style="width:100%;">}}
Copy link
Member Author

Choose a reason for hiding this comment

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

The View in repo flow is technically still supported at the time of writing. Rather than overwhelming users with all the ways they can achieve the same goal, I chose to be opinionated and only advertise one.

Copy link
Member

Choose a reason for hiding this comment

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

Sounds fair!

Copy link
Contributor

Preview links (active after the build_preview check completes)

Modified Files

Comment on lines -488 to -494
You can also see links from profile frames to their source repository. This is supported for profiles broken down by line, method, or file.

1. Navigate to [**APM** > **Profile Search**][2].
2. Hover your cursor over a method in the flame graph. A kebab icon with the **More actions** label appears on the right.
3. Click **More actions** > **View in repo** to open the trace in its source code repository.

{{< img src="integrations/guide/source_code_integration/profiler-link-to-git.png" alt="Link to GitHub from the Continuous Profiler" style="width:100%;">}}
Copy link
Member

Choose a reason for hiding this comment

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

Sounds fair!

@PyvesB PyvesB marked this pull request as ready for review September 19, 2025 08:29
@PyvesB PyvesB requested a review from a team as a code owner September 19, 2025 08:29
@brett0000FF brett0000FF self-assigned this Sep 19, 2025
Copy link
Contributor

@brett0000FF brett0000FF left a comment

Choose a reason for hiding this comment

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

Thanks for this update! I just left a few small edits to consider.

PyvesB and others added 4 commits September 19, 2025 17:39
Co-authored-by: Brett Blue <[email protected]>
Co-authored-by: Brett Blue <[email protected]>
@brett0000FF brett0000FF merged commit 039f747 into master Sep 19, 2025
16 checks passed
@brett0000FF brett0000FF deleted the py/update-profiler-source-code-integration branch September 19, 2025 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Guide Content impacting a guide Images Images are added/removed with this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants