OpenTelemetry SDK
    Preparing search index...

    This class can be used for testing purposes. It stores the exported spans in a list in memory that can be retrieved using the getFinishedSpans() method.

    Implements

    Index

    Constructors

    Properties

    _stopped: boolean

    Indicates if the exporter has been "shutdown." When false, exported spans will not be stored in-memory.

    Methods

    • Exports any pending spans in the exporter

      Returns Promise<void>

    • Returns ReadableSpan[]

    • Returns void

    • Stops the exporter.

      Returns Promise<void>