Skip to content

Commit 1df0eb3

Browse files
update doc comment
1 parent 3e6dfb5 commit 1df0eb3

File tree

1 file changed

+4
-0
lines changed
  • packages/interceptors-opentelemetry/src/workflow

1 file changed

+4
-0
lines changed

packages/interceptors-opentelemetry/src/workflow/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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
*/
5153
export 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
*/
9296
export class OpenTelemetryOutboundInterceptor implements WorkflowOutboundCallsInterceptor {
9397
protected readonly tracer = getTracer();

0 commit comments

Comments
 (0)