Strands Agents Typescript SDK
    Preparing search index...

    Interface TracerConfig

    Configuration options for setting up the tracer.

    interface TracerConfig {
        provider?: NodeTracerProvider;
        exporters?: { otlp?: boolean; console?: boolean };
    }
    Index

    Properties

    provider?: NodeTracerProvider

    Custom NodeTracerProvider instance. If not provided, one will be created with default configuration.

    exporters?: { otlp?: boolean; console?: boolean }

    Exporter configuration.

    Type Declaration

    • Optionalotlp?: boolean

      Enable OTLP exporter. Uses OTEL_EXPORTER_OTLP_ENDPOINT and OTEL_EXPORTER_OTLP_HEADERS env vars automatically.

    • Optionalconsole?: boolean

      Enable console exporter for debugging.