Skip to content

Commit

Permalink
Update documentation with the new DD_PROFILING_ENABLED && `DD_PROFI…
Browse files Browse the repository at this point in the history
…LING_DIRECTALLOCATION_ENABLED` supported envvars (#175)

See #173
  • Loading branch information
guizmaii authored Nov 17, 2024
1 parent ab1a5d3 commit 449b646
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions SBT_DATADOG_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,12 @@ datadogApmVersion := "1.36.0"
#### `datadogApmEnabled`

You can easily disable the Datadog APM by settings this setting to `false`.
Note that if you have the `DD_TRACE_ENABLED` environment variable set, it'll take precedence over this setting.
See https://docs.datadoghq.com/tracing/trace_collection/library_config/java/

Default value: `true`

If you have the `DD_TRACE_ENABLED` environment variable set, it'll take precedence over this setting.

```scala
datadogApmEnabled := true
```
Expand All @@ -62,9 +63,11 @@ datadogApmEnabled := true
Datadog Profiling.
See https://docs.datadoghq.com/profiler/enabling/java/?tab=commandarguments

Default value: `true`
Default value: `true`
Will be deactivated if `datadogApmEnabled` is `false`

If you have the `DD_PROFILING_ENABLED` environment variable set, it'll take precedence over this setting.

```scala
datadogProfilingEnabled := true
```
Expand All @@ -74,9 +77,11 @@ datadogProfilingEnabled := true
Datadog Allocations Profiling.
See https://docs.datadoghq.com/profiler/enabling/java/?tab=commandarguments

Default value: `true`
Default value: `true`
Will be deactivated if `datadogApmEnabled` is `false`

If you have the `DD_PROFILING_DIRECTALLOCATION_ENABLED` environment variable set, it'll take precedence over this setting.

```scala
datadogAllocationProfilingEnabled := true
```
Expand Down

0 comments on commit 449b646

Please sign in to comment.