Class HttpConnectionManager.Tracing.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<HttpConnectionManager.Tracing.Builder>
-
- io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,HttpConnectionManager.TracingOrBuilder,java.lang.Cloneable
- Enclosing class:
- HttpConnectionManager.Tracing
public static final class HttpConnectionManager.Tracing.Builder extends com.google.protobuf.GeneratedMessage.Builder<HttpConnectionManager.Tracing.Builder> implements HttpConnectionManager.TracingOrBuilder
[#next-free-field: 11]
Protobuf typeenvoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing
-
-
Field Summary
Fields Modifier and Type Field Description private intbitField0_private PercentclientSampling_private com.google.protobuf.SingleFieldBuilder<Percent,Percent.Builder,PercentOrBuilder>clientSamplingBuilder_private java.util.List<CustomTag>customTags_private com.google.protobuf.RepeatedFieldBuilder<CustomTag,CustomTag.Builder,CustomTagOrBuilder>customTagsBuilder_private com.google.protobuf.UInt32ValuemaxPathTagLength_private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder>maxPathTagLengthBuilder_private PercentoverallSampling_private com.google.protobuf.SingleFieldBuilder<Percent,Percent.Builder,PercentOrBuilder>overallSamplingBuilder_private Tracing.Httpprovider_private com.google.protobuf.SingleFieldBuilder<Tracing.Http,Tracing.Http.Builder,Tracing.HttpOrBuilder>providerBuilder_private PercentrandomSampling_private com.google.protobuf.SingleFieldBuilder<Percent,Percent.Builder,PercentOrBuilder>randomSamplingBuilder_private com.google.protobuf.BoolValuespawnUpstreamSpan_private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder,com.google.protobuf.BoolValueOrBuilder>spawnUpstreamSpanBuilder_private booleanverbose_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpConnectionManager.Tracing.BuilderaddAllCustomTags(java.lang.Iterable<? extends CustomTag> values)A list of custom tags with unique tag name to create tags for the active span.HttpConnectionManager.Tracing.BuilderaddCustomTags(int index, CustomTag value)A list of custom tags with unique tag name to create tags for the active span.HttpConnectionManager.Tracing.BuilderaddCustomTags(int index, CustomTag.Builder builderForValue)A list of custom tags with unique tag name to create tags for the active span.HttpConnectionManager.Tracing.BuilderaddCustomTags(CustomTag value)A list of custom tags with unique tag name to create tags for the active span.HttpConnectionManager.Tracing.BuilderaddCustomTags(CustomTag.Builder builderForValue)A list of custom tags with unique tag name to create tags for the active span.CustomTag.BuilderaddCustomTagsBuilder()A list of custom tags with unique tag name to create tags for the active span.CustomTag.BuilderaddCustomTagsBuilder(int index)A list of custom tags with unique tag name to create tags for the active span.HttpConnectionManager.Tracingbuild()HttpConnectionManager.TracingbuildPartial()private voidbuildPartial0(HttpConnectionManager.Tracing result)private voidbuildPartialRepeatedFields(HttpConnectionManager.Tracing result)HttpConnectionManager.Tracing.Builderclear()HttpConnectionManager.Tracing.BuilderclearClientSampling()Target percentage of requests managed by this HTTP connection manager that will be force traced if the :ref:`x-client-trace-id <config_http_conn_man_headers_x-client-trace-id>` header is set.HttpConnectionManager.Tracing.BuilderclearCustomTags()A list of custom tags with unique tag name to create tags for the active span.HttpConnectionManager.Tracing.BuilderclearMaxPathTagLength()Maximum length of the request path to extract and include in the HttpUrl tag.HttpConnectionManager.Tracing.BuilderclearOverallSampling()Target percentage of requests managed by this HTTP connection manager that will be traced after all other sampling checks have been applied (client-directed, force tracing, random sampling).HttpConnectionManager.Tracing.BuilderclearProvider()Configuration for an external tracing provider.HttpConnectionManager.Tracing.BuilderclearRandomSampling()Target percentage of requests managed by this HTTP connection manager that will be randomly selected for trace generation, if not requested by the client or not forced.HttpConnectionManager.Tracing.BuilderclearSpawnUpstreamSpan()Create separate tracing span for each upstream request if true.HttpConnectionManager.Tracing.BuilderclearVerbose()Whether to annotate spans with additional data.private voidensureCustomTagsIsMutable()PercentgetClientSampling()Target percentage of requests managed by this HTTP connection manager that will be force traced if the :ref:`x-client-trace-id <config_http_conn_man_headers_x-client-trace-id>` header is set.Percent.BuildergetClientSamplingBuilder()Target percentage of requests managed by this HTTP connection manager that will be force traced if the :ref:`x-client-trace-id <config_http_conn_man_headers_x-client-trace-id>` header is set.private com.google.protobuf.SingleFieldBuilder<Percent,Percent.Builder,PercentOrBuilder>getClientSamplingFieldBuilder()Target percentage of requests managed by this HTTP connection manager that will be force traced if the :ref:`x-client-trace-id <config_http_conn_man_headers_x-client-trace-id>` header is set.PercentOrBuildergetClientSamplingOrBuilder()Target percentage of requests managed by this HTTP connection manager that will be force traced if the :ref:`x-client-trace-id <config_http_conn_man_headers_x-client-trace-id>` header is set.CustomTaggetCustomTags(int index)A list of custom tags with unique tag name to create tags for the active span.CustomTag.BuildergetCustomTagsBuilder(int index)A list of custom tags with unique tag name to create tags for the active span.java.util.List<CustomTag.Builder>getCustomTagsBuilderList()A list of custom tags with unique tag name to create tags for the active span.intgetCustomTagsCount()A list of custom tags with unique tag name to create tags for the active span.private com.google.protobuf.RepeatedFieldBuilder<CustomTag,CustomTag.Builder,CustomTagOrBuilder>getCustomTagsFieldBuilder()java.util.List<CustomTag>getCustomTagsList()A list of custom tags with unique tag name to create tags for the active span.CustomTagOrBuildergetCustomTagsOrBuilder(int index)A list of custom tags with unique tag name to create tags for the active span.java.util.List<? extends CustomTagOrBuilder>getCustomTagsOrBuilderList()A list of custom tags with unique tag name to create tags for the active span.HttpConnectionManager.TracinggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.UInt32ValuegetMaxPathTagLength()Maximum length of the request path to extract and include in the HttpUrl tag.com.google.protobuf.UInt32Value.BuildergetMaxPathTagLengthBuilder()Maximum length of the request path to extract and include in the HttpUrl tag.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder>getMaxPathTagLengthFieldBuilder()Maximum length of the request path to extract and include in the HttpUrl tag.com.google.protobuf.UInt32ValueOrBuildergetMaxPathTagLengthOrBuilder()Maximum length of the request path to extract and include in the HttpUrl tag.PercentgetOverallSampling()Target percentage of requests managed by this HTTP connection manager that will be traced after all other sampling checks have been applied (client-directed, force tracing, random sampling).Percent.BuildergetOverallSamplingBuilder()Target percentage of requests managed by this HTTP connection manager that will be traced after all other sampling checks have been applied (client-directed, force tracing, random sampling).private com.google.protobuf.SingleFieldBuilder<Percent,Percent.Builder,PercentOrBuilder>getOverallSamplingFieldBuilder()Target percentage of requests managed by this HTTP connection manager that will be traced after all other sampling checks have been applied (client-directed, force tracing, random sampling).PercentOrBuildergetOverallSamplingOrBuilder()Target percentage of requests managed by this HTTP connection manager that will be traced after all other sampling checks have been applied (client-directed, force tracing, random sampling).Tracing.HttpgetProvider()Configuration for an external tracing provider.Tracing.Http.BuildergetProviderBuilder()Configuration for an external tracing provider.private com.google.protobuf.SingleFieldBuilder<Tracing.Http,Tracing.Http.Builder,Tracing.HttpOrBuilder>getProviderFieldBuilder()Configuration for an external tracing provider.Tracing.HttpOrBuildergetProviderOrBuilder()Configuration for an external tracing provider.PercentgetRandomSampling()Target percentage of requests managed by this HTTP connection manager that will be randomly selected for trace generation, if not requested by the client or not forced.Percent.BuildergetRandomSamplingBuilder()Target percentage of requests managed by this HTTP connection manager that will be randomly selected for trace generation, if not requested by the client or not forced.private com.google.protobuf.SingleFieldBuilder<Percent,Percent.Builder,PercentOrBuilder>getRandomSamplingFieldBuilder()Target percentage of requests managed by this HTTP connection manager that will be randomly selected for trace generation, if not requested by the client or not forced.PercentOrBuildergetRandomSamplingOrBuilder()Target percentage of requests managed by this HTTP connection manager that will be randomly selected for trace generation, if not requested by the client or not forced.com.google.protobuf.BoolValuegetSpawnUpstreamSpan()Create separate tracing span for each upstream request if true.com.google.protobuf.BoolValue.BuildergetSpawnUpstreamSpanBuilder()Create separate tracing span for each upstream request if true.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder,com.google.protobuf.BoolValueOrBuilder>getSpawnUpstreamSpanFieldBuilder()Create separate tracing span for each upstream request if true.com.google.protobuf.BoolValueOrBuildergetSpawnUpstreamSpanOrBuilder()Create separate tracing span for each upstream request if true.booleangetVerbose()Whether to annotate spans with additional data.booleanhasClientSampling()Target percentage of requests managed by this HTTP connection manager that will be force traced if the :ref:`x-client-trace-id <config_http_conn_man_headers_x-client-trace-id>` header is set.booleanhasMaxPathTagLength()Maximum length of the request path to extract and include in the HttpUrl tag.booleanhasOverallSampling()Target percentage of requests managed by this HTTP connection manager that will be traced after all other sampling checks have been applied (client-directed, force tracing, random sampling).booleanhasProvider()Configuration for an external tracing provider.booleanhasRandomSampling()Target percentage of requests managed by this HTTP connection manager that will be randomly selected for trace generation, if not requested by the client or not forced.booleanhasSpawnUpstreamSpan()Create separate tracing span for each upstream request if true.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()private voidmaybeForceBuilderInitialization()HttpConnectionManager.Tracing.BuildermergeClientSampling(Percent value)Target percentage of requests managed by this HTTP connection manager that will be force traced if the :ref:`x-client-trace-id <config_http_conn_man_headers_x-client-trace-id>` header is set.HttpConnectionManager.Tracing.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)HttpConnectionManager.Tracing.BuildermergeFrom(com.google.protobuf.Message other)HttpConnectionManager.Tracing.BuildermergeFrom(HttpConnectionManager.Tracing other)HttpConnectionManager.Tracing.BuildermergeMaxPathTagLength(com.google.protobuf.UInt32Value value)Maximum length of the request path to extract and include in the HttpUrl tag.HttpConnectionManager.Tracing.BuildermergeOverallSampling(Percent value)Target percentage of requests managed by this HTTP connection manager that will be traced after all other sampling checks have been applied (client-directed, force tracing, random sampling).HttpConnectionManager.Tracing.BuildermergeProvider(Tracing.Http value)Configuration for an external tracing provider.HttpConnectionManager.Tracing.BuildermergeRandomSampling(Percent value)Target percentage of requests managed by this HTTP connection manager that will be randomly selected for trace generation, if not requested by the client or not forced.HttpConnectionManager.Tracing.BuildermergeSpawnUpstreamSpan(com.google.protobuf.BoolValue value)Create separate tracing span for each upstream request if true.HttpConnectionManager.Tracing.BuilderremoveCustomTags(int index)A list of custom tags with unique tag name to create tags for the active span.HttpConnectionManager.Tracing.BuildersetClientSampling(Percent value)Target percentage of requests managed by this HTTP connection manager that will be force traced if the :ref:`x-client-trace-id <config_http_conn_man_headers_x-client-trace-id>` header is set.HttpConnectionManager.Tracing.BuildersetClientSampling(Percent.Builder builderForValue)Target percentage of requests managed by this HTTP connection manager that will be force traced if the :ref:`x-client-trace-id <config_http_conn_man_headers_x-client-trace-id>` header is set.HttpConnectionManager.Tracing.BuildersetCustomTags(int index, CustomTag value)A list of custom tags with unique tag name to create tags for the active span.HttpConnectionManager.Tracing.BuildersetCustomTags(int index, CustomTag.Builder builderForValue)A list of custom tags with unique tag name to create tags for the active span.HttpConnectionManager.Tracing.BuildersetMaxPathTagLength(com.google.protobuf.UInt32Value value)Maximum length of the request path to extract and include in the HttpUrl tag.HttpConnectionManager.Tracing.BuildersetMaxPathTagLength(com.google.protobuf.UInt32Value.Builder builderForValue)Maximum length of the request path to extract and include in the HttpUrl tag.HttpConnectionManager.Tracing.BuildersetOverallSampling(Percent value)Target percentage of requests managed by this HTTP connection manager that will be traced after all other sampling checks have been applied (client-directed, force tracing, random sampling).HttpConnectionManager.Tracing.BuildersetOverallSampling(Percent.Builder builderForValue)Target percentage of requests managed by this HTTP connection manager that will be traced after all other sampling checks have been applied (client-directed, force tracing, random sampling).HttpConnectionManager.Tracing.BuildersetProvider(Tracing.Http value)Configuration for an external tracing provider.HttpConnectionManager.Tracing.BuildersetProvider(Tracing.Http.Builder builderForValue)Configuration for an external tracing provider.HttpConnectionManager.Tracing.BuildersetRandomSampling(Percent value)Target percentage of requests managed by this HTTP connection manager that will be randomly selected for trace generation, if not requested by the client or not forced.HttpConnectionManager.Tracing.BuildersetRandomSampling(Percent.Builder builderForValue)Target percentage of requests managed by this HTTP connection manager that will be randomly selected for trace generation, if not requested by the client or not forced.HttpConnectionManager.Tracing.BuildersetSpawnUpstreamSpan(com.google.protobuf.BoolValue value)Create separate tracing span for each upstream request if true.HttpConnectionManager.Tracing.BuildersetSpawnUpstreamSpan(com.google.protobuf.BoolValue.Builder builderForValue)Create separate tracing span for each upstream request if true.HttpConnectionManager.Tracing.BuildersetVerbose(boolean value)Whether to annotate spans with additional data.-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
clientSampling_
private Percent clientSampling_
-
clientSamplingBuilder_
private com.google.protobuf.SingleFieldBuilder<Percent,Percent.Builder,PercentOrBuilder> clientSamplingBuilder_
-
randomSampling_
private Percent randomSampling_
-
randomSamplingBuilder_
private com.google.protobuf.SingleFieldBuilder<Percent,Percent.Builder,PercentOrBuilder> randomSamplingBuilder_
-
overallSampling_
private Percent overallSampling_
-
overallSamplingBuilder_
private com.google.protobuf.SingleFieldBuilder<Percent,Percent.Builder,PercentOrBuilder> overallSamplingBuilder_
-
verbose_
private boolean verbose_
-
maxPathTagLength_
private com.google.protobuf.UInt32Value maxPathTagLength_
-
maxPathTagLengthBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder> maxPathTagLengthBuilder_
-
customTags_
private java.util.List<CustomTag> customTags_
-
customTagsBuilder_
private com.google.protobuf.RepeatedFieldBuilder<CustomTag,CustomTag.Builder,CustomTagOrBuilder> customTagsBuilder_
-
provider_
private Tracing.Http provider_
-
providerBuilder_
private com.google.protobuf.SingleFieldBuilder<Tracing.Http,Tracing.Http.Builder,Tracing.HttpOrBuilder> providerBuilder_
-
spawnUpstreamSpan_
private com.google.protobuf.BoolValue spawnUpstreamSpan_
-
spawnUpstreamSpanBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder,com.google.protobuf.BoolValueOrBuilder> spawnUpstreamSpanBuilder_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<HttpConnectionManager.Tracing.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public HttpConnectionManager.Tracing.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<HttpConnectionManager.Tracing.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<HttpConnectionManager.Tracing.Builder>
-
getDefaultInstanceForType
public HttpConnectionManager.Tracing getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public HttpConnectionManager.Tracing build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public HttpConnectionManager.Tracing buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
private void buildPartialRepeatedFields(HttpConnectionManager.Tracing result)
-
buildPartial0
private void buildPartial0(HttpConnectionManager.Tracing result)
-
mergeFrom
public HttpConnectionManager.Tracing.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HttpConnectionManager.Tracing.Builder>
-
mergeFrom
public HttpConnectionManager.Tracing.Builder mergeFrom(HttpConnectionManager.Tracing other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<HttpConnectionManager.Tracing.Builder>
-
mergeFrom
public HttpConnectionManager.Tracing.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HttpConnectionManager.Tracing.Builder>- Throws:
java.io.IOException
-
hasClientSampling
public boolean hasClientSampling()
Target percentage of requests managed by this HTTP connection manager that will be force traced if the :ref:`x-client-trace-id <config_http_conn_man_headers_x-client-trace-id>` header is set. This field is a direct analog for the runtime variable 'tracing.client_enabled' in the :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`. Default: 100%
.envoy.type.v3.Percent client_sampling = 3;- Specified by:
hasClientSamplingin interfaceHttpConnectionManager.TracingOrBuilder- Returns:
- Whether the clientSampling field is set.
-
getClientSampling
public Percent getClientSampling()
Target percentage of requests managed by this HTTP connection manager that will be force traced if the :ref:`x-client-trace-id <config_http_conn_man_headers_x-client-trace-id>` header is set. This field is a direct analog for the runtime variable 'tracing.client_enabled' in the :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`. Default: 100%
.envoy.type.v3.Percent client_sampling = 3;- Specified by:
getClientSamplingin interfaceHttpConnectionManager.TracingOrBuilder- Returns:
- The clientSampling.
-
setClientSampling
public HttpConnectionManager.Tracing.Builder setClientSampling(Percent value)
Target percentage of requests managed by this HTTP connection manager that will be force traced if the :ref:`x-client-trace-id <config_http_conn_man_headers_x-client-trace-id>` header is set. This field is a direct analog for the runtime variable 'tracing.client_enabled' in the :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`. Default: 100%
.envoy.type.v3.Percent client_sampling = 3;
-
setClientSampling
public HttpConnectionManager.Tracing.Builder setClientSampling(Percent.Builder builderForValue)
Target percentage of requests managed by this HTTP connection manager that will be force traced if the :ref:`x-client-trace-id <config_http_conn_man_headers_x-client-trace-id>` header is set. This field is a direct analog for the runtime variable 'tracing.client_enabled' in the :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`. Default: 100%
.envoy.type.v3.Percent client_sampling = 3;
-
mergeClientSampling
public HttpConnectionManager.Tracing.Builder mergeClientSampling(Percent value)
Target percentage of requests managed by this HTTP connection manager that will be force traced if the :ref:`x-client-trace-id <config_http_conn_man_headers_x-client-trace-id>` header is set. This field is a direct analog for the runtime variable 'tracing.client_enabled' in the :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`. Default: 100%
.envoy.type.v3.Percent client_sampling = 3;
-
clearClientSampling
public HttpConnectionManager.Tracing.Builder clearClientSampling()
Target percentage of requests managed by this HTTP connection manager that will be force traced if the :ref:`x-client-trace-id <config_http_conn_man_headers_x-client-trace-id>` header is set. This field is a direct analog for the runtime variable 'tracing.client_enabled' in the :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`. Default: 100%
.envoy.type.v3.Percent client_sampling = 3;
-
getClientSamplingBuilder
public Percent.Builder getClientSamplingBuilder()
Target percentage of requests managed by this HTTP connection manager that will be force traced if the :ref:`x-client-trace-id <config_http_conn_man_headers_x-client-trace-id>` header is set. This field is a direct analog for the runtime variable 'tracing.client_enabled' in the :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`. Default: 100%
.envoy.type.v3.Percent client_sampling = 3;
-
getClientSamplingOrBuilder
public PercentOrBuilder getClientSamplingOrBuilder()
Target percentage of requests managed by this HTTP connection manager that will be force traced if the :ref:`x-client-trace-id <config_http_conn_man_headers_x-client-trace-id>` header is set. This field is a direct analog for the runtime variable 'tracing.client_enabled' in the :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`. Default: 100%
.envoy.type.v3.Percent client_sampling = 3;- Specified by:
getClientSamplingOrBuilderin interfaceHttpConnectionManager.TracingOrBuilder
-
getClientSamplingFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Percent,Percent.Builder,PercentOrBuilder> getClientSamplingFieldBuilder()
Target percentage of requests managed by this HTTP connection manager that will be force traced if the :ref:`x-client-trace-id <config_http_conn_man_headers_x-client-trace-id>` header is set. This field is a direct analog for the runtime variable 'tracing.client_enabled' in the :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`. Default: 100%
.envoy.type.v3.Percent client_sampling = 3;
-
hasRandomSampling
public boolean hasRandomSampling()
Target percentage of requests managed by this HTTP connection manager that will be randomly selected for trace generation, if not requested by the client or not forced. This field is a direct analog for the runtime variable 'tracing.random_sampling' in the :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`. Default: 100%
.envoy.type.v3.Percent random_sampling = 4;- Specified by:
hasRandomSamplingin interfaceHttpConnectionManager.TracingOrBuilder- Returns:
- Whether the randomSampling field is set.
-
getRandomSampling
public Percent getRandomSampling()
Target percentage of requests managed by this HTTP connection manager that will be randomly selected for trace generation, if not requested by the client or not forced. This field is a direct analog for the runtime variable 'tracing.random_sampling' in the :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`. Default: 100%
.envoy.type.v3.Percent random_sampling = 4;- Specified by:
getRandomSamplingin interfaceHttpConnectionManager.TracingOrBuilder- Returns:
- The randomSampling.
-
setRandomSampling
public HttpConnectionManager.Tracing.Builder setRandomSampling(Percent value)
Target percentage of requests managed by this HTTP connection manager that will be randomly selected for trace generation, if not requested by the client or not forced. This field is a direct analog for the runtime variable 'tracing.random_sampling' in the :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`. Default: 100%
.envoy.type.v3.Percent random_sampling = 4;
-
setRandomSampling
public HttpConnectionManager.Tracing.Builder setRandomSampling(Percent.Builder builderForValue)
Target percentage of requests managed by this HTTP connection manager that will be randomly selected for trace generation, if not requested by the client or not forced. This field is a direct analog for the runtime variable 'tracing.random_sampling' in the :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`. Default: 100%
.envoy.type.v3.Percent random_sampling = 4;
-
mergeRandomSampling
public HttpConnectionManager.Tracing.Builder mergeRandomSampling(Percent value)
Target percentage of requests managed by this HTTP connection manager that will be randomly selected for trace generation, if not requested by the client or not forced. This field is a direct analog for the runtime variable 'tracing.random_sampling' in the :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`. Default: 100%
.envoy.type.v3.Percent random_sampling = 4;
-
clearRandomSampling
public HttpConnectionManager.Tracing.Builder clearRandomSampling()
Target percentage of requests managed by this HTTP connection manager that will be randomly selected for trace generation, if not requested by the client or not forced. This field is a direct analog for the runtime variable 'tracing.random_sampling' in the :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`. Default: 100%
.envoy.type.v3.Percent random_sampling = 4;
-
getRandomSamplingBuilder
public Percent.Builder getRandomSamplingBuilder()
Target percentage of requests managed by this HTTP connection manager that will be randomly selected for trace generation, if not requested by the client or not forced. This field is a direct analog for the runtime variable 'tracing.random_sampling' in the :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`. Default: 100%
.envoy.type.v3.Percent random_sampling = 4;
-
getRandomSamplingOrBuilder
public PercentOrBuilder getRandomSamplingOrBuilder()
Target percentage of requests managed by this HTTP connection manager that will be randomly selected for trace generation, if not requested by the client or not forced. This field is a direct analog for the runtime variable 'tracing.random_sampling' in the :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`. Default: 100%
.envoy.type.v3.Percent random_sampling = 4;- Specified by:
getRandomSamplingOrBuilderin interfaceHttpConnectionManager.TracingOrBuilder
-
getRandomSamplingFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Percent,Percent.Builder,PercentOrBuilder> getRandomSamplingFieldBuilder()
Target percentage of requests managed by this HTTP connection manager that will be randomly selected for trace generation, if not requested by the client or not forced. This field is a direct analog for the runtime variable 'tracing.random_sampling' in the :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`. Default: 100%
.envoy.type.v3.Percent random_sampling = 4;
-
hasOverallSampling
public boolean hasOverallSampling()
Target percentage of requests managed by this HTTP connection manager that will be traced after all other sampling checks have been applied (client-directed, force tracing, random sampling). This field functions as an upper limit on the total configured sampling rate. For instance, setting client_sampling to 100% but overall_sampling to 1% will result in only 1% of client requests with the appropriate headers to be force traced. This field is a direct analog for the runtime variable 'tracing.global_enabled' in the :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`. Default: 100%
.envoy.type.v3.Percent overall_sampling = 5;- Specified by:
hasOverallSamplingin interfaceHttpConnectionManager.TracingOrBuilder- Returns:
- Whether the overallSampling field is set.
-
getOverallSampling
public Percent getOverallSampling()
Target percentage of requests managed by this HTTP connection manager that will be traced after all other sampling checks have been applied (client-directed, force tracing, random sampling). This field functions as an upper limit on the total configured sampling rate. For instance, setting client_sampling to 100% but overall_sampling to 1% will result in only 1% of client requests with the appropriate headers to be force traced. This field is a direct analog for the runtime variable 'tracing.global_enabled' in the :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`. Default: 100%
.envoy.type.v3.Percent overall_sampling = 5;- Specified by:
getOverallSamplingin interfaceHttpConnectionManager.TracingOrBuilder- Returns:
- The overallSampling.
-
setOverallSampling
public HttpConnectionManager.Tracing.Builder setOverallSampling(Percent value)
Target percentage of requests managed by this HTTP connection manager that will be traced after all other sampling checks have been applied (client-directed, force tracing, random sampling). This field functions as an upper limit on the total configured sampling rate. For instance, setting client_sampling to 100% but overall_sampling to 1% will result in only 1% of client requests with the appropriate headers to be force traced. This field is a direct analog for the runtime variable 'tracing.global_enabled' in the :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`. Default: 100%
.envoy.type.v3.Percent overall_sampling = 5;
-
setOverallSampling
public HttpConnectionManager.Tracing.Builder setOverallSampling(Percent.Builder builderForValue)
Target percentage of requests managed by this HTTP connection manager that will be traced after all other sampling checks have been applied (client-directed, force tracing, random sampling). This field functions as an upper limit on the total configured sampling rate. For instance, setting client_sampling to 100% but overall_sampling to 1% will result in only 1% of client requests with the appropriate headers to be force traced. This field is a direct analog for the runtime variable 'tracing.global_enabled' in the :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`. Default: 100%
.envoy.type.v3.Percent overall_sampling = 5;
-
mergeOverallSampling
public HttpConnectionManager.Tracing.Builder mergeOverallSampling(Percent value)
Target percentage of requests managed by this HTTP connection manager that will be traced after all other sampling checks have been applied (client-directed, force tracing, random sampling). This field functions as an upper limit on the total configured sampling rate. For instance, setting client_sampling to 100% but overall_sampling to 1% will result in only 1% of client requests with the appropriate headers to be force traced. This field is a direct analog for the runtime variable 'tracing.global_enabled' in the :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`. Default: 100%
.envoy.type.v3.Percent overall_sampling = 5;
-
clearOverallSampling
public HttpConnectionManager.Tracing.Builder clearOverallSampling()
Target percentage of requests managed by this HTTP connection manager that will be traced after all other sampling checks have been applied (client-directed, force tracing, random sampling). This field functions as an upper limit on the total configured sampling rate. For instance, setting client_sampling to 100% but overall_sampling to 1% will result in only 1% of client requests with the appropriate headers to be force traced. This field is a direct analog for the runtime variable 'tracing.global_enabled' in the :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`. Default: 100%
.envoy.type.v3.Percent overall_sampling = 5;
-
getOverallSamplingBuilder
public Percent.Builder getOverallSamplingBuilder()
Target percentage of requests managed by this HTTP connection manager that will be traced after all other sampling checks have been applied (client-directed, force tracing, random sampling). This field functions as an upper limit on the total configured sampling rate. For instance, setting client_sampling to 100% but overall_sampling to 1% will result in only 1% of client requests with the appropriate headers to be force traced. This field is a direct analog for the runtime variable 'tracing.global_enabled' in the :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`. Default: 100%
.envoy.type.v3.Percent overall_sampling = 5;
-
getOverallSamplingOrBuilder
public PercentOrBuilder getOverallSamplingOrBuilder()
Target percentage of requests managed by this HTTP connection manager that will be traced after all other sampling checks have been applied (client-directed, force tracing, random sampling). This field functions as an upper limit on the total configured sampling rate. For instance, setting client_sampling to 100% but overall_sampling to 1% will result in only 1% of client requests with the appropriate headers to be force traced. This field is a direct analog for the runtime variable 'tracing.global_enabled' in the :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`. Default: 100%
.envoy.type.v3.Percent overall_sampling = 5;- Specified by:
getOverallSamplingOrBuilderin interfaceHttpConnectionManager.TracingOrBuilder
-
getOverallSamplingFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Percent,Percent.Builder,PercentOrBuilder> getOverallSamplingFieldBuilder()
Target percentage of requests managed by this HTTP connection manager that will be traced after all other sampling checks have been applied (client-directed, force tracing, random sampling). This field functions as an upper limit on the total configured sampling rate. For instance, setting client_sampling to 100% but overall_sampling to 1% will result in only 1% of client requests with the appropriate headers to be force traced. This field is a direct analog for the runtime variable 'tracing.global_enabled' in the :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`. Default: 100%
.envoy.type.v3.Percent overall_sampling = 5;
-
getVerbose
public boolean getVerbose()
Whether to annotate spans with additional data. If true, spans will include logs for stream events.
bool verbose = 6;- Specified by:
getVerbosein interfaceHttpConnectionManager.TracingOrBuilder- Returns:
- The verbose.
-
setVerbose
public HttpConnectionManager.Tracing.Builder setVerbose(boolean value)
Whether to annotate spans with additional data. If true, spans will include logs for stream events.
bool verbose = 6;- Parameters:
value- The verbose to set.- Returns:
- This builder for chaining.
-
clearVerbose
public HttpConnectionManager.Tracing.Builder clearVerbose()
Whether to annotate spans with additional data. If true, spans will include logs for stream events.
bool verbose = 6;- Returns:
- This builder for chaining.
-
hasMaxPathTagLength
public boolean hasMaxPathTagLength()
Maximum length of the request path to extract and include in the HttpUrl tag. Used to truncate lengthy request paths to meet the needs of a tracing backend. Default: 256
.google.protobuf.UInt32Value max_path_tag_length = 7;- Specified by:
hasMaxPathTagLengthin interfaceHttpConnectionManager.TracingOrBuilder- Returns:
- Whether the maxPathTagLength field is set.
-
getMaxPathTagLength
public com.google.protobuf.UInt32Value getMaxPathTagLength()
Maximum length of the request path to extract and include in the HttpUrl tag. Used to truncate lengthy request paths to meet the needs of a tracing backend. Default: 256
.google.protobuf.UInt32Value max_path_tag_length = 7;- Specified by:
getMaxPathTagLengthin interfaceHttpConnectionManager.TracingOrBuilder- Returns:
- The maxPathTagLength.
-
setMaxPathTagLength
public HttpConnectionManager.Tracing.Builder setMaxPathTagLength(com.google.protobuf.UInt32Value value)
Maximum length of the request path to extract and include in the HttpUrl tag. Used to truncate lengthy request paths to meet the needs of a tracing backend. Default: 256
.google.protobuf.UInt32Value max_path_tag_length = 7;
-
setMaxPathTagLength
public HttpConnectionManager.Tracing.Builder setMaxPathTagLength(com.google.protobuf.UInt32Value.Builder builderForValue)
Maximum length of the request path to extract and include in the HttpUrl tag. Used to truncate lengthy request paths to meet the needs of a tracing backend. Default: 256
.google.protobuf.UInt32Value max_path_tag_length = 7;
-
mergeMaxPathTagLength
public HttpConnectionManager.Tracing.Builder mergeMaxPathTagLength(com.google.protobuf.UInt32Value value)
Maximum length of the request path to extract and include in the HttpUrl tag. Used to truncate lengthy request paths to meet the needs of a tracing backend. Default: 256
.google.protobuf.UInt32Value max_path_tag_length = 7;
-
clearMaxPathTagLength
public HttpConnectionManager.Tracing.Builder clearMaxPathTagLength()
Maximum length of the request path to extract and include in the HttpUrl tag. Used to truncate lengthy request paths to meet the needs of a tracing backend. Default: 256
.google.protobuf.UInt32Value max_path_tag_length = 7;
-
getMaxPathTagLengthBuilder
public com.google.protobuf.UInt32Value.Builder getMaxPathTagLengthBuilder()
Maximum length of the request path to extract and include in the HttpUrl tag. Used to truncate lengthy request paths to meet the needs of a tracing backend. Default: 256
.google.protobuf.UInt32Value max_path_tag_length = 7;
-
getMaxPathTagLengthOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMaxPathTagLengthOrBuilder()
Maximum length of the request path to extract and include in the HttpUrl tag. Used to truncate lengthy request paths to meet the needs of a tracing backend. Default: 256
.google.protobuf.UInt32Value max_path_tag_length = 7;- Specified by:
getMaxPathTagLengthOrBuilderin interfaceHttpConnectionManager.TracingOrBuilder
-
getMaxPathTagLengthFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder> getMaxPathTagLengthFieldBuilder()
Maximum length of the request path to extract and include in the HttpUrl tag. Used to truncate lengthy request paths to meet the needs of a tracing backend. Default: 256
.google.protobuf.UInt32Value max_path_tag_length = 7;
-
ensureCustomTagsIsMutable
private void ensureCustomTagsIsMutable()
-
getCustomTagsList
public java.util.List<CustomTag> getCustomTagsList()
A list of custom tags with unique tag name to create tags for the active span.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 8;- Specified by:
getCustomTagsListin interfaceHttpConnectionManager.TracingOrBuilder
-
getCustomTagsCount
public int getCustomTagsCount()
A list of custom tags with unique tag name to create tags for the active span.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 8;- Specified by:
getCustomTagsCountin interfaceHttpConnectionManager.TracingOrBuilder
-
getCustomTags
public CustomTag getCustomTags(int index)
A list of custom tags with unique tag name to create tags for the active span.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 8;- Specified by:
getCustomTagsin interfaceHttpConnectionManager.TracingOrBuilder
-
setCustomTags
public HttpConnectionManager.Tracing.Builder setCustomTags(int index, CustomTag value)
A list of custom tags with unique tag name to create tags for the active span.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 8;
-
setCustomTags
public HttpConnectionManager.Tracing.Builder setCustomTags(int index, CustomTag.Builder builderForValue)
A list of custom tags with unique tag name to create tags for the active span.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 8;
-
addCustomTags
public HttpConnectionManager.Tracing.Builder addCustomTags(CustomTag value)
A list of custom tags with unique tag name to create tags for the active span.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 8;
-
addCustomTags
public HttpConnectionManager.Tracing.Builder addCustomTags(int index, CustomTag value)
A list of custom tags with unique tag name to create tags for the active span.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 8;
-
addCustomTags
public HttpConnectionManager.Tracing.Builder addCustomTags(CustomTag.Builder builderForValue)
A list of custom tags with unique tag name to create tags for the active span.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 8;
-
addCustomTags
public HttpConnectionManager.Tracing.Builder addCustomTags(int index, CustomTag.Builder builderForValue)
A list of custom tags with unique tag name to create tags for the active span.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 8;
-
addAllCustomTags
public HttpConnectionManager.Tracing.Builder addAllCustomTags(java.lang.Iterable<? extends CustomTag> values)
A list of custom tags with unique tag name to create tags for the active span.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 8;
-
clearCustomTags
public HttpConnectionManager.Tracing.Builder clearCustomTags()
A list of custom tags with unique tag name to create tags for the active span.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 8;
-
removeCustomTags
public HttpConnectionManager.Tracing.Builder removeCustomTags(int index)
A list of custom tags with unique tag name to create tags for the active span.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 8;
-
getCustomTagsBuilder
public CustomTag.Builder getCustomTagsBuilder(int index)
A list of custom tags with unique tag name to create tags for the active span.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 8;
-
getCustomTagsOrBuilder
public CustomTagOrBuilder getCustomTagsOrBuilder(int index)
A list of custom tags with unique tag name to create tags for the active span.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 8;- Specified by:
getCustomTagsOrBuilderin interfaceHttpConnectionManager.TracingOrBuilder
-
getCustomTagsOrBuilderList
public java.util.List<? extends CustomTagOrBuilder> getCustomTagsOrBuilderList()
A list of custom tags with unique tag name to create tags for the active span.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 8;- Specified by:
getCustomTagsOrBuilderListin interfaceHttpConnectionManager.TracingOrBuilder
-
addCustomTagsBuilder
public CustomTag.Builder addCustomTagsBuilder()
A list of custom tags with unique tag name to create tags for the active span.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 8;
-
addCustomTagsBuilder
public CustomTag.Builder addCustomTagsBuilder(int index)
A list of custom tags with unique tag name to create tags for the active span.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 8;
-
getCustomTagsBuilderList
public java.util.List<CustomTag.Builder> getCustomTagsBuilderList()
A list of custom tags with unique tag name to create tags for the active span.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 8;
-
getCustomTagsFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<CustomTag,CustomTag.Builder,CustomTagOrBuilder> getCustomTagsFieldBuilder()
-
hasProvider
public boolean hasProvider()
Configuration for an external tracing provider. If not specified, no tracing will be performed. .. attention:: Please be aware that ``envoy.tracers.opencensus`` provider can only be configured once in Envoy lifetime. Any attempts to reconfigure it or to use different configurations for different HCM filters will be rejected. Such a constraint is inherent to OpenCensus itself. It cannot be overcome without changes on OpenCensus side.
.envoy.config.trace.v3.Tracing.Http provider = 9;- Specified by:
hasProviderin interfaceHttpConnectionManager.TracingOrBuilder- Returns:
- Whether the provider field is set.
-
getProvider
public Tracing.Http getProvider()
Configuration for an external tracing provider. If not specified, no tracing will be performed. .. attention:: Please be aware that ``envoy.tracers.opencensus`` provider can only be configured once in Envoy lifetime. Any attempts to reconfigure it or to use different configurations for different HCM filters will be rejected. Such a constraint is inherent to OpenCensus itself. It cannot be overcome without changes on OpenCensus side.
.envoy.config.trace.v3.Tracing.Http provider = 9;- Specified by:
getProviderin interfaceHttpConnectionManager.TracingOrBuilder- Returns:
- The provider.
-
setProvider
public HttpConnectionManager.Tracing.Builder setProvider(Tracing.Http value)
Configuration for an external tracing provider. If not specified, no tracing will be performed. .. attention:: Please be aware that ``envoy.tracers.opencensus`` provider can only be configured once in Envoy lifetime. Any attempts to reconfigure it or to use different configurations for different HCM filters will be rejected. Such a constraint is inherent to OpenCensus itself. It cannot be overcome without changes on OpenCensus side.
.envoy.config.trace.v3.Tracing.Http provider = 9;
-
setProvider
public HttpConnectionManager.Tracing.Builder setProvider(Tracing.Http.Builder builderForValue)
Configuration for an external tracing provider. If not specified, no tracing will be performed. .. attention:: Please be aware that ``envoy.tracers.opencensus`` provider can only be configured once in Envoy lifetime. Any attempts to reconfigure it or to use different configurations for different HCM filters will be rejected. Such a constraint is inherent to OpenCensus itself. It cannot be overcome without changes on OpenCensus side.
.envoy.config.trace.v3.Tracing.Http provider = 9;
-
mergeProvider
public HttpConnectionManager.Tracing.Builder mergeProvider(Tracing.Http value)
Configuration for an external tracing provider. If not specified, no tracing will be performed. .. attention:: Please be aware that ``envoy.tracers.opencensus`` provider can only be configured once in Envoy lifetime. Any attempts to reconfigure it or to use different configurations for different HCM filters will be rejected. Such a constraint is inherent to OpenCensus itself. It cannot be overcome without changes on OpenCensus side.
.envoy.config.trace.v3.Tracing.Http provider = 9;
-
clearProvider
public HttpConnectionManager.Tracing.Builder clearProvider()
Configuration for an external tracing provider. If not specified, no tracing will be performed. .. attention:: Please be aware that ``envoy.tracers.opencensus`` provider can only be configured once in Envoy lifetime. Any attempts to reconfigure it or to use different configurations for different HCM filters will be rejected. Such a constraint is inherent to OpenCensus itself. It cannot be overcome without changes on OpenCensus side.
.envoy.config.trace.v3.Tracing.Http provider = 9;
-
getProviderBuilder
public Tracing.Http.Builder getProviderBuilder()
Configuration for an external tracing provider. If not specified, no tracing will be performed. .. attention:: Please be aware that ``envoy.tracers.opencensus`` provider can only be configured once in Envoy lifetime. Any attempts to reconfigure it or to use different configurations for different HCM filters will be rejected. Such a constraint is inherent to OpenCensus itself. It cannot be overcome without changes on OpenCensus side.
.envoy.config.trace.v3.Tracing.Http provider = 9;
-
getProviderOrBuilder
public Tracing.HttpOrBuilder getProviderOrBuilder()
Configuration for an external tracing provider. If not specified, no tracing will be performed. .. attention:: Please be aware that ``envoy.tracers.opencensus`` provider can only be configured once in Envoy lifetime. Any attempts to reconfigure it or to use different configurations for different HCM filters will be rejected. Such a constraint is inherent to OpenCensus itself. It cannot be overcome without changes on OpenCensus side.
.envoy.config.trace.v3.Tracing.Http provider = 9;- Specified by:
getProviderOrBuilderin interfaceHttpConnectionManager.TracingOrBuilder
-
getProviderFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Tracing.Http,Tracing.Http.Builder,Tracing.HttpOrBuilder> getProviderFieldBuilder()
Configuration for an external tracing provider. If not specified, no tracing will be performed. .. attention:: Please be aware that ``envoy.tracers.opencensus`` provider can only be configured once in Envoy lifetime. Any attempts to reconfigure it or to use different configurations for different HCM filters will be rejected. Such a constraint is inherent to OpenCensus itself. It cannot be overcome without changes on OpenCensus side.
.envoy.config.trace.v3.Tracing.Http provider = 9;
-
hasSpawnUpstreamSpan
public boolean hasSpawnUpstreamSpan()
Create separate tracing span for each upstream request if true. And if this flag is set to true, the tracing provider will assume that Envoy will be independent hop in the trace chain and may set span type to client or server based on this flag. This will deprecate the :ref:`start_child_span <envoy_v3_api_field_extensions.filters.http.router.v3.Router.start_child_span>` in the router. Users should set appropriate value based on their tracing provider and actual scenario: * If Envoy is used as sidecar and users want to make the sidecar and its application as only one hop in the trace chain, this flag should be set to false. And please also make sure the :ref:`start_child_span <envoy_v3_api_field_extensions.filters.http.router.v3.Router.start_child_span>` in the router is not set to true. * If Envoy is used as gateway or independent proxy, or users want to make the sidecar and its application as different hops in the trace chain, this flag should be set to true. * If tracing provider that has explicit requirements on span creation (like SkyWalking), this flag should be set to true. The default value is false for now for backward compatibility.
.google.protobuf.BoolValue spawn_upstream_span = 10;- Specified by:
hasSpawnUpstreamSpanin interfaceHttpConnectionManager.TracingOrBuilder- Returns:
- Whether the spawnUpstreamSpan field is set.
-
getSpawnUpstreamSpan
public com.google.protobuf.BoolValue getSpawnUpstreamSpan()
Create separate tracing span for each upstream request if true. And if this flag is set to true, the tracing provider will assume that Envoy will be independent hop in the trace chain and may set span type to client or server based on this flag. This will deprecate the :ref:`start_child_span <envoy_v3_api_field_extensions.filters.http.router.v3.Router.start_child_span>` in the router. Users should set appropriate value based on their tracing provider and actual scenario: * If Envoy is used as sidecar and users want to make the sidecar and its application as only one hop in the trace chain, this flag should be set to false. And please also make sure the :ref:`start_child_span <envoy_v3_api_field_extensions.filters.http.router.v3.Router.start_child_span>` in the router is not set to true. * If Envoy is used as gateway or independent proxy, or users want to make the sidecar and its application as different hops in the trace chain, this flag should be set to true. * If tracing provider that has explicit requirements on span creation (like SkyWalking), this flag should be set to true. The default value is false for now for backward compatibility.
.google.protobuf.BoolValue spawn_upstream_span = 10;- Specified by:
getSpawnUpstreamSpanin interfaceHttpConnectionManager.TracingOrBuilder- Returns:
- The spawnUpstreamSpan.
-
setSpawnUpstreamSpan
public HttpConnectionManager.Tracing.Builder setSpawnUpstreamSpan(com.google.protobuf.BoolValue value)
Create separate tracing span for each upstream request if true. And if this flag is set to true, the tracing provider will assume that Envoy will be independent hop in the trace chain and may set span type to client or server based on this flag. This will deprecate the :ref:`start_child_span <envoy_v3_api_field_extensions.filters.http.router.v3.Router.start_child_span>` in the router. Users should set appropriate value based on their tracing provider and actual scenario: * If Envoy is used as sidecar and users want to make the sidecar and its application as only one hop in the trace chain, this flag should be set to false. And please also make sure the :ref:`start_child_span <envoy_v3_api_field_extensions.filters.http.router.v3.Router.start_child_span>` in the router is not set to true. * If Envoy is used as gateway or independent proxy, or users want to make the sidecar and its application as different hops in the trace chain, this flag should be set to true. * If tracing provider that has explicit requirements on span creation (like SkyWalking), this flag should be set to true. The default value is false for now for backward compatibility.
.google.protobuf.BoolValue spawn_upstream_span = 10;
-
setSpawnUpstreamSpan
public HttpConnectionManager.Tracing.Builder setSpawnUpstreamSpan(com.google.protobuf.BoolValue.Builder builderForValue)
Create separate tracing span for each upstream request if true. And if this flag is set to true, the tracing provider will assume that Envoy will be independent hop in the trace chain and may set span type to client or server based on this flag. This will deprecate the :ref:`start_child_span <envoy_v3_api_field_extensions.filters.http.router.v3.Router.start_child_span>` in the router. Users should set appropriate value based on their tracing provider and actual scenario: * If Envoy is used as sidecar and users want to make the sidecar and its application as only one hop in the trace chain, this flag should be set to false. And please also make sure the :ref:`start_child_span <envoy_v3_api_field_extensions.filters.http.router.v3.Router.start_child_span>` in the router is not set to true. * If Envoy is used as gateway or independent proxy, or users want to make the sidecar and its application as different hops in the trace chain, this flag should be set to true. * If tracing provider that has explicit requirements on span creation (like SkyWalking), this flag should be set to true. The default value is false for now for backward compatibility.
.google.protobuf.BoolValue spawn_upstream_span = 10;
-
mergeSpawnUpstreamSpan
public HttpConnectionManager.Tracing.Builder mergeSpawnUpstreamSpan(com.google.protobuf.BoolValue value)
Create separate tracing span for each upstream request if true. And if this flag is set to true, the tracing provider will assume that Envoy will be independent hop in the trace chain and may set span type to client or server based on this flag. This will deprecate the :ref:`start_child_span <envoy_v3_api_field_extensions.filters.http.router.v3.Router.start_child_span>` in the router. Users should set appropriate value based on their tracing provider and actual scenario: * If Envoy is used as sidecar and users want to make the sidecar and its application as only one hop in the trace chain, this flag should be set to false. And please also make sure the :ref:`start_child_span <envoy_v3_api_field_extensions.filters.http.router.v3.Router.start_child_span>` in the router is not set to true. * If Envoy is used as gateway or independent proxy, or users want to make the sidecar and its application as different hops in the trace chain, this flag should be set to true. * If tracing provider that has explicit requirements on span creation (like SkyWalking), this flag should be set to true. The default value is false for now for backward compatibility.
.google.protobuf.BoolValue spawn_upstream_span = 10;
-
clearSpawnUpstreamSpan
public HttpConnectionManager.Tracing.Builder clearSpawnUpstreamSpan()
Create separate tracing span for each upstream request if true. And if this flag is set to true, the tracing provider will assume that Envoy will be independent hop in the trace chain and may set span type to client or server based on this flag. This will deprecate the :ref:`start_child_span <envoy_v3_api_field_extensions.filters.http.router.v3.Router.start_child_span>` in the router. Users should set appropriate value based on their tracing provider and actual scenario: * If Envoy is used as sidecar and users want to make the sidecar and its application as only one hop in the trace chain, this flag should be set to false. And please also make sure the :ref:`start_child_span <envoy_v3_api_field_extensions.filters.http.router.v3.Router.start_child_span>` in the router is not set to true. * If Envoy is used as gateway or independent proxy, or users want to make the sidecar and its application as different hops in the trace chain, this flag should be set to true. * If tracing provider that has explicit requirements on span creation (like SkyWalking), this flag should be set to true. The default value is false for now for backward compatibility.
.google.protobuf.BoolValue spawn_upstream_span = 10;
-
getSpawnUpstreamSpanBuilder
public com.google.protobuf.BoolValue.Builder getSpawnUpstreamSpanBuilder()
Create separate tracing span for each upstream request if true. And if this flag is set to true, the tracing provider will assume that Envoy will be independent hop in the trace chain and may set span type to client or server based on this flag. This will deprecate the :ref:`start_child_span <envoy_v3_api_field_extensions.filters.http.router.v3.Router.start_child_span>` in the router. Users should set appropriate value based on their tracing provider and actual scenario: * If Envoy is used as sidecar and users want to make the sidecar and its application as only one hop in the trace chain, this flag should be set to false. And please also make sure the :ref:`start_child_span <envoy_v3_api_field_extensions.filters.http.router.v3.Router.start_child_span>` in the router is not set to true. * If Envoy is used as gateway or independent proxy, or users want to make the sidecar and its application as different hops in the trace chain, this flag should be set to true. * If tracing provider that has explicit requirements on span creation (like SkyWalking), this flag should be set to true. The default value is false for now for backward compatibility.
.google.protobuf.BoolValue spawn_upstream_span = 10;
-
getSpawnUpstreamSpanOrBuilder
public com.google.protobuf.BoolValueOrBuilder getSpawnUpstreamSpanOrBuilder()
Create separate tracing span for each upstream request if true. And if this flag is set to true, the tracing provider will assume that Envoy will be independent hop in the trace chain and may set span type to client or server based on this flag. This will deprecate the :ref:`start_child_span <envoy_v3_api_field_extensions.filters.http.router.v3.Router.start_child_span>` in the router. Users should set appropriate value based on their tracing provider and actual scenario: * If Envoy is used as sidecar and users want to make the sidecar and its application as only one hop in the trace chain, this flag should be set to false. And please also make sure the :ref:`start_child_span <envoy_v3_api_field_extensions.filters.http.router.v3.Router.start_child_span>` in the router is not set to true. * If Envoy is used as gateway or independent proxy, or users want to make the sidecar and its application as different hops in the trace chain, this flag should be set to true. * If tracing provider that has explicit requirements on span creation (like SkyWalking), this flag should be set to true. The default value is false for now for backward compatibility.
.google.protobuf.BoolValue spawn_upstream_span = 10;- Specified by:
getSpawnUpstreamSpanOrBuilderin interfaceHttpConnectionManager.TracingOrBuilder
-
getSpawnUpstreamSpanFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder,com.google.protobuf.BoolValueOrBuilder> getSpawnUpstreamSpanFieldBuilder()
Create separate tracing span for each upstream request if true. And if this flag is set to true, the tracing provider will assume that Envoy will be independent hop in the trace chain and may set span type to client or server based on this flag. This will deprecate the :ref:`start_child_span <envoy_v3_api_field_extensions.filters.http.router.v3.Router.start_child_span>` in the router. Users should set appropriate value based on their tracing provider and actual scenario: * If Envoy is used as sidecar and users want to make the sidecar and its application as only one hop in the trace chain, this flag should be set to false. And please also make sure the :ref:`start_child_span <envoy_v3_api_field_extensions.filters.http.router.v3.Router.start_child_span>` in the router is not set to true. * If Envoy is used as gateway or independent proxy, or users want to make the sidecar and its application as different hops in the trace chain, this flag should be set to true. * If tracing provider that has explicit requirements on span creation (like SkyWalking), this flag should be set to true. The default value is false for now for backward compatibility.
.google.protobuf.BoolValue spawn_upstream_span = 10;
-
-