UITracerProvider class
- Implemented types
Properties
- enabled ↔ bool
-
Returns whether this tracer provider is enabled.
getter/setter pairoverride
- endpoint ↔ String
-
Gets the endpoint URL used by this tracer provider.
getter/setter pairoverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- isShutdown ↔ bool
-
Returns whether this tracer provider has been shut down.
getter/setter pairoverride
- resource ↔ Resource?
-
The resource associated with this provider.
getter/setter pairoverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sampler ↔ Sampler?
-
The default sampler to use for new tracers.
getter/setter pairoverride
- serviceName ↔ String
-
Gets the service name used by this tracer provider.
getter/setter pairoverride
- serviceVersion ↔ String?
-
Gets the service version used by this tracer provider.
getter/setter pairoverride
-
spanProcessors
→ List<
SpanProcessor> -
Get all registered span processors
no setteroverride
Methods
-
addSpanProcessor(
SpanProcessor processor) → void -
Add a span processor
override
-
ensureResourceIsSet(
) → void -
Ensures the resource for this provider is properly set.
override
-
forceFlush(
) → Future< void> -
Flushes all the span processors
override
-
getTracer(
String name, {String? version, String? schemaUrl, Attributes? attributes, Sampler? sampler}) → Tracer -
Returns a
APITracerwith the givennameandversion.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
shutdown(
) → Future< bool> -
Shuts down the TracerProvider.
After shutdown:
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited