DVRecentSpansExporter class

Keeps the most recent spans and forgets the rest.

This is the one the process holds open for its whole life, so it cannot be the unbounded kind: a server doing a thousand requests a second would otherwise be storing every span it ever produced, and the trace buffer would outgrow the application it belongs to.

Implemented types

Constructors

DVRecentSpansExporter({int capacity = 200})

Properties

capacity → int
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
spans → List<DVSpan>
Oldest first.
no setter

Methods

clear() → void
export(DVSpan span) → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited