@microsoft/opentelemetry
    Preparing search index...

    Function useMicrosoftOpenTelemetry

    • Initialize Microsoft OpenTelemetry distribution.

      This is the primary entry point for the distro. It sets up OpenTelemetry providers and instrumentations, then attaches the configured exporters:

      • Azure Monitor (when options.azureMonitor is provided or the APPLICATIONINSIGHTS_CONNECTION_STRING env var is set; explicitly disable with options.azureMonitor.enabled = false)
      • OTLP HTTP (when OTEL_EXPORTER_OTLP_ENDPOINT is set)
      • A365 (when the resolved A365 config has enabled=true; the ENABLE_A365_OBSERVABILITY_EXPORTER env var is only considered when options.a365 is provided)

      Parameters

      Returns void