Skip to content

Commit 40861b1

Browse files
authored
enable setting a double ratio, rather that just int (#21)
1 parent 8c42899 commit 40861b1

File tree

1 file changed

+1
-1
lines changed
  • spring-cloud-sleuth-otel-autoconfigure/src/main/java/org/springframework/cloud/sleuth/autoconfig/otel

1 file changed

+1
-1
lines changed

spring-cloud-sleuth-otel-autoconfigure/src/main/java/org/springframework/cloud/sleuth/autoconfig/otel/OtelProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public double getTraceIdRatioBased() {
9595
return this.traceIdRatioBased;
9696
}
9797

98-
public void setTraceIdRatioBased(int traceIdRatioBased) {
98+
public void setTraceIdRatioBased(double traceIdRatioBased) {
9999
this.traceIdRatioBased = traceIdRatioBased;
100100
}
101101

0 commit comments

Comments
 (0)