agent-module/plugins/vertx/README.md
pinpoint.config
Vert.x 3.6 ~ 4.5
profiler.vertx.http.server.request-handler.method.name=io.vertx.ext.web.impl.RouterImpl.handle
Vert.x 3.5
profiler.vertx.http.server.request-handler.method.name=io.vertx.ext.web.impl.RouterImpl.accept
profiler.vertx.enable=true
...
# HTTP server
profiler.vertx.http.server.enable=true
...
# HTTP client
profiler.vertx.http.client.enable=true
The default value is "io.vertx.core.Starter"
profiler.vertx.bootstrap.main=io.vertx.core.Starter
profiler.vertx.handler.base-packages=
The argument is io.vertx.core.http.HttpServerRequest. (Since pinpoint version 1.7.2)
profiler.vertx.http.server.request-handler.method.name=io.vertx.ext.web.impl.RouterImpl.accept
If the main class looks like this:
package com.navercorp.test.pinpoint;
...
public class Server {
private Vertx vertx;
public static void main(String[] args) {
this.vertx = Vertx.vertx();
DeploymentOptions options = new DeploymentOptions();
options.setInstances(1);
this.vertx.deployVerticle(HttpServerVerticle.class.getName(), options);
...
profiler.vertx.bootstrap.main=com.navercorp.test.pinpoint.Server
profiler.vertx.handler.base-packages=com.navercorp.test.pinpoint
If used the Router class:
Router router = Router.router(vertx);
...
vertx.createHttpServer().requestHandler(router::accept).listen(8090);
profiler.vertx.http.server.request-handler.method.name=io.vertx.ext.web.impl.RouterImpl.accept