Class: OpenTelemetryNexusOutboundInterceptor
Intercepts outbound calls from a Nexus Operation handler.
Attaches OpenTelemetry context tracing attributes to emitted log messages.
Implements
Constructors
Constructor
new OpenTelemetryNexusOutboundInterceptor(
ctx):OpenTelemetryNexusOutboundInterceptor
Parameters
ctx
OperationContext
Returns
OpenTelemetryNexusOutboundInterceptor
Methods
getLogAttributes()
getLogAttributes(
input,next):Record<string,unknown>
Parameters
input
next
OmitLastParam<(input, next) => Record<string, unknown>>
Returns
Record<string, unknown>
Implementation of
NexusOutboundCallsInterceptor.getLogAttributes
getMetricTags()
getMetricTags(
input,next):GetMetricTagsInput
Parameters
input
next
OmitLastParam<(input, next) => MetricTags>
Returns
Implementation of
NexusOutboundCallsInterceptor.getMetricTags