Class VertxMetricsTags
- java.lang.Object
-
- io.quarkus.micrometer.runtime.binder.vertx.VertxMetricsTags
-
public class VertxMetricsTags extends Object
-
-
Constructor Summary
Constructors Constructor Description VertxMetricsTags()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.micrometer.core.instrument.Tagmethod(io.vertx.core.http.HttpMethod method)Creates amethodtag based on theHttpServerRequest.method()method of the givenrequest.static io.micrometer.core.instrument.Tagoutcome(io.vertx.core.spi.observability.HttpResponse response)Creates anoutcomeTagderived from the givenresponse.
-
-
-
Method Detail
-
method
public static io.micrometer.core.instrument.Tag method(io.vertx.core.http.HttpMethod method)
Creates amethodtag based on theHttpServerRequest.method()method of the givenrequest.- 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 anoutcomeTagderived from the givenresponse.- Parameters:
response- the response- Returns:
- the outcome tag
-
-