You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/Instrumentation/Instrument.swift
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -56,6 +56,8 @@ public protocol Injector: Sendable {
56
56
///
57
57
/// The types are agnostic of the specific `Carrier` used to propagate metadata across API boundaries.
58
58
/// Instead they specify the values to use for which keys.
59
+
///
60
+
/// Typically this type is implemented by an instrumentation, or tracing, library, while the injector/extractor types are implemented by a concrete library adopting the instrumentation library.
59
61
publicprotocolInstrument:Sendable{
60
62
/// Extract values from a carrier, using the given extractor, and inject them into the provided service context.
0 commit comments