@Immutable public abstract class StackdriverTraceConfiguration extends Object
StackdriverTraceExporter.| Modifier and Type | Class and Description |
|---|---|
static class |
StackdriverTraceConfiguration.Builder
Builder for
StackdriverTraceConfiguration. |
| Modifier and Type | Method and Description |
|---|---|
static StackdriverTraceConfiguration.Builder |
builder()
Returns a new
StackdriverTraceConfiguration.Builder. |
abstract com.google.auth.Credentials |
getCredentials()
Returns the
Credentials. |
abstract Map<String,io.opencensus.trace.AttributeValue> |
getFixedAttributes()
Returns a map of attributes that is added to all the exported spans.
|
abstract String |
getProjectId()
Returns the cloud project id.
|
abstract com.google.cloud.trace.v2.stub.TraceServiceStub |
getTraceServiceStub()
Returns a TraceServiceStub instance used to make RPC calls.
|
@Nullable public abstract com.google.auth.Credentials getCredentials()
Credentials.Credentials.@Nullable public abstract String getProjectId()
@Nullable public abstract com.google.cloud.trace.v2.stub.TraceServiceStub getTraceServiceStub()
@Nullable public abstract Map<String,io.opencensus.trace.AttributeValue> getFixedAttributes()
public static StackdriverTraceConfiguration.Builder builder()
StackdriverTraceConfiguration.Builder.Builder.