Skip to main content

Crate mas_context

Crate mas_context 

Source

Structs§

EventFormatter
An event formatter usable by the tracing_subscriber crate, which includes the log context and the OTEL trace ID.
LogContext
A log context saves informations about the current task, such as the elapsed time, the number of polls, and the poll time.
LogContextLayer
A layer which creates a log context for each request.
LogContextService
A service which wraps another service and creates a log context for each request.
LogContextStats
A snapshot of a log context statistics
PollRecordingFuture
A future which records the elapsed time and the number of polls in the active log context, and polls the inner future with the Sentry hub of the log context

Enums§

Requester
An identified principal making a request, recorded on the LogContext.

Statics§

CURRENT_LOG_CONTEXT

Type Aliases§

LogContextFuture