File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ pub trait Span {
154
154
where
155
155
T : Into < Cow < ' static , str > > ;
156
156
157
- /// Adds a link to another `SpanContext`.
157
+ /// Adds [`Link`] to another [ `SpanContext`] .
158
158
///
159
159
/// This method allows linking the current span to another span, identified by its `SpanContext`. Links can be used
160
160
/// to connect spans from different traces or within the same trace. Attributes can be attached to the link to
@@ -167,6 +167,7 @@ pub trait Span {
167
167
/// * `attributes` - A vector of `KeyValue` pairs that describe additional attributes of the link. These attributes
168
168
/// can include any contextual information relevant to the link between the spans.
169
169
///
170
+ /// [`Link`]: crate::trace::Link
170
171
fn add_link ( & mut self , span_context : SpanContext , attributes : Vec < KeyValue > ) ;
171
172
172
173
/// Signals that the operation described by this span has now ended.
You can’t perform that action at this time.
0 commit comments