Skip to content

Commit 466a163

Browse files
heckjktoso
andauthored
Apply suggestion from @ktoso
Co-authored-by: Konrad `ktoso` Malawski <[email protected]>
1 parent 156f464 commit 466a163

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/Instrumentation/Instrument.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ public protocol Injector: Sendable {
5656
///
5757
/// The types are agnostic of the specific `Carrier` used to propagate metadata across API boundaries.
5858
/// 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.
5961
public protocol Instrument: Sendable {
6062
/// Extract values from a carrier, using the given extractor, and inject them into the provided service context.
6163
///

0 commit comments

Comments
 (0)