类 DefaultRestTemplateExchangeTagsProvider

    • 方法详细资料

      • getTags

        public Iterable<io.micrometer.core.instrument.Tag> getTags​(String urlTemplate,
                                                                   org.springframework.http.HttpRequest request,
                                                                   org.springframework.http.client.ClientHttpResponse response)
        从接口复制的说明: RestTemplateExchangeTagsProvider
        Provides the tags to be associated with metrics that are recorded for the given request and response exchange.
        指定者:
        getTags 在接口中 RestTemplateExchangeTagsProvider
        参数:
        urlTemplate - the source URl template, if available
        request - the request
        response - the response (may be null if the exchange failed)
        返回:
        the tags