-
Annotation TypeDescriptionThis interface is no longer used, or respected, in code.
-
FieldDescriptionPass Azure Resource Provider Namespace to Tracer factory method
TracerProvider.createTracer(String, String, String, TracingOptions)
useTracer.extractContext(Function)
andTracer.injectContext(BiConsumer, Context)
for context propagation.UseStartSpanOptions.addLink(TracingLink)
and pass enqueued time as an attribute on link.Deprecated in favor of PARENT_TRACE_CONTEXT_KEY, use it to propagate full io.opentelemetry.ContextuseTracer.makeSpanCurrent(Context)
instead.useStartSpanOptions.addLink(TracingLink)
insteadplease pass span name to Tracer.start methods.
-
MethodDescriptionUse
HttpHeaders.add(HttpHeaderName, String)
as it provides better performance.UseHttpHeaders.get(HttpHeaderName)
as it provides better performance.UseHttpHeaders.getValue(HttpHeaderName)
as it provides better performance.UseHttpHeaders.getValue(HttpHeaderName)
as it provides better performance.UseHttpHeaders.set(HttpHeaderName, String)
instead.UseHttpHeaders.remove(HttpHeaderName)
as it provides better performance.UseHttpHeaders.set(HttpHeaderName, String)
as it provides better performance.UseHttpHeaders.set(HttpHeaderName, List)
as it provides better performance.UseHttpRequest.setHeader(HttpHeaderName, String)
instead as is offers better performance.UseHttpResponse.getHeaderValue(HttpHeaderName)
as it provides better performance.UseClientOptions
to configureapplicationId
.UseClientOptions
to configureapplicationId
.refer the decoration samples forPagedFlux.create(Supplier)
.UseRequestOptions.addHeader(HttpHeaderName, String)
as it provides better performance.UseRequestOptions.setHeader(HttpHeaderName, String)
as it provides better performance.UseConfigurationBuilder
andConfigurationSource
to create configuration.UseConfigurationBuilder
andConfigurationSource
to provide all properties before creating configuration.UseConfigurationBuilder
andConfigurationSource
to provide all properties before creating configuration.Use localized implementation.UseClientLogger.logThrowableAsWarning(Throwable)
instead.deprecated to avoid directObjectMapper
usage in favor of using more resilient and debuggableJacksonAdapter
APIs.deprecated, useJacksonAdapter(BiConsumer<ObjectMapper, ObjectMapper>)
constructor to configure modules.set specific attribute e.g. http_status_code explicitly and useTracer.end(String, Throwable, Context)
.useStartSpanOptions.addLink(TracingLink)
insteadnot needed.useTracer.start(String, StartSpanOptions, Context)
instead.
-
ConstructorDescriptionUse one of the constants or the
HttpHeaderName.fromString(String)
factory method.Use one of the constants or theCloudEventDataFormat.fromString(String)
factory method.Use one of the constants or theGeoObjectType.fromString(String)
factory method.UseConfigurationBuilder
andConfigurationSource
that allow to provide all properties before creating configuration and keep it immutable.Use theExpandableStringEnum.fromString(String, Class)
factory method.Use one of the constants or theLongRunningOperationStatus.fromString(String, boolean)
factory method.
HttpClientOptions
.