Skip to main content

tracing_layer

Function tracing_layer 

Source
pub fn tracing_layer<S>() -> SentryLayer<S>
where S: Subscriber + for<'a> LookupSpan<'a>,
Expand description

Build the sentry-tracing layer with our chosen severity mapping.

  • ERROR -> Sentry event (operator-visible alert)
  • WARN -> breadcrumb attached to the next event
  • INFO/DEBUG/TRACE -> ignored (too noisy for breadcrumbs; already surfaced via the structured log shipper)