Skip to content

Loading…

finatra: add tracer to query client #172

Closed
wants to merge 2 commits into from

2 participants

@franklinhu

No description provided.

Franklin Hu added some commits
@franklinhu franklinhu pushed a commit that closed this pull request
Franklin Hu finatra: add tracer to query client
Author: @franklinhu
Fixes #172
URL: #172
7f10ec4
@franklinhu franklinhu closed this in 7f10ec4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 2, 2012
  1. finatra: add tracer to query client

    Franklin Hu committed
  2. Add client name

    Franklin Hu committed
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 0 deletions.
  1. +2 −0 zipkin-finatra/src/main/scala/com/twitter/zipkin/web/ZipkinWeb.scala
View
2 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) => {
Something went wrong with that request. Please try again.