The @azure/logger configuration for this package.
Enables Azure SDK Instrumentation using OpenTelemetry for Azure SDK client libraries.
When registerd, 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()],
})
Converts core-tracing's TracingSpanLink to OpenTelemetry's Link
The core tracing {@link TracingSpanLink} to convert
A set of {@link Link}s
Converts core-tracing's span attributes to OpenTelemetry attributes.
The set of attributes to convert.
An {@link SpanAttributes} to set on a span.
Converts our TracingSpanKind to the corresponding OpenTelemetry SpanKind.
By default it will return {@link SpanKind.INTERNAL}
The core tracing {@link TracingSpanKind}
Converts core-tracing span options to OpenTelemetry options.
The {@link InstrumenterSpanOptions} to convert.
An OpenTelemetry {@link SpanOptions} that can be used when creating a span.
Generated using TypeDoc
A mapping between our {@link TracingSpanKind} union type and OpenTelemetry's {@link SpanKind}.