Class VertxMetricsTags
java.lang.Object
io.quarkus.micrometer.runtime.binder.vertx.VertxMetricsTags
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-
Constructor Details
-
VertxMetricsTags
public VertxMetricsTags()
-
-
Method Details
-
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
-