You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/integrations/guide/source-code-integration.md
+9-14Lines changed: 9 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -476,22 +476,17 @@ You can see links from stack frames to their source repository in [Error Trackin
476
476
{{% /tab %}}
477
477
{{% tab "Continuous Profiler" %}}
478
478
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.
480
480
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.
485
488
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%;">}}
0 commit comments