Skip to content
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

JFR on-by-default #333

Merged
merged 1 commit into from
Jun 24, 2021
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class JfrConfigImpl extends BaseConfig implements JfrConfig {

public static final String SYSTEM_PROPERTY_ROOT = "newrelic.config.jfr.";
public static final String ENABLED = "enabled";
public static final Boolean ENABLED_DEFAULT = Boolean.FALSE;
public static final Boolean ENABLED_DEFAULT = Boolean.TRUE;
public static final String AUDIT_LOGGING = "audit_logging";
public static final Boolean AUDIT_LOGGING_DEFAULT = Boolean.FALSE;
public static final Boolean USE_LICENSE_KEY_DEFAULT = Boolean.TRUE;
Expand Down
6 changes: 3 additions & 3 deletions newrelic-agent/src/main/resources/newrelic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -279,9 +279,9 @@ common: &default_settings
# Requires a JVM that provides the JFR library.
jfr:

# Set to true to enable Real-time profiling with JFR.
# Default is false.
enabled: false
# Set to false to disable Real-time profiling with JFR.
# Default is true.
enabled: true

# Set to true to enable audit logging which will display all JFR metrics and events in each harvest batch.
# Audit logging is extremely verbose and should only be used for troubleshooting purposes.
Expand Down