Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


This module contains a tracing decorators for Netty's Http Codec 4.x.

NettyHttpTracing.serverHandler() extracts trace state from incoming requests, and reports to Zipkin how long each take, along with relevant tags like the http url.


To enable tracing for an http server you need to add it to your pipeline:

NettyHttpTracing nettyHttpTracing = NettyHttpTracing.create(httpTracing);
ChannelPipeline pipeline = ch.pipeline();
... add your infrastructure handlers, in particular HttpRequestDecoder and HttpResponseEncoder
pipeline.addLast("tracing", nettyHttpTracing.serverHandler());
... add your application handlers
You can’t perform that action at this time.