autoDetectResources
autoDetectResources: boolean
contextManager
contextManager: ContextManager
idGenerator
idGenerator: IdGenerator
instrumentations
instrumentations: (
| Instrumentation<InstrumentationConfig>
| Instrumentation<InstrumentationConfig>[]
)[]
OptionallogRecordProcessors
logRecordProcessors?: LogRecordProcessor[]
OptionalmetricReaders
metricReaders?: IMetricReader[]
resource
resource: Resource
resourceDetectors
resourceDetectors: ResourceDetector[]
OptionalserviceName
serviceName?: string
spanLimits
spanLimits: SpanLimits
OptionalspanProcessors
spanProcessors?: SpanProcessor[]
textMapPropagator
textMapPropagator: TextMapPropagator<any> | null
traceExporter
traceExporter: SpanExporter
views
views: ViewOptions[]
Custom resource to attach to telemetry. It is recommended to merge with the default resource via: