GET http://myserver:8080/path HTTP/1.1
Host: myserver:8080
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate
Connection: keep-alive
"http://myserver:8080/path". I use this code to get the URI of the request:
router.route().method(HttpMethod.GET).path("/path").handler(routingContext -> {
try {
String requestURI = routingContext.request().absoluteURI();
...
Currently the class HttpServerRequestImpl returns something different: "http://0.0.0.0:8080/path".
As a consequence the server metrics are built with this URI as well:
"vertx.http.servers.0.0.0.0:8080.get-requests" : {
"count" : 0,
"meanRate" : 0.0,
"oneMinuteRate" : 0.0,
"fiveMinuteRate" : 0.0,
"fifteenMinuteRate" : 0.0,
"rate" : "events/seconds",
"min" : 0.0,
"max" : 0.0,
"mean" : 0.0,
"stddev" : 0.0,
"median" : 0.0,
"75%" : 0.0,
"95%" : 0.0,
"98%" : 0.0,
"99%" : 0.0,
"99.9%" : 0.0,
"durationRate" : "milliseconds"
},
Is this an issue?
--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.