Skip to content

Commit

Permalink
chore(tracing): dont use internal core type #2177 (#2178)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Dyla <[email protected]>
  • Loading branch information
vmarchaud and dyladan authored May 11, 2021
1 parent 1218a3c commit 5cd02aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/opentelemetry-core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export * from './trace/sampler/AlwaysOnSampler';
export * from './trace/sampler/ParentBasedSampler';
export * from './trace/sampler/TraceIdRatioBasedSampler';
export * from './trace/TraceState';
export * from './utils/environment';
export * from './utils/sampling';
export * from './utils/url';
export * from './utils/wrap';
Expand Down
2 changes: 1 addition & 1 deletion packages/opentelemetry-tracing/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import {
getEnv,
TracesSamplerValues,
ParentBasedSampler,
ENVIRONMENT,
TraceIdRatioBasedSampler,
} from '@opentelemetry/core';
import { ENVIRONMENT } from '@opentelemetry/core/src/utils/environment';

const env = getEnv();
const FALLBACK_OTEL_TRACES_SAMPLER = TracesSamplerValues.AlwaysOn;
Expand Down

0 comments on commit 5cd02aa

Please sign in to comment.