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
/// Convenience method to record an exception/error as an `Event`
43
+
///
44
+
/// An exception SHOULD be recorded as an Event on the span during which it occurred.
45
+
/// The name of the event MUST be "exception".
46
+
///
47
+
/// The semantic conventions for Errors are described in ["Semantic Conventions for Exceptions"](https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/trace/semantic_conventions/exceptions.md)
48
+
///
49
+
/// For now we will not set `exception.stacktrace` attribute since the `Error::backtrace`
50
+
/// method is still in nightly. Users can provide a stacktrace by using the
51
+
/// `record_exception_with_stacktrace` method.
52
+
///
53
+
/// Users can custom the exception message by overriding the `fmt::Display` trait's `fmt` method
0 commit comments