Skip to content

Latest commit

 

History

History
 
 

reactor-netty-http-brave

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Brave instrumentation for Reactor Netty HTTP

This module contains tracing decorators for HttpClient and HttpServer.

Configuration

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);