Class: OpenTelemetryActivityInboundInterceptor
Experimental
Intercepts calls to start an Activity.
Wraps the operation in an opentelemetry Span and links it to a parent Span context if one is provided in the Activity input headers.
This interceptor is experimental and APIs may change without notice.
Implements
Constructors
Constructor
new OpenTelemetryActivityInboundInterceptor(
ctx,options?):OpenTelemetryActivityInboundInterceptor
Experimental
Parameters
ctx
options?
Returns
OpenTelemetryActivityInboundInterceptor
Methods
execute()
execute(
input,next):Promise<unknown>
Experimental
Called when Activity function is executed
Parameters
input
next
OmitLastParam<(input, next) => Promise<unknown>>
Returns
Promise<unknown>
result of Activity function