public class Spans extends Object
| Constructor and Description |
|---|
Spans() |
| Modifier and Type | Method and Description |
|---|---|
static io.opentelemetry.api.trace.Span |
active()
活动中的Span(可能为Null;不推荐用)
|
static void |
active(Consumer<io.opentelemetry.api.trace.Span> consumer)
活动中的Span
|
public static io.opentelemetry.api.trace.Span active()
public static void active(Consumer<io.opentelemetry.api.trace.Span> consumer)
Copyright © 2025. All rights reserved.