@grow-codes/zipkin - v0.1.1
    Preparing search index...

    Class ZipkinSpanExporter

    OpenTelemetry SpanExporter for Zipkin: maps each span with toZipkinSpan and sends the batch with a ZipkinReporter (POST /api/v2/spans, JSON v2, gzip by default, retries on 5xx/429/network errors). A failed batch reports FAILED to the span processor and is dropped.

    Implements

    • SpanExporter
    Index
    reporter: ZipkinReporter

    The reporter used to send spans.

    • Exports one batch; resultCallback receives SUCCESS or FAILED (with the error).

      Parameters

      • spans: ReadableSpan[]
      • resultCallback: (result: ExportResult) => void

      Returns void

    • Waits for every export in flight.

      Returns Promise<void>

    • Waits for in-flight exports, then closes an owned reporter. Idempotent.

      Returns Promise<void>