public class DistributedTrace extends Object
Modifier and Type | Field and Description |
---|---|
static String |
TRACE_HOST_PROPERTY |
static String |
TRACE_SERVICE_PROPERTY |
static String |
TRACER_ZK_HOST |
static String |
TRACER_ZK_PATH |
static String |
TRACER_ZK_TIMEOUT |
Constructor and Description |
---|
DistributedTrace() |
Modifier and Type | Method and Description |
---|---|
static void |
disable()
Disable tracing by closing SpanReceivers for the current process.
|
static void |
enable()
Enable tracing by setting up SpanReceivers for the current process.
|
static void |
enable(Instance instance,
ZooReader zoo,
String application,
String address)
Deprecated.
since 1.7, use
enable(String, String, org.apache.accumulo.core.client.ClientConfiguration)
instead |
static void |
enable(String service)
Enable tracing by setting up SpanReceivers for the current process.
|
static void |
enable(String hostname,
String service)
Enable tracing by setting up SpanReceivers for the current process.
|
static void |
enable(String hostname,
String service,
AccumuloConfiguration conf)
Enable tracing by setting up SpanReceivers for the current process.
|
static void |
enable(String hostname,
String service,
ClientConfiguration conf)
Enable tracing by setting up SpanReceivers for the current process.
|
public static final String TRACE_HOST_PROPERTY
public static final String TRACE_SERVICE_PROPERTY
public static final String TRACER_ZK_HOST
public static final String TRACER_ZK_TIMEOUT
public static final String TRACER_ZK_PATH
@Deprecated public static void enable(Instance instance, ZooReader zoo, String application, String address) throws IOException, org.apache.zookeeper.KeeperException, InterruptedException
enable(String, String, org.apache.accumulo.core.client.ClientConfiguration)
insteadIOException
org.apache.zookeeper.KeeperException
InterruptedException
public static void enable()
public static void enable(String service)
public static void enable(String hostname, String service)
public static void enable(String hostname, String service, ClientConfiguration conf)
ClientConfiguration.ClientProperty.TRACE_SPAN_RECEIVERS
and any properties specific to the span receiver.public static void enable(String hostname, String service, AccumuloConfiguration conf)
public static void disable()
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.