This module contains tracing decorators for HttpClient
and HttpServer
.
Enable tracing for HttpServer
HttpServer server = HttpServer.create()
.port(0)
...
ReactorNettyHttpTracing reactorNettyHttpTracing = ReactorNettyHttpTracing.create(httpTracing);
HttpServer decoratedServer = reactorNettyHttpTracing.decorateHttpServer(server);
Enable tracing for HttpClient
HttpClient client = HttpClient.create()
.port(0)
...
ReactorNettyHttpTracing reactorNettyHttpTracing = ReactorNettyHttpTracing.create(httpTracing);
HttpClient decoratedClient = reactorNettyHttpTracing.decorateHttpClient(client);