Skip to content

Commit

Permalink
Remove Leftover configs (#850)
Browse files Browse the repository at this point in the history
* Add DEFAULT_SDK_REGISTRATION_CONFIG

* remove DEFAULT_SDK_REGISTRATION_CONFIG

* fix: build
  • Loading branch information
mayurkale22 authored Mar 11, 2020
1 parent abd191b commit c842117
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions packages/opentelemetry-tracing/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,7 @@
* limitations under the License.
*/

import {
ALWAYS_SAMPLER,
HttpTraceContext,
LogLevel,
} from '@opentelemetry/core';
import { NoopScopeManager } from '@opentelemetry/scope-base';
import { ALWAYS_SAMPLER, LogLevel } from '@opentelemetry/core';

/** Default limit for Message events per span */
export const DEFAULT_MAX_EVENTS_PER_SPAN = 128;
Expand All @@ -36,10 +31,8 @@ export const DEFAULT_MAX_LINKS_PER_SPAN = 32;
*/
export const DEFAULT_CONFIG = {
defaultAttributes: {},
httpTextFormat: new HttpTraceContext(),
logLevel: LogLevel.DEBUG,
sampler: ALWAYS_SAMPLER,
scopeManager: new NoopScopeManager(),
traceParams: {
numberOfAttributesPerSpan: DEFAULT_MAX_ATTRIBUTES_PER_SPAN,
numberOfLinksPerSpan: DEFAULT_MAX_LINKS_PER_SPAN,
Expand Down

0 comments on commit c842117

Please sign in to comment.