File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -646,7 +646,7 @@ where
646
646
/// exceptions][conv].
647
647
///
648
648
/// * Only events without a message field (unnamed events) and at least one field with the name error
649
- /// are considered for mapping.
649
+ /// are considered for mapping.
650
650
///
651
651
/// By default, these events are mapped.
652
652
///
@@ -1693,7 +1693,7 @@ mod tests {
1693
1693
let context = tracing_error:: SpanTrace :: capture ( ) ;
1694
1694
1695
1695
// This can cause a deadlock if `on_record` locks extensions while attributes are visited
1696
- span. record ( "exception" , & tracing:: field:: debug ( & context) ) ;
1696
+ span. record ( "exception" , tracing:: field:: debug ( & context) ) ;
1697
1697
// This can cause a deadlock if `on_event` locks extensions while the event is visited
1698
1698
tracing:: info!( exception = & tracing:: field:: debug( & context) , "hello" ) ;
1699
1699
} ) ;
Original file line number Diff line number Diff line change 20
20
//! special fields are:
21
21
//!
22
22
//! * `otel.name`: Override the span name sent to OpenTelemetry exporters.
23
- //! Setting this field is useful if you want to display non-static information
24
- //! in your span name.
23
+ //! Setting this field is useful if you want to display non-static information
24
+ //! in your span name.
25
25
//! * `otel.kind`: Set the span kind to one of the supported OpenTelemetry [span kinds].
26
26
//! * `otel.status_code`: Set the span status code to one of the supported OpenTelemetry [span status codes].
27
27
//! * `otel.status_message`: Set the span status message.
You can’t perform that action at this time.
0 commit comments