Class Tracing
java.lang.Object
io.trino.filesystem.tracing.Tracing
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceTracing.CheckedRunnable<E extends Exception>static interfaceTracing.CheckedSupplier<T,E extends Exception> -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> io.opentelemetry.api.common.Attributesstatic <E extends Exception>
voidwithTracing(io.opentelemetry.api.trace.Span span, Tracing.CheckedRunnable<E> runnable) static <T,E extends Exception>
TwithTracing(io.opentelemetry.api.trace.Span span, Tracing.CheckedSupplier<T, E> supplier)
-
Method Details
-
attribute
public static <T> io.opentelemetry.api.common.Attributes attribute(io.opentelemetry.api.common.AttributeKey<T> key, Optional<T> optionalValue) -
withTracing
public static <E extends Exception> void withTracing(io.opentelemetry.api.trace.Span span, Tracing.CheckedRunnable<E> runnable) throws E - Throws:
E
-
withTracing
public static <T,E extends Exception> T withTracing(io.opentelemetry.api.trace.Span span, Tracing.CheckedSupplier<T, E> supplier) throws E- Throws:
E
-