Permalink
Browse files

finatra: add tracer to query client

Author: @franklinhu
Fixes #172
URL: #172
  • Loading branch information...
1 parent 2a4515d commit 7f10ec4944c664b67db9a36bfb894331bc211209 Franklin Hu committed Oct 9, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 zipkin-finatra/src/main/scala/com/twitter/zipkin/web/ZipkinWeb.scala
@@ -44,8 +44,10 @@ class ZipkinWeb(config: ZipkinWebConfig) extends admin.Service {
def start() {
val clientBuilder = ClientBuilder()
+ .name("ZipkinQuery")
.codec(ThriftClientFramedCodec())
.hostConnectionLimit(config.hostConnectionLimit)
+ .tracerFactory(config.tracerFactory)
val clientService = config.queryClient match {
case Left(address) => {

0 comments on commit 7f10ec4

Please sign in to comment.