-
Notifications
You must be signed in to change notification settings - Fork 40
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
Missing metrics when using setServerRequestTagsProvider
with a different set of tags for different requests
#173
Comments
Actually I think the example can actually be simplified even further. Just have a tags-provider that returns a different set of tags for different requests for a single verticle. /edit: I was able to reproduce the same behavior on a simplified example. I updated the sample project for reproduction and I'll update the description if the issue. |
Thank you
Le ven. 10 mars 2023, 20:04, Mervyn McCreight ***@***.***> a
écrit :
… Actually I think the example can actually be simplified even further.
You do not need two verticles to reproduce it, one is enough.
Just have a tags-provider that returns a different set of tags for
different requests for a single verticle.
I'll try to simplify the example to narrow it down.
—
Reply to this email directly, view it on GitHub
<#173 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALOLNVEUTH7Y43J64BYCHDW3N3NLANCNFSM6AAAAAAVVU6VN4>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
There may be a connection to micrometer-metrics/micrometer#3508 |
Seeing micrometer-metrics/micrometer#877 I'm pretty sure it is a problem with the micrometer implementation. |
Right, thanks for the update. Let's keep the issue open until the upstream issue comes to a resolution. |
Closing as there's nothing we can do. Workaround in this comment: micrometer-metrics/micrometer#877 (comment) |
@tsegismont is it okay from your side when I delete the reproducer repository then? :) |
Fine with me |
Version
Context
When using one
Vertx
instance with metrics included to host a http-server withKotlin
andCoroutines
and aServerRequestTagsProvider
that returns different Tags (key + value is different) for different type of requests, metrics are missing.Do you have a reproducer?
Steps to reproduce
Just execute the
AppTest.catchMetrics
test and you can see the output of the metrics.I'd expect metrics for all
GET
andPOST
requests, but thePOST
request metrics are missing.If you change the
ServerRequestTagsProvider
to e.g. return a Tag with the same key, but different values for different requests, the metrics are there. The same goes when you completely remove theServerRequestTagsProvider
.Extra
The text was updated successfully, but these errors were encountered: