import Instrumentation
Coverage
Declarations
Interfaces
protocol Extractor : Sendable
Conforming types are used to extract values from a specific Carrier.
Carrier
protocol Injector : Sendable
Conforming types are used to inject values into a specific Carrier.
protocol Instrument : Sendable
Conforming types are usually cross-cutting tools like tracers. They are agnostic of what specific Carrier is used to propagate metadata across boundaries, but instead just specify what values to use for which keys.
enum InstrumentationSystem
InstrumentationSystem is a global facility where the default cross-cutting tool can be configured. It is set up just once in a given program to select the desired Instrument implementation.
InstrumentationSystem
Instrument
final class LockedValueBox<Value> where Value : Sendable
A wrapper providing locked access to a value.
struct MultiplexInstrument
A pseudo-Instrument that may be used to instrument using multiple other Instruments across a common ServiceContext.
ServiceContext
struct NoOpInstrument
A “no op” implementation of an Instrument.
final class ReadWriteLock
A threading lock based on libpthread instead of libdispatch.
libpthread
libdispatch
import Tracing
A Distributed Tracing API for Swift.