Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NoopSpan

The NoopSpan is the default Span that is used when no Span implementation is available. All operations are no-op including context propagation.

Hierarchy

  • NoopSpan

Implements

Index

Constructors

constructor

Properties

Private Readonly _spanContext

_spanContext: SpanContext

Methods

addEvent

  • addEvent(name: string, attributes?: Attributes): this

context

end

isRecording

  • isRecording(): boolean

recordException

setAttribute

  • setAttribute(key: string, value: unknown): this

setAttributes

setStatus

  • setStatus(status: Status): this

updateName

  • updateName(name: string): this