Skip to content

Commit f3ad02d

Browse files
committed
[#12457] Backport: Update s3 client error mark
1 parent 0a7b046 commit f3ad02d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

agent-module/agent/src/main/resources/profiles/local/pinpoint.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,7 @@ profiler.aws.sdk.s3.enable=true
843843
# Allow profiling status code value.
844844
profiler.aws.sdk.s3.statuscode=true
845845
# Mark error
846-
profiler.aws.sdk.s3.mark.error=true
846+
profiler.aws.sdk.s3.mark.error=false
847847
# Cannot be used with the Apache HttpClient 4.x or JDK HttpURLConnection.
848848
# Use the -Dprofiler.apache.httpclient4.enable=false or -Dprofiler.jdk.http=false setting.
849849

agent-module/agent/src/main/resources/profiles/release/pinpoint.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ profiler.aws.sdk.s3.enable=true
840840
# Allow profiling status code value.
841841
profiler.aws.sdk.s3.statuscode=true
842842
# Mark error
843-
profiler.aws.sdk.s3.mark.error=true
843+
profiler.aws.sdk.s3.mark.error=false
844844
# Cannot be used with the Apache HttpClient 4.x or JDK HttpURLConnection.
845845
# Use the -Dprofiler.apache.httpclient4.enable=false or -Dprofiler.jdk.http=false setting.
846846

agent-module/plugins/aws-sdk-s3/src/main/java/com/navercorp/pinpoint/plugin/aws/sdk/s3/AwsSdkS3PluginConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public static boolean isStatusCode(ProfilerConfig config) {
3030
}
3131

3232
public static boolean isMarkError(ProfilerConfig config) {
33-
return config.readBoolean("profiler.aws.sdk.s3.mark.error", Boolean.TRUE);
33+
return config.readBoolean("profiler.aws.sdk.s3.mark.error", Boolean.FALSE);
3434
}
3535

3636
public AwsSdkS3PluginConfig(ProfilerConfig config) {

0 commit comments

Comments
 (0)