diff --git a/content/en/integrations/guide/source-code-integration.md b/content/en/integrations/guide/source-code-integration.md index 3f6bcaedc3e4b..cba399d3f93ff 100644 --- a/content/en/integrations/guide/source-code-integration.md +++ b/content/en/integrations/guide/source-code-integration.md @@ -581,6 +581,30 @@ If you're using the GitHub integration, click **Connect to preview** on error fr [101]: https://app.datadoghq.com/security/appsec +{{% /tab %}} +{{% tab "Dynamic Instrumentation" %}} + +You can see full source code files in [**Dynamic Instrumentation**][102] when creating or editing an instrumentation (dynamic log, metric, span, or span tags). + +#### Create new instrumentation + +1. Navigate to [**APM** > **Dynamic Instrumentation**][101]. +2. Select **Create New Instrumentation** and choose a service to instrument. +3. Search for and select a source code filename or method. + +#### View or edit instrumentation + +1. Navigate to [**APM** > **Dynamic Instrumentation**][101]. +2. Select an existing instrumentation from the list, then click **View Events**. +3. Select the instrumentation card to view its location in the source code. + +{{< img src="integrations/guide/source_code_integration/dynamic-instrumentation-create-new.png" alt="Source Code File in Dynamic Instrumentation" style="width:100%;">}} + +For more information, see the [Dynamic Instrumentation documentation][102]. + +[101]: https://app.datadoghq.com/dynamic-instrumentation/events +[102]: /dynamic_instrumentation/ + {{% /tab %}} {{< /tabs >}} diff --git a/static/images/integrations/guide/source_code_integration/dynamic-instrumentation-create-new.png b/static/images/integrations/guide/source_code_integration/dynamic-instrumentation-create-new.png new file mode 100644 index 0000000000000..5ce79de2ffe67 Binary files /dev/null and b/static/images/integrations/guide/source_code_integration/dynamic-instrumentation-create-new.png differ