Skip to content

Commit

Permalink
refactor: add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
DinaYakovlev committed Jan 28, 2021
1 parent 5a4dded commit 9eb7e3e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/node/opentelemetry-koa-instrumentation/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 9eb7e3e

Please sign in to comment.