Skip to content

Commit 039f747

Browse files
PyvesBbrett0000FF
andauthored
Update Continuous Profiler source code instructions (#31721)
* Update Continuous Profiler source code instructions * Pluralise profiles to match nav bar * Add service selection step Co-authored-by: Brett Blue <[email protected]> * Update source code preview terminology Co-authored-by: Brett Blue <[email protected]> * Update numbering Co-authored-by: Brett Blue <[email protected]> * Update steps Co-authored-by: Brett Blue <[email protected]> --------- Co-authored-by: Brett Blue <[email protected]>
1 parent c6e058a commit 039f747

File tree

2 files changed

+9
-14
lines changed

2 files changed

+9
-14
lines changed

content/en/integrations/guide/source-code-integration.md

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -476,22 +476,17 @@ You can see links from stack frames to their source repository in [Error Trackin
476476
{{% /tab %}}
477477
{{% tab "Continuous Profiler" %}}
478478

479-
You can see a source code preview for profile frames in the [Continuous Profiler][1].
479+
You can see source code previews directly in [Continuous Profiler][1] flame graphs.
480480

481-
1. Navigate to [**APM** > **Profile Search**][2].
482-
2. Hover your cursor over a method in the flame graph.
483-
3. If needed, press `Opt` or `Alt` to enable the preview.
484-
4. If you're using the GitHub or GitLab integrations, click **Connect to preview** to see inline code snippets directly in the flame graph.
481+
1. Navigate to [**APM** > **Profiles** > **Explorer**][2].
482+
2. Select the service you want to investigate.
483+
3. Hover your cursor over a method in the flame graph.
484+
4. Press `Opt` (on macOS) or `Ctrl` (on other operating systems) to lock the tooltip so you can interact with its contents.
485+
5. If prompted, click **Connect to preview**. The first time you do this for a repository, you will be redirected to GitHub to **Authorize** the Datadog application.
486+
6. After authorizing, the source code preview appears in the tooltip.
487+
7. Click the file link in the tooltip to open the full source code file in your repository.
485488

486-
{{< img src="integrations/guide/source_code_integration/profiler-source-code-preview.png" alt="Source code preview in the Continuous Profiler" style="width:100%;">}}
487-
488-
You can also see links from profile frames to their source repository. This is supported for profiles broken down by line, method, or file.
489-
490-
1. Navigate to [**APM** > **Profile Search**][2].
491-
2. Hover your cursor over a method in the flame graph. A kebab icon with the **More actions** label appears on the right.
492-
3. Click **More actions** > **View in repo** to open the trace in its source code repository.
493-
494-
{{< img src="integrations/guide/source_code_integration/profiler-link-to-git.png" alt="Link to GitHub from the Continuous Profiler" style="width:100%;">}}
489+
{{< img src="integrations/guide/source_code_integration/profiler-source-code-preview-2.png" alt="Source code preview in the Continuous Profiler" style="width:100%;">}}
495490

496491
[1]: /profiler/
497492
[2]: https://app.datadoghq.com/profiling/explorer
668 KB
Loading

0 commit comments

Comments
 (0)