Skip to content

Commit 46759a2

Browse files
authored
change: default sample-rate to 100% (#55)
1 parent 8c11e8d commit 46759a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-starter/spring-boot-starter-core/src/main/java/com/getyourguide/openapi/validation/OpenApiValidationApplicationProperties.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
@Setter
2727
public class OpenApiValidationApplicationProperties {
2828
public static final String PROPERTY_PREFIX = "openapi.validation";
29-
private static final double SAMPLE_RATE_DEFAULT = 0.001; // 1.0 = 100%
29+
private static final double SAMPLE_RATE_DEFAULT = 1; // 1.0 = 100%
3030

3131
private Double sampleRate;
3232
private String specificationFilePath;

0 commit comments

Comments
 (0)