Payara Platform 5.191 – MicroProfile 2.1

Cloud & Microservices

The 5.191 Payara Platform release brought with it support for MicroProfile 2.1. For those who don’t know, the only specification updated in this version of MicroProfile was OpenTracing, going from 1.1 to 1.2.

Skip Patterns

A feature utilising MicroProfile Config, you can now skip tracing on JAX-RS endpoints by providing standard Java Regex patterns. You can even specify multiple patterns to make sure you catch all of the methods you need to skip tracing for, using the vertical bar / pipe symbol acting as the splitter between the individual patterns:

 

mp.opentracing.server.skip-pattern=/pretty|/please.*|/skip/me/kthxbai

Operation Name Providers

Operation Name Providers refers to the new option to select one of two formats for the automatic generation of a trace’s operation name. You have two options: http-path, or class-method (the latter being the default and the format the auto-generated names followed pre 1.2).

Given the following JAX-RS endpoint…

package fish.payara.doctorwho.memes
@Path("/wibbly")
public class Blink {
    ...
    @GET
    @Path("/wobbly")
    public String getTimeyWimey {
        ...
    }
    ...
}

… the two operation name providers would produce the following operation names respectively:

 

GET:/wibbly/wobbly
GET:fish.payara.doctorwho.memes.Blink.getTimeyWimey

MicroProfile Endpoints No Longer Traced

A convenience feature so that you don’t have to specify the skip patterns yourself, the endpoints provided by other MicroProfile specifications (e.g. /health) will no longer be traced, helping to keep the noisiness of the tracing down.

 

Extra Exception Logging

Exceptions thrown when executing a method annotated with @Traced is now added to traces, providing you with extra detail about any additional methods that you’re tracing if they fail. Previously, only exceptions thrown by inbound and outbound requests to JAX-RS methods were logged, so this is simply an extension of that pre-existing feature.

 

MicroProfile OpenTracing 1.3: Rest Client Integration

Although not strictly compliant due to us not yet supporting MicroProfile Rest Client 1.2, we went ahead and implemented MicroProfile OpenTracing 1.3 which adds instrumentation to the type-safe Rest clients from another Microprofile spec. Although the specification for OpenTracing 1.3 is explicitly targetted at Rest Client 1.2, it was determined that the OpenTracing specification doesn’t actually rely on any APIs introduced specifically between Rest Client 1.1 and 1.2. This allows us to instrument the clients created from our current 1.1 Rest Client implementation for your tracing pleasure. The tracing for these clients is much the same as for “normal” Rest clients, but full details can be found here for reference.

 

Download the latest version of Payara Server or Payara Micro:

 

{{cta(‘4c7626f5-1e53-418e-90c8-add6e4af19c9′,’justifycenter’)}}

 

 

Comments (0)

Post a comment

Your email address will not be published. Required fields are marked *

Payara needs the contact information you provide to us to contact you about our products and services. You may unsubscribe from these communications at any time. For information on how to unsubscribe, as well as our privacy practices and commitment to protecting your privacy, please review our Legal & Privacy Policy.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Related Posts

Timeline showing Payara Platform Enterprise 4, 5, and 6 support phases (Full, Extended, Lifetime) from 2023–2033, along with JDK 8, 11, 17, and 21 support periods and end-of-life markers. 4 minutes
Thought Leadership

Understanding the Payara Platform Enterprise Software Lifecycle: How We Support Long-Term Stability 

Keeping an application server running smoothly isn’t so much about new features, but more about predictability and consistency. Software […]

Patrik Dudits presenting at Devoxx Belgium 2025 5 minutes
Cloud & Microservices

Devoxx BE 2025: It Only Starts with a Container & How Abstraction Becomes Reality 

At Devoxx Belgium 2025, I was able to talk about what happens after you build your container. In theory, […]

What's New In The Payara Platform August 2025 Release? 5 minutes
Community

What’s New In The Payara Platform November 2025 Release?

The November 2025 release brings significant milestones across the Payara Platform family. This month includes Payara Platform Community 6.2025.11, […]