Skip to content

Restore MicroProfile metrics endpoint and reduce awt Java25 "noise" - #465

Merged
Karm merged 1 commit into
Karm:masterfrom
zakkak:fix/microprofile-metrics-endpoint
Nov 9, 2026
Merged

Karm merged 1 commit into
Karm:masterfrom
zakkak:fix/microprofile-metrics-endpoint

Conversation

@zakkak

@zakkak zakkak commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator

Replace the removed SmallRye Metrics extension with the Micrometer Prometheus registry in the Quarkus 3.31+ and Quarkus 4 compatibility patches. This keeps /q/metrics available to the existing Hyperfoil scenario instead of returning HTTP 404 and failing compareNativeAndJVMSerialGCTime when the log checker rejects Hyperfoil's invalid-response warnings.

Follow
https://github.com/quarkusio/quarkus/wiki/Migration-Guide-3.31#surefirefailsafe-configuration-gear-white_check_mark for quarkus-mp-orm-dbs-awt.

Remove obsolete whitelistings.

Fixes failures seen in
https://github.com/Karm/mandrel-integration-tests/actions/runs/40891096019/job/123507788036

Replace the removed SmallRye Metrics extension with the Micrometer
Prometheus registry in the Quarkus 3.31+ and Quarkus 4 compatibility
patches.  This keeps `/q/metrics` available to the existing Hyperfoil
scenario instead of returning HTTP 404 and failing
`compareNativeAndJVMSerialGCTime` when the log checker rejects
Hyperfoil's invalid-response warnings.

Follow
https://github.com/quarkusio/quarkus/wiki/Migration-Guide-3.31#surefirefailsafe-configuration-gear-white_check_mark
for `quarkus-mp-orm-dbs-awt`.

Remove obsolete whitelistings.

Fixes failures seen in
https://github.com/Karm/mandrel-integration-tests/actions/runs/40891096019/job/123507788036
@zakkak

zakkak commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator Author

The duplicate gauge issues are tracked in quarkusio/quarkus#57954
The arm startup timeouts are pre-existing, still not figured what's causing them.

@zakkak
zakkak requested a review from patrikcerbak November 2, 2026 10:50
@Karm

Karm commented Nov 9, 2026

Copy link
Copy Markdown
Owner

@zakkak @patrikcerbak So, I browsed the archives and it seems to me that the places where Quarkus refused to start (10s timeout) are caused by perf:

perf stat --delay 2000 java -Xlog:gc -XX:+UseSerialGC -Xmx2560m -jar target/quarkus-app/quarkus-run.jar
Command: perf stat --delay 2000 java -Xlog:gc -XX:+UseSerialGC -Xmx2560m -jar target/quarkus-app/quarkus-run.jar
Cannot find metric or group `Default'

@patrikcerbak Could you add some perf metrics probing so as we can see what works on GHA aarch64 runners, please?

TL;DR: IMHO not blocking this PR...

@Karm Karm left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zakkak

WhiteList needs adjusting:

[ERROR]   RuntimesSmokeTest.quarkusFullMicroProfile:213->testRuntime:172 build-and-run.log log should not contain error or warning lines that are not whitelisted. See D:\a\mandrel-integration-tests\mandrel-integration-tests\ts\testsuite\target\archived-logs\org.graalvm.tests.integration.RuntimesSmokeTest\quarkusFullMicroProfile\build-and-run.log and check these offending 1 lines: 
2026-11-02 09:32:37,148 WARN  [io.micrometer.core.instrument.MeterRegistry] (executor-thread-1) This Gauge has been already registered (MeterId{name='http.client.active.connections', tags=[tag(clientName=null)]}), the registration will be ignored. Note that subsequent logs will be logged at debug level. ==> expected: <true> but was: <false>

@zakkak

zakkak commented Nov 9, 2026 •

Copy link
Copy Markdown
Collaborator Author

WhiteList needs adjusting:

@Karm I would like to avoid whitelisting these. The duplicate gauge issues are tracked in quarkusio/quarkus#57954 and I have a fix ready waiting for review in quarkusio/quarkus#57999. So IMHO the tests should keep failing till we get that merged.

@zakkak
zakkak requested a review from Karm November 9, 2026 17:34
@Karm
Karm merged commit bf30ec1 into Karm:master Nov 9, 2026
20 of 25 checks passed
@Karm

Karm commented Nov 9, 2026

Copy link
Copy Markdown
Owner

merged, GHA perf for later...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants