SimpleSpanProcessor class final
Represents simple span processor.
- Implemented types
Constructors
- SimpleSpanProcessor(SpanExporter exporter, {int maxPendingExports = 2048, Duration? exportTimeout = const Duration(seconds: 30), TelemetryErrorHandler? onExportError})
- Creates a instance.
Properties
- droppedSpans → int
-
The dropped spans.
no setter
- exporter → SpanExporter
-
The exporter.
final
- exportFailures → int
-
The export failures.
no setter
- exportTimeout → Duration?
-
The export timeout.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxPendingExports → int
-
The max pending exports.
final
- onExportError → TelemetryErrorHandler?
-
The on export error.
final
- pendingExports → int
-
The pending exports.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
forceFlush(
) → Future< void> -
Performs force flush.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onEnd(
SpanData span) → void -
Performs on end.
override
-
onStart(
Span span) → void -
Performs on start.
override
-
shutdown(
) → Future< void> -
Performs shutdown.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited