The WebFlux instrumentation is not setting the o.s.web.reactive.HandlerMapping#BEST_MATCHING_PATTERN_ATTRIBUTE on the ServerRequestObservationContext. This means that the KeyValue extracted by the observation convention is always UNKNOWN.