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

Commit 9b3f9c7

Browse files
authored
chore: use spancontext for link (#58)
1 parent c595a59 commit 9b3f9c7

File tree

3 files changed

+3
-26
lines changed

3 files changed

+3
-26
lines changed

src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ export * from './propagation/NoopTextMapPropagator';
2222
export * from './propagation/TextMapPropagator';
2323
export * from './trace/attributes';
2424
export * from './trace/Event';
25-
export * from './trace/link_context';
2625
export * from './trace/link';
2726
export * from './trace/NoopTracer';
2827
export * from './trace/NoopTracerProvider';

src/trace/link.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616

1717
import { SpanAttributes } from './attributes';
18-
import { LinkContext } from './link_context';
18+
import { SpanContext } from './span_context';
1919

2020
/**
2121
* A pointer from the current {@link Span} to another span in the same trace or
@@ -33,8 +33,8 @@ import { LinkContext } from './link_context';
3333
* Service Provider) can be correlated.
3434
*/
3535
export interface Link {
36-
/** The {@link LinkContext} of a linked span. */
37-
context: LinkContext;
36+
/** The {@link SpanContext} of a linked span. */
37+
context: SpanContext;
3838
/** A set of {@link SpanAttributes} on the link. */
3939
attributes?: SpanAttributes;
4040
}

src/trace/link_context.ts

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)