Options
All
  • Public
  • Public/Protected
  • All
Menu

TracerConfig provides an interface for configuring a Basic Tracer.

Hierarchy

  • TracerConfig

Index

Properties

forceFlushTimeoutMillis?: number

How long the forceFlush can run before it is cancelled. The default value is 30000ms

generalLimits?: GeneralLimits

General Limits

idGenerator?: IdGenerator

Generator of trace and span IDs The default idGenerator generates random ids

mergeResourceWithDefaults?: boolean

Merge resource with {@link Resource.default()}? Default: {@code true}

resource?: IResource

Resource associated with trace telemetry

sampler?: Sampler

Sampler determines if a span should be recorded or should be a NoopSpan.

spanLimits?: SpanLimits

Span Limits

spanProcessors?: SpanProcessor[]

List of SpanProcessor for the tracer

Generated using TypeDoc