Expand description

This module provides primitives to work with tracing and tracing-subscriber in Lambda functions.

The tracing and tracing-subscriber crates are re-exported so you don’t have to include them as direct dependencies in your projects.

Re-exports§

Modules§

  • Re-export the tracing crate to have access to tracing macros like info!, debug!, trace! and so on. Callsites represent the source locations from which spans or events originate.
  • Re-export the tracing crate to have access to tracing macros like info!, debug!, trace! and so on. Dispatches trace events to Subscribers.
  • Re-export the tracing crate to have access to tracing macros like info!, debug!, trace! and so on. Events represent single points in time during the execution of a program.
  • Re-export the tracing crate to have access to tracing macros like info!, debug!, trace! and so on. Span and Event key-value data.
  • Re-export the tracing crate to have access to tracing macros like info!, debug!, trace! and so on. Attach a span to a std::future::Future.
  • Re-export the tracing crate to have access to tracing macros like info!, debug!, trace! and so on. Trace verbosity level filtering.
  • Re-export the tracing crate to have access to tracing macros like info!, debug!, trace! and so on. Metadata describing trace data.
  • Re-export the tracing crate to have access to tracing macros like info!, debug!, trace! and so on. Spans represent periods of time in which a program was executing in a particular context.

Macros§

  • Re-export the tracing crate to have access to tracing macros like info!, debug!, trace! and so on. Constructs an event at the debug level.
  • Re-export the tracing crate to have access to tracing macros like info!, debug!, trace! and so on. Constructs a span at the debug level.
  • Re-export the tracing crate to have access to tracing macros like info!, debug!, trace! and so on. Checks whether a span or event is enabled based on the provided metadata.
  • Re-export the tracing crate to have access to tracing macros like info!, debug!, trace! and so on. Constructs an event at the error level.
  • Re-export the tracing crate to have access to tracing macros like info!, debug!, trace! and so on. Constructs a span at the error level.
  • Re-export the tracing crate to have access to tracing macros like info!, debug!, trace! and so on. Constructs a new Event.
  • Re-export the tracing crate to have access to tracing macros like info!, debug!, trace! and so on. Tests whether an event with the specified level and target would be enabled.
  • Re-export the tracing crate to have access to tracing macros like info!, debug!, trace! and so on. Constructs an event at the info level.
  • Re-export the tracing crate to have access to tracing macros like info!, debug!, trace! and so on. Constructs a span at the info level.
  • Re-export the tracing crate to have access to tracing macros like info!, debug!, trace! and so on. Statically constructs new span metadata.
  • Re-export the tracing crate to have access to tracing macros like info!, debug!, trace! and so on. Constructs a new span.
  • Re-export the tracing crate to have access to tracing macros like info!, debug!, trace! and so on. Tests whether a span with the specified level and target would be enabled.
  • Re-export the tracing crate to have access to tracing macros like info!, debug!, trace! and so on. Constructs an event at the trace level.
  • Re-export the tracing crate to have access to tracing macros like info!, debug!, trace! and so on. Constructs a span at the trace level.
  • Re-export the tracing crate to have access to tracing macros like info!, debug!, trace! and so on. Constructs an event at the warn level.
  • Re-export the tracing crate to have access to tracing macros like info!, debug!, trace! and so on. Constructs a span at the warn level.

Structs§

  • Re-export the tracing crate to have access to tracing macros like info!, debug!, trace! and so on. Dispatch trace data to a Subscriber.
  • Re-export the tracing crate to have access to tracing macros like info!, debug!, trace! and so on. Events represent single points in time where something occurred during the execution of a program.
  • Re-export the tracing crate to have access to tracing macros like info!, debug!, trace! and so on. Identifies a span within the context of a subscriber.
  • Re-export the tracing crate to have access to tracing macros like info!, debug!, trace! and so on. Describes the level of verbosity of a span or event.
  • Re-export the tracing crate to have access to tracing macros like info!, debug!, trace! and so on. Metadata describing a span or event.
  • Re-export the tracing crate to have access to tracing macros like info!, debug!, trace! and so on. A handle representing a span, with the capability to enter the span if it exists.

Traits§

  • Re-export the tracing crate to have access to tracing macros like info!, debug!, trace! and so on. Trait implemented by callsites.
  • Re-export the tracing crate to have access to tracing macros like info!, debug!, trace! and so on. Attaches spans to a std::future::Future.
  • Re-export the tracing crate to have access to tracing macros like info!, debug!, trace! and so on. Trait representing the functions required to collect trace data.
  • Re-export the tracing crate to have access to tracing macros like info!, debug!, trace! and so on. A field value of an erased type.

Functions§

  • Initialize tracing-subscriber with default options. The subscriber uses RUST_LOG as the environment variable to determine the log level for your function. It also uses Lambda’s advance logging controls if they’re configured for your function. By default, the log level to emit events is INFO.

Attribute Macros§

  • Re-export the tracing crate to have access to tracing macros like info!, debug!, trace! and so on. Instruments a function to create and enter a tracing span every time the function is called.