Class UriVariablesTagSpanDecorator
java.lang.Object
org.zalando.riptide.opentracing.span.UriVariablesTagSpanDecorator
- All Implemented Interfaces:
SpanDecorator
A
decorator that extracts contextual tags from the used
URI template and URI variables.
Using this decorator in conjunction with http.get("/accounts/{account_id}", 792)
will produce the tag account_id=792.
The OpenTracing Semantic Specification: Start a new Span-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonRequest(io.opentracing.Span span, RequestArguments arguments) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.zalando.riptide.opentracing.span.SpanDecorator
onError, onResponse
-
Constructor Details
-
UriVariablesTagSpanDecorator
public UriVariablesTagSpanDecorator()
-
-
Method Details
-
onRequest
- Specified by:
onRequestin interfaceSpanDecorator
-