public static final class BraveTracingInterceptor.Builder
extends java.lang.Object
| Modifier and Type | Method | Description |
|---|---|---|
BraveTracingInterceptor |
build() |
|
BraveTracingInterceptor.Builder |
parser(OkHttpParser parser) |
Controls the metadata recorded in spans representing http operations.
|
BraveTracingInterceptor.Builder |
serverName(java.lang.String serverName) |
Indicates the service name used for the
server address.Default
is empty string. |
public BraveTracingInterceptor.Builder serverName(java.lang.String serverName)
server address.Default
is empty string.
Setting this is not important when the server is instrumented with Zipkin. This is important when the server is not instrumented with Zipkin. For example, if you are calling a cloud service, you will see this name as a leaf in your service dependency graph.
public BraveTracingInterceptor.Builder parser(OkHttpParser parser)
public BraveTracingInterceptor build()
Copyright © 2018 OpenZipkin. All rights reserved.