-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix on RestPathAnnotationProcessor to ensure that the correct url template is computed for metrics #32121
Conversation
/cc @brunobat (micrometer), @ebullient (micrometer) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. Let's see what @ebullient thinks but PRs should target the main
branch and are backported to older branches when it makes sense.
cfae234
to
a4d2232
Compare
@ebullient any chance you could have a look? You're our path expert (how lucky!) and this one might be a pain if you're affected. |
Also cc @brunobat @radcortez |
a4d2232
to
d239c5a
Compare
Will take a look |
@souchel can you please update your PR by moving from the legacy The reproducer worked for me and I think the fix is good. |
Will do, thanks :) |
…plate is computed for metrics
d239c5a
to
ec8decd
Compare
Approved the CI run to see how it looks. |
Failing Jobs - Building ec8decd
Full information is available in the Build summary check run. Failures⚙️ Gradle Tests - JDK 11 Windows #📦 integration-tests/gradle✖
✖
✖
✖
✖
✖
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The CI errors seem unrelated.
They work on my machine but are quite slow. That's probably why they are failing.
@brunobat I also think the failures are unrelated, what's the next step ? |
@gsmet will merge when the right time comes. |
There is no reason to wait for @gsmet in this one. If you are fine with it, you can go ahead and merge it |
This is a proposition to fix a bug on the metric system. When using quarkus-micrometer, the metrics contain information on the time taken by a request. One of the tag is the uri and currently the uri is incorrect.
For example we get:
instead of:
Here is a reproducer: https://github.com/souchel/quarkus-metrics-reproducer