Class OpenCensusTracerWrapper
Constructors
constructor
-
Parameters
Methods
bind
- bind<T>(target: T, span?: Span): T
-
Type parameters
Parameters
-
target: T
-
Optional span: Span
Returns T
getBinaryFormat
-
getCurrentSpan
- getCurrentSpan(): Span | null
-
Returns Span
|
null
getHttpTextFormat
-
getWrappedTracer
-
recordSpanData
- recordSpanData(span: Span): void
-
Parameters
Returns void
startSpan
-
Parameters
Returns Span
withSpan
- withSpan<T>(span: Span, fn: T): ReturnType<T>
-
Type parameters
Parameters
Returns ReturnType<T>
An implementation of OpenTelemetry Tracer that wraps an OpenCensus Tracer.