Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Exporter

Package version

Defines a trace exporter interface.

Hierarchy

Index

Methods

onEndSpan

  • onEndSpan(span: Span): void
  • Happens when a span is ended

    Parameters

    Returns void

onStartSpan

  • onStartSpan(span: Span): void
  • Happens when a span is started

    Parameters

    Returns void

publish

  • publish(rootSpans: Span[]): Promise<number | string | void>
  • Sends a list of root spans to the service.

    Parameters

    • rootSpans: Span[]

      A list of root spans to publish.

    Returns Promise<number | string | void>

Generated using TypeDoc