Skip to content

Adds a preceding "-D" for java system property #29909

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions content/en/database_monitoring/connect_dbm_and_apm.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ You must also enable the `jdbc-datasource` [instrumentation][2].

Enable the database monitoring propagation feature using **one** of the following methods:

- Set the system property `dd.dbm.propagation.mode=full`
- Set the system property `-Ddd.dbm.propagation.mode=full`
- Set the environment variable `DD_DBM_PROPAGATION_MODE=full`

Full example:
Expand Down Expand Up @@ -219,7 +219,7 @@ public class Application {

**Tracer versions 1.44 and above**:
Enable the prepared statements tracing for Postgres using **one** of the following methods:
- Set the system property `dd.dbm.trace_prepared_statements=true`
- Set the system property `-Ddd.dbm.trace_prepared_statements=true`
- Set the environment variable `export DD_DBM_TRACE_PREPARED_STATEMENTS=true`

**Note**: The prepared statements instrumentation overwrites the `Application` property with the text `_DD_overwritten_by_tracer`, and causes an extra round trip to the database. This additional round trip normally has a negligible impact on the SQL statement execution time.
Expand Down
Loading