Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
23 lines
716 B
Plaintext
23 lines
716 B
Plaintext
import { TimeInput } from '../common/Time';
|
|
import { SpanAttributes } from './attributes';
|
|
import { Link } from './link';
|
|
import { SpanKind } from './span_kind';
|
|
/**
|
|
* Options needed for span creation
|
|
*/
|
|
export interface SpanOptions {
|
|
/**
|
|
* The SpanKind of a span
|
|
* @default {@link SpanKind.INTERNAL}
|
|
*/
|
|
kind?: SpanKind;
|
|
/** A span's attributes */
|
|
attributes?: SpanAttributes;
|
|
/** {@link Link}s span to other spans */
|
|
links?: Link[];
|
|
/** A manually specified start time for the created `Span` object. */
|
|
startTime?: TimeInput;
|
|
/** The new span should be a root span. (Ignore parent from context). */
|
|
root?: boolean;
|
|
}
|
|
//# sourceMappingURL=SpanOptions.d.ts.map |