Interface holding all properties that can be set on a Span on creation.

Hierarchy

Properties

data?: {
    [key: string]: any;
}

Data of the Span.

Type declaration

  • [key: string]: any
description?: string

Description of the Span.

endTimestamp?: number

Timestamp in seconds (epoch time) indicating when the span ended.

instrumenter?: Instrumenter

The instrumenter that created this span.

op?: string

Operation of the Span.

parentSpanId?: string

Parent Span ID

sampled?: boolean

Was this span chosen to be sent as part of the sample?

spanId?: string

Span ID

startTimestamp?: number

Timestamp in seconds (epoch time) indicating when the span started.

status?: string

Completion status of the Span. See: {@sentry/tracing SpanStatus} for possible values

tags?: {
    [key: string]: Primitive;
}

Tags of the Span.

Type declaration

  • [key: string]: Primitive
traceId?: string

Trace ID

Generated using TypeDoc