public class ZipkinTracingOptions extends TracingOptions
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SERVICE_NAME |
static boolean |
DEFAULT_SUPPORTS_JOIN |
Constructor and Description |
---|
ZipkinTracingOptions() |
ZipkinTracingOptions(brave.http.HttpTracing httpTracing) |
ZipkinTracingOptions(JsonObject json) |
ZipkinTracingOptions(brave.Tracing tracing) |
ZipkinTracingOptions(ZipkinTracingOptions other) |
Modifier and Type | Method and Description |
---|---|
ZipkinTracer |
buildTracer()
Build the tracer and return it.
|
ZipkinTracingOptions |
copy() |
HttpSenderOptions |
getSenderOptions() |
String |
getServiceName() |
boolean |
isSupportsJoin() |
ZipkinTracingOptions |
setSenderOptions(HttpSenderOptions senderOptions)
Set the HTTP sender options to use for reporting spans.
|
ZipkinTracingOptions |
setServiceName(String serviceName)
Set the service name to use.
|
ZipkinTracingOptions |
setSupportsJoin(boolean supportsJoin)
Configures
Tracing.Builder.supportsJoin(boolean) option. |
JsonObject |
toJson() |
getFactory, setFactory, toString
public static final String DEFAULT_SERVICE_NAME
public static final boolean DEFAULT_SUPPORTS_JOIN
public ZipkinTracingOptions(brave.http.HttpTracing httpTracing)
public ZipkinTracingOptions(brave.Tracing tracing)
public ZipkinTracingOptions()
public ZipkinTracingOptions(ZipkinTracingOptions other)
public ZipkinTracingOptions(JsonObject json)
public ZipkinTracingOptions copy()
copy
in class TracingOptions
public String getServiceName()
public ZipkinTracingOptions setServiceName(String serviceName)
serviceName
- the service namepublic boolean isSupportsJoin()
Tracing.Builder.supportsJoin(boolean)
option valuepublic ZipkinTracingOptions setSupportsJoin(boolean supportsJoin)
Tracing.Builder.supportsJoin(boolean)
option.supportsJoin
- the config valuepublic HttpSenderOptions getSenderOptions()
public ZipkinTracingOptions setSenderOptions(HttpSenderOptions senderOptions)
senderOptions
- the optionspublic ZipkinTracer buildTracer()
public JsonObject toJson()
toJson
in class TracingOptions
Copyright © 2022 Eclipse. All rights reserved.