-
Notifications
You must be signed in to change notification settings - Fork 3k
Use prometheus client v1 on Micrometer and update Micrometer to 1.15 #47978
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
Use prometheus client v1 on Micrometer and update Micrometer to 1.15 #47978
Conversation
|
/cc @ebullient (micrometer) |
This comment was marked as resolved.
This comment was marked as resolved.
|
🙈 The PR is closed and the preview is expired. |
|
@brunobat need any help here ? |
|
I will know soon |
d6459fd to
6d2dcec
Compare
|
Apart from docs, this should be ready. |
6d2dcec to
f4d0d59
Compare
This comment has been minimized.
This comment has been minimized.
f4d0d59 to
336b202
Compare
This comment has been minimized.
This comment has been minimized.
336b202 to
4cf616d
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
4cf616d to
60493ec
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Native mode needs fixing. |
60493ec to
7da4052
Compare
7da4052 to
94ee1cc
Compare
This comment has been minimized.
This comment has been minimized.
c696648 to
9d0f9ca
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
9d0f9ca to
f47516b
Compare
Status for workflow
|
Status for workflow
|
|
Hi @karesti, how does it look? |
|
@brunobat There have been a lot of changes, so I can't say for sure that everything is working on my side yet. I need more time to finish upgrading, and I'm also dealing with some other Quarkus-related issues. That said, I'm no longer seeing the error I was getting when building with this branch, so I think it's okay for now. If I run into any related issues, I'll report them as soon as I can. |
|
@brunobat please add entry into https://github.com/quarkusio/quarkus/wiki/Migration-Guide-3.25 I noticed QS is failing because of this bump, I will prepare PR and add you for review. |
|
There is a new plan, I'm going to revert this code. |
|
@brunobat I'm working on the upgrade of Quarkus, is there a visibility of the new plan ? |
|
This will not be part of Quarkus 3.x core, as discussed here: #users > Micrometer Prometheus client v1.0 breaking changes @ 💬 The reason is the breaking changes that would need to be introduced. The community did not agree with this PR. I'm working on a Quarkiverse extension to support this registry for the current 3.x. |
|
This PR was reverted in #48498 . |
Includes:
http.server.requestsalways with the same tags. Micrometer will now send a warning if we register the same metric more than once with different Tag names.Before:
"registry=\"prometheus\",status=\"200\",uri=\"/example/prime/{number}\"} 2.0Now:
"registry=\"prometheus\",status=\"200\",uri=\"/example/prime/{number}\"} 2io.micrometer.prometheusmetrics.PrometheusMeterRegistrymust be used instead of the oldio.micrometer.prometheus.PrometheusMeterRegistryio.prometheus.metrics.tracer.common.SpanContextmust be used instead of the oldio.prometheus.client.exemplars.ExemplarSamplerinfo. Before:jvm_info_total. Now:jvm_totalduration. Before:http_server_requests_duration_seconds. Now:http_server_requests_seconds"hibernate_flushes_total{entityManagerFactory=\"<default>\",env=\"test\",env2=\"test\",registry=\"prometheus\",} 1.0"IMPORTANT: This PR has a companion PR on quarkiverse's
quarkus-micrometer-registryhere: quarkiverse/quarkus-micrometer-registry#504