Type alias SpanRepresentation

SpanRepresentation: {
    parentSpanId: string;
    reference: Span;
    spanId: string;
    spanName: string;
    traceId: string;
}

Description

This is how MikroTrace will represent each new span. MikroTrace will make certain lookups to process parent-child relationships.

Type declaration

  • parentSpanId: string

    Description

    The ID of the parent span.

  • reference: Span

    Description

    The span to reference.

  • spanId: string

    Description

    Span ID for this specific span.

  • spanName: string

    Description

    Name of the span.

  • traceId: string

    Description

    Trace ID for this specific tracer.

Generated using TypeDoc