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(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,
Properties properties)
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
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, Properties properties)
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–2019 The Apache Software Foundation. All rights reserved.