File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
packages/interceptors-opentelemetry/src/workflow Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,8 @@ function getTracer(): otel.Tracer {
4747 *
4848 * Wraps the operation in an opentelemetry Span and links it to a parent Span context if one is
4949 * provided in the Workflow input headers.
50+ *
51+ * `@temporalio/workflow` must be provided by host package in order to function.
5052 */
5153export class OpenTelemetryInboundInterceptor implements WorkflowInboundCallsInterceptor {
5254 protected readonly tracer = getTracer ( ) ;
@@ -88,6 +90,8 @@ export class OpenTelemetryInboundInterceptor implements WorkflowInboundCallsInte
8890 * Intercepts outbound calls to schedule an Activity
8991 *
9092 * Wraps the operation in an opentelemetry Span and passes it to the Activity via headers.
93+ *
94+ * `@temporalio/workflow` must be provided by host package in order to function.
9195 */
9296export class OpenTelemetryOutboundInterceptor implements WorkflowOutboundCallsInterceptor {
9397 protected readonly tracer = getTracer ( ) ;
You can’t perform that action at this time.
0 commit comments