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

Conversation

joon-shin-ddhq
Copy link
Contributor

To set a java system property, each option must start with a hyphen (-), followed by a capital letter "D". Some customers are not aware of this requirement. Our documentation should be more explicit about how to add these options.

e.g. dd.dbm.propagation.mode=full >> -Ddd.dbm.propagation.mode=full

What does this PR do? What is the motivation?

Merge instructions

Merge readiness:

  • Ready for merge

For Datadog employees:

Your branch name MUST follow the <name>/<description> convention and include the forward slash (/). Without this format, your pull request will not pass CI, the GitLab pipeline will not run, and you won't get a branch preview. Getting a branch preview makes it easier for us to check any issues with your PR, such as broken links.

If your branch doesn't follow this format, rename it or create a new branch and PR.

[6/5/2025] Merge queue has been disabled on the documentation repo. If you have write access to the repo, the PR has been reviewed by a Documentation team member, and all of the required checks have passed, you can use the Squash and Merge button to merge the PR. If you don't have write access, or you need help, reach out in the #documentation channel in Slack.

Additional notes

To set a java system property, each option must start with a hyphen (-), followed by a capital letter "D". Some customers are not aware of this requirement. Our documentation should be more explicit about how to add these options.

e.g. dd.dbm.propagation.mode=full  >> -Ddd.dbm.propagation.mode=full
@joon-shin-ddhq joon-shin-ddhq requested review from a team as code owners June 12, 2025 14:17
Copy link
Contributor

github-actions bot commented Jun 12, 2025

✅ Documentation Team Review

The documentation team has approved this pull request. Thank you for your contribution!

Copy link
Contributor

Preview links (active after the build_preview check completes)

Modified Files

@joon-shin-ddhq
Copy link
Contributor Author

Here's a good example in another part of the Java APM documentation. Note the preceding -D in the JDBC-Datasource instrumentation example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants