Skip to content

Commit

Permalink
chore: use spancontext for link (open-telemetry#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
dyladan authored May 5, 2021
1 parent 9497b75 commit f5d8aaa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 26 deletions.
1 change: 0 additions & 1 deletion api/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 api/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 api/src/trace/link_context.ts

This file was deleted.

0 comments on commit f5d8aaa

Please sign in to comment.