OpenTelemetry SDK
    Preparing search index...

    A TracerProvider implementation that reads configuration defaults from OTEL_* environment variables per https://opentelemetry.io/docs/specs/otel/configuration/sdk-environment-variables/

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    • Parameters

      • depth: number
      • options: InspectStylizeOptions | undefined
      • inspect: InspectFn | undefined

      Returns unknown

    • Returns Promise<void>

    • Returns a Tracer, creating one if one with the given name and version is not already created.

      This function may return different Tracer types (e.g. NoopTracerProvider vs. a functional tracer).

      Parameters

      • name: string

        The name of the tracer or instrumentation library.

      • Optionalversion: string

        The version of the tracer or instrumentation library.

      • Optionaloptions: { schemaUrl?: string }

        The options of the tracer or instrumentation library.

      Returns Tracer

      Tracer A Tracer with the given name and version

    • Returns Promise<void>