@FunctionalInterface public interface WebClientExchangeTagsProvider
Tags
provider for an exchange performed by a
WebClient
.Modifier and Type | Method and Description |
---|---|
Iterable<io.micrometer.core.instrument.Tag> |
tags(ClientRequest request,
ClientResponse response,
Throwable throwable)
Provide tags to be associated with metrics for the client exchange.
|
Iterable<io.micrometer.core.instrument.Tag> tags(ClientRequest request, ClientResponse response, Throwable throwable)
request
- the client requestresponse
- the server response (may be null
)throwable
- the exception (may be null
)