--
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.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/ae4c6f35-8589-4e14-9bae-c49f15b0cd25%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
MetricsService service = MetricsService.create(vertx);
JsonObject vertxMetrics = service.getMetricsSnapshot(vertx);
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/e2443410-b978-45f6-b850-e97fd7ae9111%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/37143710-0d48-44b7-bfaf-d975932de77e%40googlegroups.com.
{
"enabled" : true,
"jmxEnabled" : true,
"monitoredHttpServerUris" : [
{
"value" : "/foo/.*",
"type" : "REGEX"
},
{
"value" : "/bar"
}
],
"monitoredHandlers" : [
{
"value" : "ebAddr"
}
]
}
I have HttpServer configured to listen on port 8887, after starting the application, running the jconsole to check the MBeans.
I could see the MBean vertx.eventbus.handlers.ebAddr. so that means the config file should be correct. I could also see the regular vertx.http.servers.0.0.0.0:8887 MBeans.
But I could not see any http.servers MBeans with /bar nor /foo Uris.
MD
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/a2c3a575-da2e-4cab-a31c-33f9c98c7c5e%40googlegroups.com.
HttpServerOptions options = new HttpServerOptions();
options.setCompressionSupported(true);
options.setIdleTimeout(5);
HttpServer httpServer = vertx.createHttpServer(options);
httpServer.requestHandler(router::accept).listen(8887);
HttpServer httpServer2 = vertx.createHttpServer(options);
httpServer2.requestHandler(router::accept).listen(8889);
In my actual application, I have 2 http servers running listening on port 8889 and 8887. What I noticed with jconsole, with Vertx 3.2.1, for each http server, it has its own set of MBean. In Vertx 3.3.3, I could only see one http server MBean set.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/75969fff-4cb2-4f47-9fed-2a961e3ffefa%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/bef9aa05-530e-4510-8482-36ce2953c15b%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/b440d007-ae5b-4fce-a6c6-d877b32fb3b2%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "vert.x" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vertx/BP3XVk10QTE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vertx+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/CACiEr_RFDBiysW%3DaOtL7bS2YzpEyXjZRXo0GkoK77sw%3DhUsOQw%40mail.gmail.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/cbc6b507-ba0c-4671-9248-909cdbfac91e%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/b440d007-ae5b-4fce-a6c6-d877b32fb3b2%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "vert.x" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vertx/BP3XVk10QTE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vertx+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/CACiEr_RFDBiysW%3DaOtL7bS2YzpEyXjZRXo0GkoK77sw%3DhUsOQw%40mail.gmail.com.
--Regards
Shailender Arya
--
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.
Visit this group at https://groups.google.com/group/vertx.