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

chore: use spancontext for link #58

Merged
merged 3 commits into from
May 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
Flarna marked this conversation as resolved.
Show resolved Hide resolved
/** 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.