@AutoService(value=com.twitter.finagle.tracing.Tracer.class) public final class HttpZipkinTracer extends ZipkinTracer
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpZipkinTracer.Config |
| Constructor and Description |
|---|
HttpZipkinTracer()
Default constructor for the service loader
|
| Modifier and Type | Method and Description |
|---|---|
com.twitter.util.Future<scala.runtime.BoxedUnit> |
close(com.twitter.util.Time deadline) |
static HttpZipkinTracer |
create(HttpZipkinTracer.Config config,
com.twitter.finagle.stats.StatsReceiver stats) |
static HttpZipkinTracer |
create(String host,
com.twitter.finagle.stats.StatsReceiver stats)
Create a new instance with default configuration.
|
close, closegetSampleRate, isActivelyTracing, isNull, record, sampleTrace, setSampleRate, Traceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic HttpZipkinTracer()
public static HttpZipkinTracer create(String host, com.twitter.finagle.stats.StatsReceiver stats)
host - The network location of the Zipkin http servicestats - Gets notified when spans are accepted or dropped. If you are not interested in
these events you can use NullStatsReceiverpublic static HttpZipkinTracer create(HttpZipkinTracer.Config config, com.twitter.finagle.stats.StatsReceiver stats)
config - includes flush interval and http propertiesstats - Gets notified when spans are accepted or dropped. If you are not interested in
these events you can use NullStatsReceiverpublic com.twitter.util.Future<scala.runtime.BoxedUnit> close(com.twitter.util.Time deadline)
close in interface com.twitter.util.Closableclose in class ZipkinTracerCopyright © 2016–2017 OpenZipkin. All rights reserved.