Tracing::FlameLayer
Inherits Tracing::Layer < Reference < Object
A Layer that generates flamegraph data from span timings.
Records span enter/exit events with microsecond precision and
writes folded stack format output consumable by inferno.
Ported from upstream tracing_flame::FlameLayer.
Constructors
Class methods
Instance methods
close
Sourceon_new_span(attrs : Core::Span::Attributes, id : Core::Span::Id, ctx : LayerContext) : Nil
Called when a new span is created.