接口 WebMvcTagsProvider

    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型方法说明
      Iterable<io.micrometer.core.instrument.Tag>getLongRequestTags​(javax.servlet.http.HttpServletRequest request, Object handler)
      Provides tags to be used by long task timers.
      Iterable<io.micrometer.core.instrument.Tag>getTags​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object handler, Throwable exception)
      Provides tags to be associated with metrics for the given request and response exchange.
    • 方法详细资料

      • getTags

        Iterable<io.micrometer.core.instrument.Tag> getTags​(javax.servlet.http.HttpServletRequest request,
                                                            javax.servlet.http.HttpServletResponse response,
                                                            Object handler,
                                                            Throwable exception)
        Provides tags to be associated with metrics for the given request and response exchange.
        参数:
        request - the request
        response - the response
        handler - the handler for the request or null if the handler is unknown
        exception - the current exception, if any
        返回:
        tags to associate with metrics for the request and response exchange
      • getLongRequestTags

        Iterable<io.micrometer.core.instrument.Tag> getLongRequestTags​(javax.servlet.http.HttpServletRequest request,
                                                                       Object handler)
        Provides tags to be used by long task timers.
        参数:
        request - the HTTP request
        handler - the handler for the request or null if the handler is unknown
        返回:
        tags to associate with metrics recorded for the request