OtlpHttpSpanExporter class
An OpenTelemetry span exporter that exports spans using OTLP over HTTP/protobuf
- Implemented types
Constructors
- OtlpHttpSpanExporter([OtlpHttpExporterConfig? config])
- Creates a new OTLP HTTP span exporter with the specified configuration. If no configuration is provided, default settings will be used.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
export(
List< Span> spans) → Future<void> -
Exports a batch of finished Spans.
override
-
forceFlush(
) → Future< void> -
Force flush any pending spans
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
shutdown(
) → Future< void> -
Shuts down the exporter.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited