TracerProviderBase class

A registry for creating named api.Tracers.

Implemented types
Implementers

Constructors

TracerProviderBase({List<SpanProcessor>? processors, Resource? resource, Sampler? sampler, IdGenerator? idGenerator, SpanLimits? spanLimits})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spanProcessors List<SpanProcessor>
no setter

Methods

forceFlush() → void
Flush all registered span processors.
override
getTracer(String name, {String? version = ''}) Tracer
Returns a Tracer, creating one if one with the given name and version is not already created.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shutdown() → void
Stop all registered span processors.
override
toString() String
A string representation of this object.
inherited

Operators

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