Options needed for span creation

1.0.0

interface SpanOptions {
    attributes?: Attributes;
    kind?: SpanKind;
    links?: Link[];
    root?: boolean;
    startTime?: TimeInput;
}

Hierarchy (View Summary)

Properties

attributes?: Attributes

A span's attributes

kind?: SpanKind

The SpanKind of a span

links?: Link[]

Links span to other spans

root?: boolean

The new span should be a root span. (Ignore parent from context).

startTime?: TimeInput

A manually specified start time for the created Span object.