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 e44bd80 commit 7fe0164Copy full SHA for 7fe0164
inferred-spans/src/main/java/io/opentelemetry/contrib/inferredspans/InferredSpans.java
@@ -42,10 +42,11 @@ public static boolean isEnabled() {
42
*
43
* @param interval the new profiler interval
44
*/
45
- public static void setProfilerInterval(Duration interval) {
+ public static Duration setProfilerInterval(Duration interval) {
46
InferredSpansProcessor p = instance;
47
if (p != null) {
48
- p.setProfilerInterval(interval);
+ return p.setProfilerInterval(interval);
49
}
50
+ return null;
51
52
0 commit comments