Tracing::ChromeLayer
Inherits Tracing::Layer < Reference < Object
A Layer that writes Chrome trace format JSON.
Constructors
Instance methods
get_callsite(data : EventOrSpan) : CallsiteInfo
Sourceon_close(id : Core::Span::Id, ctx : LayerContext) : Nil
Called immediately before a span is closed and removed from the registry.
on_new_span(attrs : Core::Span::Attributes, id : Core::Span::Id, ctx : LayerContext) : Nil
Called when a new span is created.
on_record(id : Core::Span::Id, values : Core::Span::Record, ctx : LayerContext) : Nil
Called when fields are recorded on a span.
send_message(message : Message) : Nil
Sourcetid
Sourcets
Source