Skip to content

AgentTraceGetSpansByReferenceOptions

AgentTraceGetSpansByReferenceOptions = PaginationOptions & { endTime?: Date; executionType?: SpanExecutionType; serviceType?: string; startTime?: Date; traceId?: string; version?: string; }

Options for the spans-by-reference query.

Composes the optional hierarchy/time filters with pagination options.

Type Declaration

endTime?

optional endTime: Date

Exclusive upper bound on span end time.

executionType?

optional executionType: SpanExecutionType

Execution type filter

serviceType?

optional serviceType: string

Restrict matches to hierarchy entries with this service type.

startTime?

optional startTime: Date

Inclusive lower bound on span start time.

traceId?

optional traceId: string

Optional trace scope — narrows the scan to a single trace.

version?

optional version: string

Restrict matches to hierarchy entries with this version.