public final class Tracing extends com.google.protobuf.GeneratedMessageV3 implements TracingOrBuilder
envoy.config.route.v4alpha.Tracing| Modifier and Type | Class and Description |
|---|---|
static class |
Tracing.Builder
Protobuf type
envoy.config.route.v4alpha.Tracing |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CLIENT_SAMPLING_FIELD_NUMBER |
static int |
CUSTOM_TAGS_FIELD_NUMBER |
static int |
OVERALL_SAMPLING_FIELD_NUMBER |
static int |
RANDOM_SAMPLING_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
FractionalPercent |
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.
|
FractionalPercentOrBuilder |
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.
|
CustomTag |
getCustomTags(int index)
A list of custom tags with unique tag name to create tags for the active span.
|
int |
getCustomTagsCount()
A list of custom tags with unique tag name to create tags for the active span.
|
List<CustomTag> |
getCustomTagsList()
A list of custom tags with unique tag name to create tags for the active span.
|
CustomTagOrBuilder |
getCustomTagsOrBuilder(int index)
A list of custom tags with unique tag name to create tags for the active span.
|
List<? extends CustomTagOrBuilder> |
getCustomTagsOrBuilderList()
A list of custom tags with unique tag name to create tags for the active span.
|
static Tracing |
getDefaultInstance() |
Tracing |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
FractionalPercent |
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).
|
FractionalPercentOrBuilder |
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).
|
com.google.protobuf.Parser<Tracing> |
getParserForType() |
FractionalPercent |
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.
|
FractionalPercentOrBuilder |
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.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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.
|
int |
hashCode() |
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).
|
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Tracing.Builder |
newBuilder() |
static Tracing.Builder |
newBuilder(Tracing prototype) |
Tracing.Builder |
newBuilderForType() |
protected Tracing.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Tracing |
parseDelimitedFrom(InputStream input) |
static Tracing |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Tracing |
parseFrom(byte[] data) |
static Tracing |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Tracing |
parseFrom(ByteBuffer data) |
static Tracing |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Tracing |
parseFrom(com.google.protobuf.ByteString data) |
static Tracing |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Tracing |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Tracing |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Tracing |
parseFrom(InputStream input) |
static Tracing |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Tracing> |
parser() |
Tracing.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CLIENT_SAMPLING_FIELD_NUMBER
public static final int RANDOM_SAMPLING_FIELD_NUMBER
public static final int OVERALL_SAMPLING_FIELD_NUMBER
public static final int CUSTOM_TAGS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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_sampling' in the :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`. Default: 100%
.envoy.type.v3.FractionalPercent client_sampling = 1;hasClientSampling in interface TracingOrBuilderpublic FractionalPercent 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_sampling' in the :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`. Default: 100%
.envoy.type.v3.FractionalPercent client_sampling = 1;getClientSampling in interface TracingOrBuilderpublic FractionalPercentOrBuilder 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_sampling' in the :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`. Default: 100%
.envoy.type.v3.FractionalPercent client_sampling = 1;getClientSamplingOrBuilder in interface TracingOrBuilderpublic 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.FractionalPercent random_sampling = 2;hasRandomSampling in interface TracingOrBuilderpublic FractionalPercent 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.FractionalPercent random_sampling = 2;getRandomSampling in interface TracingOrBuilderpublic FractionalPercentOrBuilder 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.FractionalPercent random_sampling = 2;getRandomSamplingOrBuilder in interface TracingOrBuilderpublic 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.FractionalPercent overall_sampling = 3;hasOverallSampling in interface TracingOrBuilderpublic FractionalPercent 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.FractionalPercent overall_sampling = 3;getOverallSampling in interface TracingOrBuilderpublic FractionalPercentOrBuilder 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.FractionalPercent overall_sampling = 3;getOverallSamplingOrBuilder in interface TracingOrBuilderpublic List<CustomTag> getCustomTagsList()
A list of custom tags with unique tag name to create tags for the active span. It will take effect after merging with the :ref:`corresponding configuration <envoy_api_field_extensions.filters.network.http_connection_manager.v4alpha.HttpConnectionManager.Tracing.custom_tags>` configured in the HTTP connection manager. If two tags with the same name are configured each in the HTTP connection manager and the route level, the one configured here takes priority.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 4;getCustomTagsList in interface TracingOrBuilderpublic List<? extends CustomTagOrBuilder> getCustomTagsOrBuilderList()
A list of custom tags with unique tag name to create tags for the active span. It will take effect after merging with the :ref:`corresponding configuration <envoy_api_field_extensions.filters.network.http_connection_manager.v4alpha.HttpConnectionManager.Tracing.custom_tags>` configured in the HTTP connection manager. If two tags with the same name are configured each in the HTTP connection manager and the route level, the one configured here takes priority.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 4;getCustomTagsOrBuilderList in interface TracingOrBuilderpublic int getCustomTagsCount()
A list of custom tags with unique tag name to create tags for the active span. It will take effect after merging with the :ref:`corresponding configuration <envoy_api_field_extensions.filters.network.http_connection_manager.v4alpha.HttpConnectionManager.Tracing.custom_tags>` configured in the HTTP connection manager. If two tags with the same name are configured each in the HTTP connection manager and the route level, the one configured here takes priority.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 4;getCustomTagsCount in interface TracingOrBuilderpublic CustomTag getCustomTags(int index)
A list of custom tags with unique tag name to create tags for the active span. It will take effect after merging with the :ref:`corresponding configuration <envoy_api_field_extensions.filters.network.http_connection_manager.v4alpha.HttpConnectionManager.Tracing.custom_tags>` configured in the HTTP connection manager. If two tags with the same name are configured each in the HTTP connection manager and the route level, the one configured here takes priority.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 4;getCustomTags in interface TracingOrBuilderpublic CustomTagOrBuilder getCustomTagsOrBuilder(int index)
A list of custom tags with unique tag name to create tags for the active span. It will take effect after merging with the :ref:`corresponding configuration <envoy_api_field_extensions.filters.network.http_connection_manager.v4alpha.HttpConnectionManager.Tracing.custom_tags>` configured in the HTTP connection manager. If two tags with the same name are configured each in the HTTP connection manager and the route level, the one configured here takes priority.
repeated .envoy.type.tracing.v3.CustomTag custom_tags = 4;getCustomTagsOrBuilder in interface TracingOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Tracing parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Tracing parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Tracing parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Tracing parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Tracing parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Tracing parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Tracing parseFrom(InputStream input) throws IOException
IOExceptionpublic static Tracing parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Tracing parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Tracing parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Tracing parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Tracing parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Tracing.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Tracing.Builder newBuilder()
public static Tracing.Builder newBuilder(Tracing prototype)
public Tracing.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Tracing.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Tracing getDefaultInstance()
public static com.google.protobuf.Parser<Tracing> parser()
public com.google.protobuf.Parser<Tracing> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Tracing getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.