Skip to content
This repository was archived by the owner on Nov 17, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
chore: use spancontext for link
  • Loading branch information
dyladan committed May 3, 2021
commit 4caf03ad4ed19e56866819f671ea9964f6d907f1
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
4 changes: 2 additions & 2 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 @@ -34,7 +34,7 @@ import { LinkContext } from './link_context';
*/
export interface Link {
/** The {@link LinkContext} of a linked span. */
context: LinkContext;
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.