Class VertxMetricsTags


  • public class VertxMetricsTags
    extends Object
    • Constructor Detail

      • VertxMetricsTags

        public VertxMetricsTags()
    • Method Detail

      • method

        public static io.micrometer.core.instrument.Tag method​(io.vertx.core.http.HttpMethod method)
        Creates a method tag based on the HttpServerRequest.method() method} of the given request.
        Parameters:
        method - the request method
        Returns:
        the method tag whose value is a capitalized method (e.g. GET).
      • outcome

        public static io.micrometer.core.instrument.Tag outcome​(io.vertx.core.spi.observability.HttpResponse response)
        Creates an outcome Tag derived from the given response.
        Parameters:
        response - the response
        Returns:
        the outcome tag