WF 39: WFLY-21061 introduced a regression

55 views
Skip to first unread message

Markus Schulz

unread,
May 7, 2026, 10:17:42 AMMay 7
to WildFly
Hi,

this pull request  introduced a regression. 
After this change no application registered metrics are exported anymore.

Someone else reported an jira-bug but that was closed now. (I'm not allowed to comment there)

Up to WF 38 my application registered metrics are working fine, now there are missing from the prometheus endpoint (i'm not using OTLP, i'm pull the metrics from an added endpoint).

Even the example (reproducer) class in this ticket don't work in my project.

How can i participate in jira or help from here to (reopen) and fix this bug?

Markus Schulz

Brian Stansberry

unread,
May 7, 2026, 10:31:11 AMMay 7
to WildFly
Hi Markus,

Thanks for this.

I reopened https://redhat.atlassian.net/browse/WFLY-21577 with a comment pointing to your comments on the PR and to this thread.

I don't know what the situation was with you not being able to comment on the JIRA. If it was some general login issue, please see https://groups.google.com/g/wildfly/c/jSseTF5TOCQ

If you were logged in but it just wouldn't let you comment, that's interesting. I've not heard of that kind of thing before. Any info would be appreciated, in case whatever it is is something I can control as an admin of the WFLY space.

Best regards,
Brian

Jason Lee

unread,
May 7, 2026, 10:39:20 AMMay 7
to Markus Schulz, WildFly
Hi, Markus. Do you have a way of reproducing that failure? As you can see on the Jira, I’ve been unable to reproduce it locally, which makes fixing it difficult. :) 

--
You received this message because you are subscribed to the Google Groups "WildFly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wildfly+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/wildfly/4a6d83cd-6cc3-4115-9306-91dfcb94ca83n%40googlegroups.com.

-- 
Jason Lee
Principal Software Engineer
IBM Java Middleware
Java Champion

Emond Papegaaij

unread,
May 8, 2026, 1:58:48 AMMay 8
to Jason Lee, Markus Schulz, WildFly
Hi Markus,

You may be hitting the same issue we've hit with WF 39: metrics create
with the builder pattern (like Timer.builder(name)) no longer show up.
These are WFLY-21339 and WFLY-21480. Both are already fixed in 40.
We've built a patched version of WF 39 to include these fixes, and
this is working fine for us. You can find the source for this on our
fork: https://github.com/topicusonderwijs/wildfly-source/tree/39.0.1-topicus1
. Hope this helps.

Best regards,
Emond

Op do 7 mei 2026 om 16:39 schreef 'Jason Lee' via WildFly
<wil...@googlegroups.com>:
> To view this discussion visit https://groups.google.com/d/msgid/wildfly/89CAF019-6900-4F09-8195-E35994F6D3BA%40redhat.com.

Markus Schulz

unread,
May 8, 2026, 2:22:15 AMMay 8
to WildFly
Hi Emond,

and your are right.
That's the problem and the fix WFLY-21339 to override the Builder pattern function to add these metrics to the parentRegistry solved it.

regards,
Markus
Reply all
Reply to author
Forward
0 new messages