diff --git a/plugins/node/opentelemetry-koa-instrumentation/src/types.ts b/plugins/node/opentelemetry-koa-instrumentation/src/types.ts index 23f1264c37..9e9aaad17b 100644 --- a/plugins/node/opentelemetry-koa-instrumentation/src/types.ts +++ b/plugins/node/opentelemetry-koa-instrumentation/src/types.ts @@ -43,6 +43,9 @@ export enum KoaLayerType { export const KoaComponentName = 'koa'; +/** + * extends opentelemetry/api Span object to instrument the root span name of http plugin by getting parent span id + */ export interface KoaPluginSpan extends Span { parentSpanId?: string; }