Skip to content

Commit

Permalink
Rename interface Propagation to Propagator
Browse files Browse the repository at this point in the history
  • Loading branch information
mayurkale22 committed Jun 28, 2019
1 parent 0e41718 commit ffb0490
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@

import { SpanContext } from '../../trace/span_context';

/** Defines a propagation interface. */
export interface Propagation {
/** Defines a Propagator interface. */
export interface Propagator {
/**
* Injects the given {@link SpanContext} instance to transmit over the wire.
*
Expand Down
5 changes: 3 additions & 2 deletions packages/opentelemetry-types/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@
* limitations under the License.
*/

export * from './context/propagation/Propagator';
export * from './resources/Resource';
export * from './trace/attributes';
export * from './trace/link';
export * from './trace/span';
export * from './trace/span_context';
export * from './trace/span_kind';
export * from './trace/status';
export * from './trace/link';
export * from './trace/attributes';
export * from './trace/trace_options';
export * from './trace/trace_state';

0 comments on commit ffb0490

Please sign in to comment.