@FunctionalInterface
public interface RestTemplateExchangeTagsProvider
Tags for an exchange performed by a RestTemplate.| Modifier and Type | Method and Description |
|---|---|
java.lang.Iterable<io.micrometer.core.instrument.Tag> |
getTags(java.lang.String urlTemplate,
org.springframework.http.HttpRequest request,
org.springframework.http.client.ClientHttpResponse response)
Provides the tags to be associated with metrics that are recorded for the given
request and response exchange. |
java.lang.Iterable<io.micrometer.core.instrument.Tag> getTags(java.lang.String urlTemplate,
org.springframework.http.HttpRequest request,
org.springframework.http.client.ClientHttpResponse response)
request and response exchange.urlTemplate - the source URl template, if availablerequest - the requestresponse - the response (may be null if the exchange failed)