public interface OpenCensusConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
OpenCensusConfig.TraceContext |
getIncomingTraceContext(int index)
List of incoming trace context headers we will accept.
|
int |
getIncomingTraceContextCount()
List of incoming trace context headers we will accept.
|
List<OpenCensusConfig.TraceContext> |
getIncomingTraceContextList()
List of incoming trace context headers we will accept.
|
int |
getIncomingTraceContextValue(int index)
List of incoming trace context headers we will accept.
|
List<Integer> |
getIncomingTraceContextValueList()
List of incoming trace context headers we will accept.
|
String |
getOcagentAddress()
The address of the OpenCensus Agent, if its exporter is enabled, in gRPC
format: https://github.com/grpc/grpc/blob/master/doc/naming.md
[#comment:TODO: deprecate this field]
string ocagent_address = 12; |
com.google.protobuf.ByteString |
getOcagentAddressBytes()
The address of the OpenCensus Agent, if its exporter is enabled, in gRPC
format: https://github.com/grpc/grpc/blob/master/doc/naming.md
[#comment:TODO: deprecate this field]
string ocagent_address = 12; |
boolean |
getOcagentExporterEnabled()
Enables the OpenCensus Agent exporter if set to true.
|
GrpcService |
getOcagentGrpcService()
(optional) The gRPC server hosted by the OpenCensus Agent.
|
GrpcServiceOrBuilder |
getOcagentGrpcServiceOrBuilder()
(optional) The gRPC server hosted by the OpenCensus Agent.
|
OpenCensusConfig.TraceContext |
getOutgoingTraceContext(int index)
List of outgoing trace context headers we will produce.
|
int |
getOutgoingTraceContextCount()
List of outgoing trace context headers we will produce.
|
List<OpenCensusConfig.TraceContext> |
getOutgoingTraceContextList()
List of outgoing trace context headers we will produce.
|
int |
getOutgoingTraceContextValue(int index)
List of outgoing trace context headers we will produce.
|
List<Integer> |
getOutgoingTraceContextValueList()
List of outgoing trace context headers we will produce.
|
String |
getStackdriverAddress()
(optional) By default, the Stackdriver exporter will connect to production
Stackdriver.
|
com.google.protobuf.ByteString |
getStackdriverAddressBytes()
(optional) By default, the Stackdriver exporter will connect to production
Stackdriver.
|
boolean |
getStackdriverExporterEnabled()
Enables the Stackdriver exporter if set to true.
|
GrpcService |
getStackdriverGrpcService()
(optional) The gRPC server that hosts Stackdriver tracing service.
|
GrpcServiceOrBuilder |
getStackdriverGrpcServiceOrBuilder()
(optional) The gRPC server that hosts Stackdriver tracing service.
|
String |
getStackdriverProjectId()
The Cloud project_id to use for Stackdriver tracing.
|
com.google.protobuf.ByteString |
getStackdriverProjectIdBytes()
The Cloud project_id to use for Stackdriver tracing.
|
boolean |
getStdoutExporterEnabled()
Enables the stdout exporter if set to true.
|
TraceConfig |
getTraceConfig()
Configures tracing, e.g. the sampler, max number of annotations, etc.
|
TraceConfigOrBuilder |
getTraceConfigOrBuilder()
Configures tracing, e.g. the sampler, max number of annotations, etc.
|
boolean |
getZipkinExporterEnabled()
Enables the Zipkin exporter if set to true.
|
String |
getZipkinUrl()
The URL to Zipkin, e.g.
|
com.google.protobuf.ByteString |
getZipkinUrlBytes()
The URL to Zipkin, e.g.
|
boolean |
hasOcagentGrpcService()
(optional) The gRPC server hosted by the OpenCensus Agent.
|
boolean |
hasStackdriverGrpcService()
(optional) The gRPC server that hosts Stackdriver tracing service.
|
boolean |
hasTraceConfig()
Configures tracing, e.g. the sampler, max number of annotations, etc.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasTraceConfig()
Configures tracing, e.g. the sampler, max number of annotations, etc.
.opencensus.proto.trace.v1.TraceConfig trace_config = 1;TraceConfig getTraceConfig()
Configures tracing, e.g. the sampler, max number of annotations, etc.
.opencensus.proto.trace.v1.TraceConfig trace_config = 1;TraceConfigOrBuilder getTraceConfigOrBuilder()
Configures tracing, e.g. the sampler, max number of annotations, etc.
.opencensus.proto.trace.v1.TraceConfig trace_config = 1;boolean getStdoutExporterEnabled()
Enables the stdout exporter if set to true. This is intended for debugging purposes.
bool stdout_exporter_enabled = 2;boolean getStackdriverExporterEnabled()
Enables the Stackdriver exporter if set to true. The project_id must also be set.
bool stackdriver_exporter_enabled = 3;String getStackdriverProjectId()
The Cloud project_id to use for Stackdriver tracing.
string stackdriver_project_id = 4;com.google.protobuf.ByteString getStackdriverProjectIdBytes()
The Cloud project_id to use for Stackdriver tracing.
string stackdriver_project_id = 4;String getStackdriverAddress()
(optional) By default, the Stackdriver exporter will connect to production Stackdriver. If stackdriver_address is non-empty, it will instead connect to this address, which is in the gRPC format: https://github.com/grpc/grpc/blob/master/doc/naming.md
string stackdriver_address = 10;com.google.protobuf.ByteString getStackdriverAddressBytes()
(optional) By default, the Stackdriver exporter will connect to production Stackdriver. If stackdriver_address is non-empty, it will instead connect to this address, which is in the gRPC format: https://github.com/grpc/grpc/blob/master/doc/naming.md
string stackdriver_address = 10;boolean hasStackdriverGrpcService()
(optional) The gRPC server that hosts Stackdriver tracing service. Only Google gRPC is supported. If :ref:`target_uri <envoy_v3_api_field_config.core.v3.GrpcService.GoogleGrpc.target_uri>` is not provided, the default production Stackdriver address will be used.
.envoy.api.v2.core.GrpcService stackdriver_grpc_service = 13;GrpcService getStackdriverGrpcService()
(optional) The gRPC server that hosts Stackdriver tracing service. Only Google gRPC is supported. If :ref:`target_uri <envoy_v3_api_field_config.core.v3.GrpcService.GoogleGrpc.target_uri>` is not provided, the default production Stackdriver address will be used.
.envoy.api.v2.core.GrpcService stackdriver_grpc_service = 13;GrpcServiceOrBuilder getStackdriverGrpcServiceOrBuilder()
(optional) The gRPC server that hosts Stackdriver tracing service. Only Google gRPC is supported. If :ref:`target_uri <envoy_v3_api_field_config.core.v3.GrpcService.GoogleGrpc.target_uri>` is not provided, the default production Stackdriver address will be used.
.envoy.api.v2.core.GrpcService stackdriver_grpc_service = 13;boolean getZipkinExporterEnabled()
Enables the Zipkin exporter if set to true. The url and service name must also be set.
bool zipkin_exporter_enabled = 5;String getZipkinUrl()
The URL to Zipkin, e.g. "http://127.0.0.1:9411/api/v2/spans"
string zipkin_url = 6;com.google.protobuf.ByteString getZipkinUrlBytes()
The URL to Zipkin, e.g. "http://127.0.0.1:9411/api/v2/spans"
string zipkin_url = 6;boolean getOcagentExporterEnabled()
Enables the OpenCensus Agent exporter if set to true. The ocagent_address or ocagent_grpc_service must also be set.
bool ocagent_exporter_enabled = 11;String getOcagentAddress()
The address of the OpenCensus Agent, if its exporter is enabled, in gRPC format: https://github.com/grpc/grpc/blob/master/doc/naming.md [#comment:TODO: deprecate this field]
string ocagent_address = 12;com.google.protobuf.ByteString getOcagentAddressBytes()
The address of the OpenCensus Agent, if its exporter is enabled, in gRPC format: https://github.com/grpc/grpc/blob/master/doc/naming.md [#comment:TODO: deprecate this field]
string ocagent_address = 12;boolean hasOcagentGrpcService()
(optional) The gRPC server hosted by the OpenCensus Agent. Only Google gRPC is supported. This is only used if the ocagent_address is left empty.
.envoy.api.v2.core.GrpcService ocagent_grpc_service = 14;GrpcService getOcagentGrpcService()
(optional) The gRPC server hosted by the OpenCensus Agent. Only Google gRPC is supported. This is only used if the ocagent_address is left empty.
.envoy.api.v2.core.GrpcService ocagent_grpc_service = 14;GrpcServiceOrBuilder getOcagentGrpcServiceOrBuilder()
(optional) The gRPC server hosted by the OpenCensus Agent. Only Google gRPC is supported. This is only used if the ocagent_address is left empty.
.envoy.api.v2.core.GrpcService ocagent_grpc_service = 14;List<OpenCensusConfig.TraceContext> getIncomingTraceContextList()
List of incoming trace context headers we will accept. First one found wins.
repeated .envoy.config.trace.v2.OpenCensusConfig.TraceContext incoming_trace_context = 8;int getIncomingTraceContextCount()
List of incoming trace context headers we will accept. First one found wins.
repeated .envoy.config.trace.v2.OpenCensusConfig.TraceContext incoming_trace_context = 8;OpenCensusConfig.TraceContext getIncomingTraceContext(int index)
List of incoming trace context headers we will accept. First one found wins.
repeated .envoy.config.trace.v2.OpenCensusConfig.TraceContext incoming_trace_context = 8;List<Integer> getIncomingTraceContextValueList()
List of incoming trace context headers we will accept. First one found wins.
repeated .envoy.config.trace.v2.OpenCensusConfig.TraceContext incoming_trace_context = 8;int getIncomingTraceContextValue(int index)
List of incoming trace context headers we will accept. First one found wins.
repeated .envoy.config.trace.v2.OpenCensusConfig.TraceContext incoming_trace_context = 8;List<OpenCensusConfig.TraceContext> getOutgoingTraceContextList()
List of outgoing trace context headers we will produce.
repeated .envoy.config.trace.v2.OpenCensusConfig.TraceContext outgoing_trace_context = 9;int getOutgoingTraceContextCount()
List of outgoing trace context headers we will produce.
repeated .envoy.config.trace.v2.OpenCensusConfig.TraceContext outgoing_trace_context = 9;OpenCensusConfig.TraceContext getOutgoingTraceContext(int index)
List of outgoing trace context headers we will produce.
repeated .envoy.config.trace.v2.OpenCensusConfig.TraceContext outgoing_trace_context = 9;List<Integer> getOutgoingTraceContextValueList()
List of outgoing trace context headers we will produce.
repeated .envoy.config.trace.v2.OpenCensusConfig.TraceContext outgoing_trace_context = 9;int getOutgoingTraceContextValue(int index)
List of outgoing trace context headers we will produce.
repeated .envoy.config.trace.v2.OpenCensusConfig.TraceContext outgoing_trace_context = 9;Copyright © 2018–2021 The Envoy Project. All rights reserved.