Class HttpConnectionManager.Tracing.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<HttpConnectionManager.Tracing.Builder>
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
,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 type
envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private Percent
private com.google.protobuf.SingleFieldBuilder
<Percent, Percent.Builder, PercentOrBuilder> private com.google.protobuf.RepeatedFieldBuilder
<CustomTag, CustomTag.Builder, CustomTagOrBuilder> private com.google.protobuf.UInt32Value
private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> private Percent
private com.google.protobuf.SingleFieldBuilder
<Percent, Percent.Builder, PercentOrBuilder> private Tracing.Http
private com.google.protobuf.SingleFieldBuilder
<Tracing.Http, Tracing.Http.Builder, Tracing.HttpOrBuilder> private Percent
private com.google.protobuf.SingleFieldBuilder
<Percent, Percent.Builder, PercentOrBuilder> private com.google.protobuf.BoolValue
private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> private boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllCustomTags
(Iterable<? extends CustomTag> values) A list of custom tags with unique tag name to create tags for the active span.addCustomTags
(int index, CustomTag value) A list of custom tags with unique tag name to create tags for the active span.addCustomTags
(int index, CustomTag.Builder builderForValue) A list of custom tags with unique tag name to create tags for the active span.addCustomTags
(CustomTag value) A list of custom tags with unique tag name to create tags for the active span.addCustomTags
(CustomTag.Builder builderForValue) A list of custom tags with unique tag name to create tags for the active span.A list of custom tags with unique tag name to create tags for the active span.addCustomTagsBuilder
(int index) A list of custom tags with unique tag name to create tags for the active span.build()
private void
private void
clear()
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.A list of custom tags with unique tag name to create tags for the active span.Maximum length of the request path to extract and include in the HttpUrl tag.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).Configuration for an external tracing provider.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.Create separate tracing span for each upstream request if true.Whether to annotate spans with additional data.private void
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.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.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.getCustomTags
(int index) A list of custom tags with unique tag name to create tags for the active span.getCustomTagsBuilder
(int index) A list of custom tags with unique tag name to create tags for the active span.A list of custom tags with unique tag name to create tags for the active span.int
A list of custom tags with unique tag name to create tags for the active span.A list of custom tags with unique tag name to create tags for the active span.getCustomTagsOrBuilder
(int index) A list of custom tags with unique tag name to create tags for the active span.List
<? extends CustomTagOrBuilder> A list of custom tags with unique tag name to create tags for the active span.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.UInt32Value
Maximum length of the request path to extract and include in the HttpUrl tag.com.google.protobuf.UInt32Value.Builder
Maximum length of the request path to extract and include in the HttpUrl tag.com.google.protobuf.UInt32ValueOrBuilder
Maximum length of the request path to extract and include in the HttpUrl tag.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).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).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).Configuration for an external tracing provider.Configuration for an external tracing provider.Configuration for an external tracing provider.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.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.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.BoolValue
Create separate tracing span for each upstream request if true.com.google.protobuf.BoolValue.Builder
Create separate tracing span for each upstream request if true.com.google.protobuf.BoolValueOrBuilder
Create separate tracing span for each upstream request if true.boolean
Whether to annotate spans with additional data.boolean
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.boolean
Maximum length of the request path to extract and include in the HttpUrl tag.boolean
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).boolean
Configuration for an external tracing provider.boolean
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.boolean
Create separate tracing span for each upstream request if true.private com.google.protobuf.SingleFieldBuilder
<Percent, Percent.Builder, PercentOrBuilder> 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.RepeatedFieldBuilder
<CustomTag, CustomTag.Builder, CustomTagOrBuilder> protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> Maximum length of the request path to extract and include in the HttpUrl tag.private com.google.protobuf.SingleFieldBuilder
<Percent, Percent.Builder, PercentOrBuilder> 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
<Tracing.Http, Tracing.Http.Builder, Tracing.HttpOrBuilder> Configuration for an external tracing provider.private com.google.protobuf.SingleFieldBuilder
<Percent, Percent.Builder, PercentOrBuilder> 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
<com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> Create separate tracing span for each upstream request if true.final boolean
private void
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.mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeMaxPathTagLength
(com.google.protobuf.UInt32Value value) Maximum length of the request path to extract and include in the HttpUrl tag.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).mergeProvider
(Tracing.Http value) Configuration for an external tracing provider.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.mergeSpawnUpstreamSpan
(com.google.protobuf.BoolValue value) Create separate tracing span for each upstream request if true.removeCustomTags
(int index) A list of custom tags with unique tag name to create tags for the active span.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.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.setCustomTags
(int index, CustomTag value) A list of custom tags with unique tag name to create tags for the active span.setCustomTags
(int index, CustomTag.Builder builderForValue) A list of custom tags with unique tag name to create tags for the active span.setMaxPathTagLength
(com.google.protobuf.UInt32Value value) Maximum length of the request path to extract and include in the HttpUrl tag.setMaxPathTagLength
(com.google.protobuf.UInt32Value.Builder builderForValue) Maximum length of the request path to extract and include in the HttpUrl tag.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).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).setProvider
(Tracing.Http value) Configuration for an external tracing provider.setProvider
(Tracing.Http.Builder builderForValue) Configuration for an external tracing provider.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.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.setSpawnUpstreamSpan
(com.google.protobuf.BoolValue value) Create separate tracing span for each upstream request if true.setSpawnUpstreamSpan
(com.google.protobuf.BoolValue.Builder builderForValue) Create separate tracing span for each upstream request if true.setVerbose
(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
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
bitField0_
private int bitField0_ -
clientSampling_
-
clientSamplingBuilder_
private com.google.protobuf.SingleFieldBuilder<Percent,Percent.Builder, clientSamplingBuilder_PercentOrBuilder> -
randomSampling_
-
randomSamplingBuilder_
private com.google.protobuf.SingleFieldBuilder<Percent,Percent.Builder, randomSamplingBuilder_PercentOrBuilder> -
overallSampling_
-
overallSamplingBuilder_
private com.google.protobuf.SingleFieldBuilder<Percent,Percent.Builder, overallSamplingBuilder_PercentOrBuilder> -
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, maxPathTagLengthBuilder_com.google.protobuf.UInt32ValueOrBuilder> -
customTags_
-
customTagsBuilder_
private com.google.protobuf.RepeatedFieldBuilder<CustomTag,CustomTag.Builder, customTagsBuilder_CustomTagOrBuilder> -
provider_
-
providerBuilder_
private com.google.protobuf.SingleFieldBuilder<Tracing.Http,Tracing.Http.Builder, providerBuilder_Tracing.HttpOrBuilder> -
spawnUpstreamSpan_
private com.google.protobuf.BoolValue spawnUpstreamSpan_ -
spawnUpstreamSpanBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder, spawnUpstreamSpanBuilder_com.google.protobuf.BoolValueOrBuilder>
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<HttpConnectionManager.Tracing.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<HttpConnectionManager.Tracing.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<HttpConnectionManager.Tracing.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<HttpConnectionManager.Tracing.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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 IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<HttpConnectionManager.Tracing.Builder>
- Throws:
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:
hasClientSampling
in interfaceHttpConnectionManager.TracingOrBuilder
- Returns:
- Whether the clientSampling field is set.
-
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:
getClientSampling
in interfaceHttpConnectionManager.TracingOrBuilder
- Returns:
- The clientSampling.
-
setClientSampling
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
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
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
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
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
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:
getClientSamplingOrBuilder
in interfaceHttpConnectionManager.TracingOrBuilder
-
internalGetClientSamplingFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Percent,Percent.Builder, internalGetClientSamplingFieldBuilder()PercentOrBuilder> 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:
hasRandomSampling
in interfaceHttpConnectionManager.TracingOrBuilder
- Returns:
- Whether the randomSampling field is set.
-
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:
getRandomSampling
in interfaceHttpConnectionManager.TracingOrBuilder
- Returns:
- The randomSampling.
-
setRandomSampling
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
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
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
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
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
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:
getRandomSamplingOrBuilder
in interfaceHttpConnectionManager.TracingOrBuilder
-
internalGetRandomSamplingFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Percent,Percent.Builder, internalGetRandomSamplingFieldBuilder()PercentOrBuilder> 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:
hasOverallSampling
in interfaceHttpConnectionManager.TracingOrBuilder
- Returns:
- Whether the overallSampling field is set.
-
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:
getOverallSampling
in interfaceHttpConnectionManager.TracingOrBuilder
- Returns:
- The overallSampling.
-
setOverallSampling
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
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
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
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
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
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:
getOverallSamplingOrBuilder
in interfaceHttpConnectionManager.TracingOrBuilder
-
internalGetOverallSamplingFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Percent,Percent.Builder, internalGetOverallSamplingFieldBuilder()PercentOrBuilder> 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:
getVerbose
in interfaceHttpConnectionManager.TracingOrBuilder
- Returns:
- The verbose.
-
setVerbose
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
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:
hasMaxPathTagLength
in 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:
getMaxPathTagLength
in 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
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:
getMaxPathTagLengthOrBuilder
in interfaceHttpConnectionManager.TracingOrBuilder
-
internalGetMaxPathTagLengthFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder, internalGetMaxPathTagLengthFieldBuilder()com.google.protobuf.UInt32ValueOrBuilder> 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
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:
getCustomTagsList
in 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:
getCustomTagsCount
in interfaceHttpConnectionManager.TracingOrBuilder
-
getCustomTags
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:
getCustomTags
in interfaceHttpConnectionManager.TracingOrBuilder
-
setCustomTags
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
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
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
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
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
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
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
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
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:
getCustomTagsOrBuilder
in interfaceHttpConnectionManager.TracingOrBuilder
-
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:
getCustomTagsOrBuilderList
in interfaceHttpConnectionManager.TracingOrBuilder
-
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
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
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;
-
internalGetCustomTagsFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<CustomTag,CustomTag.Builder, internalGetCustomTagsFieldBuilder()CustomTagOrBuilder> -
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:
hasProvider
in interfaceHttpConnectionManager.TracingOrBuilder
- Returns:
- Whether the provider field is set.
-
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:
getProvider
in interfaceHttpConnectionManager.TracingOrBuilder
- Returns:
- The provider.
-
setProvider
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
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
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
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
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
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:
getProviderOrBuilder
in interfaceHttpConnectionManager.TracingOrBuilder
-
internalGetProviderFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Tracing.Http,Tracing.Http.Builder, internalGetProviderFieldBuilder()Tracing.HttpOrBuilder> 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:
hasSpawnUpstreamSpan
in 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:
getSpawnUpstreamSpan
in 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
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:
getSpawnUpstreamSpanOrBuilder
in interfaceHttpConnectionManager.TracingOrBuilder
-
internalGetSpawnUpstreamSpanFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder, internalGetSpawnUpstreamSpanFieldBuilder()com.google.protobuf.BoolValueOrBuilder> 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;
-