@Incubating(since="1.5.0") public interface JettyClientTagsProvider
Tags
for Jetty HttpClient
request metrics.
Incubating in case there emerges a better way to handle path variable detection.Modifier and Type | Method and Description |
---|---|
default java.lang.Iterable<Tag> |
httpRequestTags(org.eclipse.jetty.client.api.Result result)
Provides tags to be associated with metrics for the given client request.
|
java.lang.String |
uriPattern(org.eclipse.jetty.client.api.Result result)
For client metric to be usefully aggregable, we must be able to time everything that goes to a certain
endpoint, regardless of the parameters to that endpoint.
|
default java.lang.Iterable<Tag> httpRequestTags(org.eclipse.jetty.client.api.Result result)
result
- the request resultjava.lang.String uriPattern(org.eclipse.jetty.client.api.Result result)
result
- The result which also contains the original request.