Class HttpClientUrlTemplate
java.lang.Object
io.opentelemetry.instrumentation.api.incubator.semconv.http.HttpClientUrlTemplate
A helper class for setting
url.template attribute value for HTTP client calls.-
Method Summary
-
Method Details
-
with
public static io.opentelemetry.context.Scope with(io.opentelemetry.context.Context context, String urlTemplate) Add url template to context and make the new context current. Http client calls made while the context is active will seturl.templateattribute to the supplied value. -
get
-