1.0.0-preview.13 (2021-07-15)
Features Added
- Added support for disabling distributed tracing using the AZURE_TRACING_DISABLED environment variable.
Breaking Changes
- Removed
TestTracer
andTestSpan
from public API and into@azure/test-utils
. PR #16315TestTracer
andTestSpan
are intended for test support when used by other Azure packages and not intended for use by end users.
- Removed
setTracer
, @azure/core-tracing will now rely on thetrace
API to fetch a tracer from the global tracer provider. PR #16347- If you are using
setTracer
, please usetrace.setGlobalTracerProvider(provider)
instead as described in the OpenTelemetry documentation.
- If you are using
- Removed
NoOpTracer
andNoOpSpan
from the public API. Please usetrace.wrapSpanContext(INVALID_SPAN_CONTEXT)
from@opentelemetry/api
instead. PR #16315