Module lambda_runtime_api_client::tracing
source · 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§
pub use tracing_subscriber as subscriber;
Modules§
- Re-export the
tracingcrate to have access to tracing macros likeinfo!,debug!,trace!and so on. Callsites represent the source locations from which spans or events originate. - Re-export the
tracingcrate to have access to tracing macros likeinfo!,debug!,trace!and so on. Dispatches trace events toSubscribers. - Re-export the
tracingcrate to have access to tracing macros likeinfo!,debug!,trace!and so on. Events represent single points in time during the execution of a program. - Re-export the
tracingcrate to have access to tracing macros likeinfo!,debug!,trace!and so on.SpanandEventkey-value data. - Re-export the
tracingcrate to have access to tracing macros likeinfo!,debug!,trace!and so on. Attach a span to astd::future::Future. - Re-export the
tracingcrate to have access to tracing macros likeinfo!,debug!,trace!and so on. Trace verbosity level filtering. - Re-export the
tracingcrate to have access to tracing macros likeinfo!,debug!,trace!and so on. Metadata describing trace data. - Re-export the
tracingcrate to have access to tracing macros likeinfo!,debug!,trace!and so on. Spans represent periods of time in which a program was executing in a particular context.
Macros§
- Re-export the
tracingcrate to have access to tracing macros likeinfo!,debug!,trace!and so on. Constructs an event at the debug level. - Re-export the
tracingcrate to have access to tracing macros likeinfo!,debug!,trace!and so on. Constructs a span at the debug level. - Re-export the
tracingcrate to have access to tracing macros likeinfo!,debug!,trace!and so on. Constructs an event at the error level. - Re-export the
tracingcrate to have access to tracing macros likeinfo!,debug!,trace!and so on. Constructs a span at the error level. - Re-export the
tracingcrate to have access to tracing macros likeinfo!,debug!,trace!and so on. Constructs a newEvent. - Re-export the
tracingcrate to have access to tracing macros likeinfo!,debug!,trace!and so on. Tests whether an event with the specified level and target would be enabled. - Re-export the
tracingcrate to have access to tracing macros likeinfo!,debug!,trace!and so on. Constructs an event at the info level. - Re-export the
tracingcrate to have access to tracing macros likeinfo!,debug!,trace!and so on. Constructs a span at the info level. - Re-export the
tracingcrate to have access to tracing macros likeinfo!,debug!,trace!and so on. Statically constructs new span metadata. - Re-export the
tracingcrate to have access to tracing macros likeinfo!,debug!,trace!and so on. Constructs a new span. - Re-export the
tracingcrate to have access to tracing macros likeinfo!,debug!,trace!and so on. Tests whether a span with the specified level and target would be enabled. - Re-export the
tracingcrate to have access to tracing macros likeinfo!,debug!,trace!and so on. Constructs an event at the trace level. - Re-export the
tracingcrate to have access to tracing macros likeinfo!,debug!,trace!and so on. Constructs a span at the trace level. - Re-export the
tracingcrate to have access to tracing macros likeinfo!,debug!,trace!and so on. Constructs an event at the warn level. - Re-export the
tracingcrate to have access to tracing macros likeinfo!,debug!,trace!and so on. Constructs a span at the warn level.
Structs§
- Re-export the
tracingcrate to have access to tracing macros likeinfo!,debug!,trace!and so on.Dispatchtrace data to aSubscriber. - Re-export the
tracingcrate to have access to tracing macros likeinfo!,debug!,trace!and so on.Events represent single points in time where something occurred during the execution of a program. - Re-export the
tracingcrate to have access to tracing macros likeinfo!,debug!,trace!and so on. Identifies a span within the context of a subscriber. - Re-export the
tracingcrate to have access to tracing macros likeinfo!,debug!,trace!and so on. Describes the level of verbosity of a span or event. - Re-export the
tracingcrate to have access to tracing macros likeinfo!,debug!,trace!and so on. A handle representing a span, with the capability to enter the span if it exists.
Traits§
- Re-export the
tracingcrate to have access to tracing macros likeinfo!,debug!,trace!and so on. Trait implemented by callsites. - Re-export the
tracingcrate to have access to tracing macros likeinfo!,debug!,trace!and so on. Attaches spans to astd::future::Future. - Re-export the
tracingcrate to have access to tracing macros likeinfo!,debug!,trace!and so on. Trait representing the functions required to collect trace data. - Re-export the
tracingcrate to have access to tracing macros likeinfo!,debug!,trace!and so on. A field value of an erased type.
Functions§
- Initialize
tracing-subscriberwith default options. The subscriber usesRUST_LOGas 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 isINFO.
Attribute Macros§
- Re-export the
tracingcrate to have access to tracing macros likeinfo!,debug!,trace!and so on. Instruments a function to create and enter atracingspan every time the function is called.