Skip to content

Commit 9b88290

Browse files
committed
Enable runtime metrics by default
1 parent a0d95eb commit 9b88290

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

awsagentprovider/src/main/java/software/amazon/opentelemetry/javaagent/providers/AwsApplicationSignalsCustomizerProvider.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ private boolean isApplicationSignalsEnabled(ConfigProperties configProps) {
108108
}
109109

110110
private boolean isApplicationSignalsRuntimeEnabled(ConfigProperties configProps) {
111-
return false;
111+
return isApplicationSignalsEnabled(configProps)
112+
&& configProps.getBoolean(APPLICATION_SIGNALS_RUNTIME_ENABLED_CONFIG, true);
112113
}
113114

114115
private Map<String, String> customizeProperties(ConfigProperties configProps) {

0 commit comments

Comments
 (0)