Class: OttreliteExporterOTLP

@ottrelite/interop-otel.OttreliteExporterOTLP

Implements

  • SpanExporter

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new OttreliteExporterOTLP(config)

Creates a new C++ OTLP exporter instance.

Parameters

NameTypeDescription
configOTLPExporterConfigConfiguration for the OTLP exporter.

Properties

ReactNativeOttreliteInteropOTELExporterOTLPHybridObject

Protected ReactNativeOttreliteInteropOTELExporterOTLPHybridObject: ReactNativeOttreliteInteropOTELExporterOTLP


config

Private config: OTLPExporterConfig

Configuration for the OTLP exporter.

Methods

export

export(spans, resultCallback): void

Export buffered ReadableSpans to the OTLP endpoint.

Parameters

NameTypeDescription
spansReadableSpan[]The spans to export.
resultCallback(result: ExportResult) => voidThe callback to invoke with the result of this operation.

Returns

void

Implementation of

SpanExporter.export


forceFlush

Optional forceFlush(): Promise<undefined | void>

Export all spans.

Returns

Promise<undefined | void>

See

SpanExporter.forceFlush

Implementation of

SpanExporter.forceFlush


shutdown

shutdown(): Promise<void>

Shut down this exporter.

Returns

Promise<void>

Implementation of

SpanExporter.shutdown

Need to boost your app's performance?
We help React Native teams enhance speed, responsiveness, and efficiency.