Crate tracelite

Crate tracelite 

Source

Modules§

clocks
export
globals
id_generators
sampling
span_collections

Macros§

__attr_key
__new_span
attributes
debug2_event
debug_event
error2_event
error_event
event
fatal_event
info2_event
info_event
new_debug2_span
new_debug_span
new_error2_span
new_error_span
new_fatal_span
new_info2_span
new_info_span
new_span
new_trace2_span
new_trace_span
new_warn2_span
new_warn_span
span_attributes
trace2_event
trace_event
warn2_event
warn_event

Structs§

AttributeList
DefaultTracer
DefaultTracerConfig
DisabledSpanBuilder
Like SpanBuilder, except everything but the parent span information gets discarded
EventArgs
EventBuilder
NoCurrentSpan
NoTracerRegistered
OwnedSpanRef
PrivateMarker
Can only be constructed by this crate - used to mark operation which must not be freely called by users, but only in one specific circumstance.
RecordingSpanContext
SeverityParseError
SpanArgs
SpanBuilder
SpanCollectionIndex
SpanContext
SpanId
SpanRef
TraceId
TracingContext

Enums§

AttributeValue
Exception
InstrumentationError
MaybeInSpan
Severity
SpanKind
SpanStatus
Text
TODO with the addition of FormatArgs, the name does not fit anymore

Traits§

InSpan
RecordException
RecordExceptionDebugFmt
Tracer

Functions§

current_span
install_tracer_micropb_tokio_h2grpc
install_tracer_micropb_tokio_test
set_attributes
NOTE you will likely want to use span_attributes!() instead
set_error_status
set_ok_status
set_status
set_tracer
sync_in_span
tracer

Type Aliases§

BaggageKey
BaggageMap
BaggageValue

Attribute Macros§

debug2_span
debug_span
error2_span
error_span
fatal_span
info2_span
info_span
trace2_span
trace_span
warn2_span
warn_span