public class NoopTelemetrySpan extends Object implements TelemetrySpan
TelemetrySpan.| Modifier and Type | Field | Description |
|---|---|---|
private static NoopTelemetrySpan |
INSTANCE |
| Modifier | Constructor | Description |
|---|---|---|
private |
NoopTelemetrySpan() |
| Modifier and Type | Method | Description |
|---|---|---|
static NoopTelemetrySpan |
getInstance() |
|
TelemetryScope |
makeCurrent() |
Takes this telemetry span and makes it current in the global telemetry context.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, end, setAttribute, setAttribute, setAttribute, setErrorprivate static NoopTelemetrySpan INSTANCE
public static NoopTelemetrySpan getInstance()
public TelemetryScope makeCurrent()
TelemetrySpanmakeCurrent in interface TelemetrySpanAutoCloseable telemetry scope that represents the current telemetry context.