Type alias SpanInput

SpanInput: {
    correlationId?: string;
    dynamicMetadata?: Record<string, any>;
    parentSpanId?: string;
    parentSpanName?: string;
    parentTraceId?: string;
    service: string;
    spanName: string;
    staticMetadata?: Record<string, any>;
    tracer: MikroTrace;
}

Description

Input for creating a new Span.

Type declaration

  • Optional correlationId?: string

    Correlation ID of the call in which the span is started.

  • Optional dynamicMetadata?: Record<string, any>

    Dynamic AWS metadata.

  • Optional parentSpanId?: string

    Span ID of the span's parent.

  • Optional parentSpanName?: string

    Parent span's name.

  • Optional parentTraceId?: string

    Trace ID of the span's parent.

  • service: string

    Service name.

  • spanName: string

    Name of the span.

  • Optional staticMetadata?: Record<string, any>

    Static user-provided metadata.

  • tracer: MikroTrace

    An instance of MikroTrace.

Generated using TypeDoc