OpenTelemetry SDK
    Preparing search index...

    Interface NodeSDKConfiguration

    interface NodeSDKConfiguration {
        autoDetectResources: boolean;
        contextManager: ContextManager;
        idGenerator: IdGenerator;
        instrumentations: (
            | Instrumentation<InstrumentationConfig>
            | Instrumentation<InstrumentationConfig>[]
        )[];
        logRecordProcessors?: LogRecordProcessor[];
        metricReaders?: IMetricReader[];
        resource: Resource;
        resourceDetectors: ResourceDetector[];
        sampler: Sampler;
        serviceName?: string;
        spanLimits: SpanLimits;
        spanProcessors?: SpanProcessor[];
        textMapPropagator: TextMapPropagator<any> | null;
        traceExporter: SpanExporter;
        views: ViewOptions[];
    }
    Index
    autoDetectResources: boolean
    contextManager: ContextManager
    idGenerator: IdGenerator
    instrumentations: (
        | Instrumentation<InstrumentationConfig>
        | Instrumentation<InstrumentationConfig>[]
    )[]
    logRecordProcessors?: LogRecordProcessor[]
    metricReaders?: IMetricReader[]
    resource: Resource

    Custom resource to attach to telemetry. It is recommended to merge with the default resource via:

    resource: defaultResource().merge(
      resourceFromAttributes({ foo: 'bar' })
    )
    
    resourceDetectors: ResourceDetector[]
    sampler: Sampler
    serviceName?: string
    spanLimits: SpanLimits
    spanProcessors?: SpanProcessor[]
    textMapPropagator: TextMapPropagator<any> | null
    traceExporter: SpanExporter
    views: ViewOptions[]