Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OpenCensusSpanWrapper

Package version

An implementation of OpenTelemetry Span that wraps an OpenCensus Span.

Hierarchy

  • OpenCensusSpanWrapper

Implements

  • any

Index

Constructors

constructor

Methods

addEvent

  • addEvent(_name: string, _attributes?: Attributes): this

context

end

  • end(_endTime?: undefined | number): void

getWrappedSpan

  • getWrappedSpan(): OpenCensusSpan

isRecording

  • isRecording(): boolean

setAttribute

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

setAttributes

  • setAttributes(attributes: Attributes): this

setStatus

  • setStatus(status: Status): this

updateName

  • updateName(name: string): this

Generated using TypeDoc