Skip to content

Commit

Permalink
Document DI environment variables across languages
Browse files Browse the repository at this point in the history
  • Loading branch information
watson committed Jan 17, 2025
1 parent 5267746 commit 989dc1c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions content/en/dynamic_instrumentation/enabling/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,21 @@ Select your runtime below to learn how to enable Dynamic Instrumentation for you

{{< partial name="dynamic_instrumentation/dynamic-instrumentation-languages.html" >}}

## Supported environment variables

| Environment Variable | Default | Java | .NET | Python | Ruby | PHP | Node.js | Description
| -------------------- | ------- | ---- | ---- | ------ | ---- | --- | ------- | -----------
| `DD_DYNAMIC_INSTRUMENTATION_ENABLED` | `"false"` | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | Enable Dynamic Instrumentation
| `DD_DYNAMIC_INSTRUMENTATION_REDACTED_IDENTIFIERS` | `""` | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | Add identifiers to redact
| `DD_DYNAMIC_INSTRUMENTATION_REDACTED_TYPES` | `""` | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | Add types to redact
| `DD_DYNAMIC_INSTRUMENTATION_REDACTION_EXCLUDED_IDENTIFIERS` | `""` | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | Remove identifiers from redaction
| `DD_SERVICE` | `""` | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | Service name
| `DD_ENV` | `""` | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | Environment name
| `DD_VERSION` | `""` | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | Service version
| `DD_TAGS` | `""` | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | Tags
| `DD_GIT_REPOSITORY_URL` | `""` | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | Git repository URL
| `DD_GIT_COMMIT_SHA` | `""` | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | Git commit SHA

## Further reading

{{< partial name="whats-next/whats-next.html" >}}
Expand Down

0 comments on commit 989dc1c

Please sign in to comment.