We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a31f8db commit 35be2a5Copy full SHA for 35be2a5
1 file changed
src/layer.rs
@@ -65,6 +65,15 @@ where
65
66
/// Construct a layer to track spans via [OpenTelemetry].
67
///
68
+/// It will convert the tracing spans to OpenTelemetry spans
69
+/// and tracing events which are in a span to events in the currently active OpenTelemetry span.
70
+/// Child-Parent links will be automatically translated as well.
71
+/// Follows-From links will also be generated, but only if the originating span has not been closed yet.
72
+///
73
+/// Various translations exist between semantic conventions of OpenTelemetry and `tracing`,
74
+/// such as including level information as fields, or mapping error fields to exceptions.
75
+/// See the various `layer().with_*` functions for configuration of these features.
76
77
/// [OpenTelemetry]: https://opentelemetry.io
78
79
/// # Examples
0 commit comments