Options needed for span creation

1.0.0

interface SpanOptions {
    attributes?: @opentelemetry/api.Attributes;
    kind?: @opentelemetry/api.SpanKind;
    links?: @opentelemetry/api.Link[];
    root?: boolean;
    startTime?: @opentelemetry/api.TimeInput;
}

Properties

A span's attributes

The SpanKind of a span

Links span to other spans

root?: boolean

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

A manually specified start time for the created Span object.