Skip to content

Commit

Permalink
Merge pull request #2133 from newrelic/obfuscate-jvm-yml-update
Browse files Browse the repository at this point in the history
Add jvm prop settings to example yml file
  • Loading branch information
kanderson250 authored Nov 9, 2024
2 parents 18e4034 + a991d6f commit ff8fa95
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions newrelic-agent/src/main/resources/newrelic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,24 @@ common: &default_settings
# the regex if you have more complex start head elements (attributes for example). The defined pattern is case-insensitive.
tag_lib_head_pattern: '<head>'

# By default, the agent sends JVM input arguments to New Relic, where they are visible as Environment data.
# Set to false to disable the sending of JVM props.
send_jvm_props: true

# Before sending JVM props to New Relic, the agent will obfuscate all data in a prop after an = sign.
# For example, the property -Dmy.prop=my-value will be sent to New Relic as -Dmy.prop=obfuscated.
# By default, the standard and extended JVM props (those beginning with -X*) are sent unobfuscated.
# Available since agent 8.16.0.
obfuscate_jvm_props:
#To disable this feature, and send all JVM props unobfuscated, set enabled to false. The default is true.
#enabled: true

# A comma separated list of JVM property names whose values should be sent to New Relic unobfuscated.
#allow:

# A comma separated list of JVM property names whose values should be sent to New Relic obfuscated.
#block:

# Class transformer can be used to disable all agent instrumentation or specific instrumentation modules.
# All instrumentation modules can be found here: https://github.com/newrelic/newrelic-java-agent/tree/main/instrumentation
class_transformer:
Expand Down

0 comments on commit ff8fa95

Please sign in to comment.