@grow-codes/datadog-apm - v0.1.1
    Preparing search index...

    Class DatadogSpanLinkProcessor

    Span processor that adds the terminatedContextLinks link to the first span started from an extracted context whose W3C context lost against Datadog headers. initTracing installs it.

    Implements

    • SpanProcessor
    Index
    • Forces to export all finished spans

      Returns Promise<void>

    • Called when a ReadableSpan is ended, if the span.isRecording() returns true.

      Returns void

    • Called when a Span is started, if the span.isRecording() returns true.

      Parameters

      • span: Span

        the Span that just started.

      • parentContext: Context

      Returns void

    • Shuts down the processor. Called when SDK is shut down. This is an opportunity for processor to do any cleanup required.

      Returns Promise<void>