Class TransferTracing
java.lang.Object
ecmwf.common.telemetry.TransferTracing
Optional, sampled traces for dissemination, retrieval and incoming portal transfers.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classstatic final class -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaccept(List<TransferSpan> spans) Validate, detach and enqueue only: no collector I/O on the RMI/REST thread.static TransferTracing.Attemptcompletion(DataTransfer transfer) static io.opentelemetry.context.Contextcontext(DataTransfer transfer) static voidcopy(DataTransfer source, DataTransfer target) static TransferTracing.Attemptdispatch(DataTransfer transfer) static TransferTracing.Attemptexecution(DataTransfer transfer) static booleanisStale(DataTransfer local, DataTransfer incoming) Only compare known attempt IDs, preserving interoperability with uninstrumented services.static io.opentelemetry.context.ContextportalTransfer(DataTransfer transfer, boolean upload, String protocol, String server, long startTime, long durationMillis, long bytes, boolean successful) static io.opentelemetry.context.ContextportalTransfer(DataTransfer transfer, ProxyEvent event, boolean successful) Records the protocol-reported duration of a completed incoming transfer and returns its log context.static TransferTracing.Retrievalretrieval(DataFile file, DataTransfer transfer, Host source) static voidshutdown()static void
-
Method Details
-
start
-
accept
Validate, detach and enqueue only: no collector I/O on the RMI/REST thread. -
shutdown
public static void shutdown() -
dispatch
-
execution
-
completion
-
retrieval
public static TransferTracing.Retrieval retrieval(DataFile file, DataTransfer transfer, Host source) -
portalTransfer
public static io.opentelemetry.context.Context portalTransfer(DataTransfer transfer, ProxyEvent event, boolean successful) Records the protocol-reported duration of a completed incoming transfer and returns its log context. -
portalTransfer
public static io.opentelemetry.context.Context portalTransfer(DataTransfer transfer, boolean upload, String protocol, String server, long startTime, long durationMillis, long bytes, boolean successful) -
context
-
copy
-
isStale
Only compare known attempt IDs, preserving interoperability with uninstrumented services.
-