Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions docs/DynamicInstrumentation.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Dynamic Instrumentation

## Getting Started

To use dynamic instrumentation:

1. Ensure you are using a production environment
(`RAILS_ENV=production`, etc.).
2. Ensure you have `DD_ENV` set:

export DD_ENV=prod

3. Ensure you set the [source code metadata tags](https://docs.datadoghq.com/integrations/guide/source-code-integration/?tab=ruby#embed-git-information-in-your-build-artifacts):

export DD_GIT_REPOSITORY_URL=https://github.com/example-org/repo
export DD_GIT_COMMIT_SHA=`git rev-parse HEAD`

## Instrumentable Code

Instrumentation can be installed on lines containing executable code and
Expand Down
Loading