ai.foremast.micrometer.web.servlet

Class DefaultWebMvcTagsProvider

    • Constructor Detail

      • DefaultWebMvcTagsProvider

        public DefaultWebMvcTagsProvider()
    • Method Detail

      • httpLongRequestTags

        public Iterable<io.micrometer.core.instrument.Tag> httpLongRequestTags(@Nullable                                                                       javax.servlet.http.HttpServletRequest request,                                                                       @Nullable                                                                       Object handler)
        Supplies default tags to long task timers.
        Specified by:
        httpLongRequestTags in interface WebMvcTagsProvider
        Parameters:
        request - The HTTP request.
        handler - The request method that is responsible for handling the request.
        Returns:
        A set of tags added to every Spring MVC HTTP request
      • httpRequestTags

        public Iterable<io.micrometer.core.instrument.Tag> httpRequestTags(@Nullable                                                                   javax.servlet.http.HttpServletRequest request,                                                                   @Nullable                                                                   javax.servlet.http.HttpServletResponse response,                                                                   @Nullable                                                                   Object handler,                                                                   @Nullable                                                                   Throwable ex)
        Supplies default tags to the Web MVC server programming model.
        Specified by:
        httpRequestTags in interface WebMvcTagsProvider
        Parameters:
        request - The HTTP request.
        response - The HTTP response.
        ex - The current exception, if any
        handler - the handler for the request
        Returns:
        A set of tags added to every Spring MVC HTTP request.

Copyright © 2019 Foremast.AI. All rights reserved.



NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14