public final class WebFluxTags extends Object
Tags associated with a request-response exchange that
is handled by WebFlux.| Modifier and Type | Method and Description |
|---|---|
static io.micrometer.core.instrument.Tag |
exception(Throwable exception)
|
static io.micrometer.core.instrument.Tag |
method(org.springframework.web.server.ServerWebExchange exchange)
Creates a
method tag based on the
method of the ServerWebExchange.getRequest() request of the given
exchange. |
static io.micrometer.core.instrument.Tag |
outcome(org.springframework.web.server.ServerWebExchange exchange)
Creates an
outcome tag based on the response status of the given
exchange. |
static io.micrometer.core.instrument.Tag |
status(org.springframework.web.server.ServerWebExchange exchange)
Creates a
status tag based on the response status of the given
exchange. |
static io.micrometer.core.instrument.Tag |
uri(org.springframework.web.server.ServerWebExchange exchange)
Creates a
uri tag based on the URI of the given exchange. |
public static io.micrometer.core.instrument.Tag method(org.springframework.web.server.ServerWebExchange exchange)
method tag based on the
method of the ServerWebExchange.getRequest() request of the given
exchange.exchange - the exchangepublic static io.micrometer.core.instrument.Tag status(org.springframework.web.server.ServerWebExchange exchange)
status tag based on the response status of the given
exchange.exchange - the exchangepublic static io.micrometer.core.instrument.Tag uri(org.springframework.web.server.ServerWebExchange exchange)
uri tag based on the URI of the given exchange. Uses the
HandlerMapping.BEST_MATCHING_PATTERN_ATTRIBUTE best matching pattern.exchange - the exchangepublic static io.micrometer.core.instrument.Tag exception(Throwable exception)
exception - the exception, may be nullpublic static io.micrometer.core.instrument.Tag outcome(org.springframework.web.server.ServerWebExchange exchange)
outcome tag based on the response status of the given
exchange.exchange - the exchangeCopyright © 2018 Pivotal Software, Inc.. All rights reserved.