Skip to content
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.

Commit

Permalink
chore: use spancontext for link (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
dyladan committed May 5, 2021
1 parent c595a59 commit 9b3f9c7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 26 deletions.
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ export * from './propagation/NoopTextMapPropagator';
export * from './propagation/TextMapPropagator';
export * from './trace/attributes';
export * from './trace/Event';
export * from './trace/link_context';
export * from './trace/link';
export * from './trace/NoopTracer';
export * from './trace/NoopTracerProvider';
Expand Down
6 changes: 3 additions & 3 deletions src/trace/link.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

import { SpanAttributes } from './attributes';
import { LinkContext } from './link_context';
import { SpanContext } from './span_context';

/**
* A pointer from the current {@link Span} to another span in the same trace or
Expand All @@ -33,8 +33,8 @@ import { LinkContext } from './link_context';
* Service Provider) can be correlated.
*/
export interface Link {
/** The {@link LinkContext} of a linked span. */
context: LinkContext;
/** The {@link SpanContext} of a linked span. */
context: SpanContext;
/** A set of {@link SpanAttributes} on the link. */
attributes?: SpanAttributes;
}
22 changes: 0 additions & 22 deletions src/trace/link_context.ts

This file was deleted.

0 comments on commit 9b3f9c7

Please sign in to comment.