From fb1e2dc8b619f67c1a4e39de58b1c58b8a9ceebd Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Thu, 17 Apr 2014 18:30:54 +0000 Subject: [PATCH] HBASE-10984 Add description about setting up htrace-zipkin to documentation git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1588333 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/docbkx/tracing.xml | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/src/main/docbkx/tracing.xml b/src/main/docbkx/tracing.xml index affede976df..beb0c8982ef 100644 --- a/src/main/docbkx/tracing.xml +++ b/src/main/docbkx/tracing.xml @@ -80,17 +80,34 @@ - HTrace also includes a ZipkinSpanReceiver - that converts all span information to + HTrace also provides ZipkinSpanReceiver + which converts spans to Zipkin span format and send them to Zipkin server. - You need to install htrace-zipkin jar and add it to your HBase classpath - in order to use this receiver. + In order to use this span receiver, + you need to install the jar of htrace-zipkin to your HBase's classpath + on all of the nodes in your cluster. + + + htrace-zipkin is published to the maven central repository. + You could get the latest version from there or just build it locally and then + copy it out to all nodes, change your config to use zipkin receiver, distribute + the new configuration and then (rolling) restart. + + + Here is the example of manual setup procedure. + The ZipkinSpanReceiver looks in hbase-site.xml for a hbase.zipkin.collector-hostname and hbase.zipkin.collector-port - property with a value describing the Zipkin server + property with a value describing the Zipkin collector server to which span information are sent.