-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly append route path in VertxHttpServerMetrics
We had a method called appendCurrentRoutePath() but it was overwriting the route path each time. This is a mistake as the VertxHttpServerMetrics.requestRouted() can be called several times for the same request when you have additional routers. This is the case of Dev UI, where you have a router mounted on /q/ and then a route mounted on /dev-ui/. Note that this commit is only addressing the problem in the Micrometer extension (but is also fixing OpenTelemetry when Micrometer is around as in this case, this code path is used for both). I need to come up with another fix when dealing with OpenTelemetry alone.
- Loading branch information
Showing
2 changed files
with
33 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters