Package version:

  • Enables Azure SDK Instrumentation using OpenTelemetry for Azure SDK client libraries.

    When registered, any Azure data plane package will begin emitting tracing spans for internal calls as well as network calls

    Example usage:

    const openTelemetryInstrumentation = require("@opentelemetry/instrumentation");
    openTelemetryInstrumentation.registerInstrumentations({
    instrumentations: [createAzureSdkInstrumentation()],
    })

    Parameters

    Returns Instrumentation

    As OpenTelemetry instrumentations rely on patching required modules, you should register this instrumentation as early as possible and before loading any Azure Client Libraries.