Interface RestTemplateExchangeTagsProvider

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      Iterable<io.micrometer.core.instrument.Tag>getTags​(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.
    • Method Detail

      • getTags

        Iterable<io.micrometer.core.instrument.Tag> getTags​(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.
        Parameters:
        urlTemplate - the source URl template, if available
        request - the request
        response - the response (may be null if the exchange failed)
        Returns:
        the tags