Options
All
  • Public
  • Public/Protected
  • All
Menu

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.

Hierarchy

  • InMemorySpanExporter

Implements

Index

Constructors

Properties

_stopped: boolean = false

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

Methods

  • forceFlush(): Promise<void>
  • reset(): void
  • shutdown(): Promise<void>

Generated using TypeDoc