We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a25f04 commit e44bd80Copy full SHA for e44bd80
inferred-spans/src/main/java/io/opentelemetry/contrib/inferredspans/InferredSpansProcessor.java
@@ -57,9 +57,10 @@ public class InferredSpansProcessor implements SpanProcessor {
57
}
58
59
60
- public void setProfilerInterval(Duration interval) {
61
- config.setProfilerInterval(interval);
+ public Duration setProfilerInterval(Duration interval) {
+ Duration oldInterval = config.setProfilerInterval(interval);
62
profiler.reschedule();
63
+ return oldInterval
64
65
66
public static InferredSpansProcessorBuilder builder() {
0 commit comments