Class VertxMetricsTags

java.lang.Object
io.quarkus.micrometer.runtime.binder.vertx.VertxMetricsTags

public class VertxMetricsTags extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    static io.micrometer.core.instrument.Tag
    outcome(io.vertx.core.spi.observability.HttpResponse response)
    Creates an outcome Tag derived from the given response.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • VertxMetricsTags

      public VertxMetricsTags()
  • Method Details

    • 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