Interface XRayConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
XRayConfig,XRayConfig.Builder
public interface XRayConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe UDP endpoint of the X-Ray Daemon where the spans will be sent.The UDP endpoint of the X-Ray Daemon where the spans will be sent.The location of a local custom sampling rules JSON file.The location of a local custom sampling rules JSON file.Optional custom fields to be added to each trace segment.Optional custom fields to be added to each trace segment.The name of the X-Ray segment.com.google.protobuf.ByteStringThe name of the X-Ray segment.booleanThe UDP endpoint of the X-Ray Daemon where the spans will be sent.booleanThe location of a local custom sampling rules JSON file.booleanOptional custom fields to be added to each trace segment.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasDaemonEndpoint
boolean hasDaemonEndpoint()The UDP endpoint of the X-Ray Daemon where the spans will be sent. If this value is not set, the default value of 127.0.0.1:2000 will be used.
.envoy.config.core.v3.SocketAddress daemon_endpoint = 1;- Returns:
- Whether the daemonEndpoint field is set.
-
getDaemonEndpoint
SocketAddress getDaemonEndpoint()The UDP endpoint of the X-Ray Daemon where the spans will be sent. If this value is not set, the default value of 127.0.0.1:2000 will be used.
.envoy.config.core.v3.SocketAddress daemon_endpoint = 1;- Returns:
- The daemonEndpoint.
-
getDaemonEndpointOrBuilder
SocketAddressOrBuilder getDaemonEndpointOrBuilder()The UDP endpoint of the X-Ray Daemon where the spans will be sent. If this value is not set, the default value of 127.0.0.1:2000 will be used.
.envoy.config.core.v3.SocketAddress daemon_endpoint = 1; -
getSegmentName
String getSegmentName()The name of the X-Ray segment.
string segment_name = 2 [(.validate.rules) = { ... }- Returns:
- The segmentName.
-
getSegmentNameBytes
com.google.protobuf.ByteString getSegmentNameBytes()The name of the X-Ray segment.
string segment_name = 2 [(.validate.rules) = { ... }- Returns:
- The bytes for segmentName.
-
hasSamplingRuleManifest
boolean hasSamplingRuleManifest()The location of a local custom sampling rules JSON file. For an example of the sampling rules see: `X-Ray SDK documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-go-configuration.html#xray-sdk-go-configuration-sampling>`_
.envoy.config.core.v3.DataSource sampling_rule_manifest = 3;- Returns:
- Whether the samplingRuleManifest field is set.
-
getSamplingRuleManifest
DataSource getSamplingRuleManifest()The location of a local custom sampling rules JSON file. For an example of the sampling rules see: `X-Ray SDK documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-go-configuration.html#xray-sdk-go-configuration-sampling>`_
.envoy.config.core.v3.DataSource sampling_rule_manifest = 3;- Returns:
- The samplingRuleManifest.
-
getSamplingRuleManifestOrBuilder
DataSourceOrBuilder getSamplingRuleManifestOrBuilder()The location of a local custom sampling rules JSON file. For an example of the sampling rules see: `X-Ray SDK documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-go-configuration.html#xray-sdk-go-configuration-sampling>`_
.envoy.config.core.v3.DataSource sampling_rule_manifest = 3; -
hasSegmentFields
boolean hasSegmentFields()Optional custom fields to be added to each trace segment. see: `X-Ray Segment Document documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html>`__
.envoy.config.trace.v3.XRayConfig.SegmentFields segment_fields = 4;- Returns:
- Whether the segmentFields field is set.
-
getSegmentFields
XRayConfig.SegmentFields getSegmentFields()Optional custom fields to be added to each trace segment. see: `X-Ray Segment Document documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html>`__
.envoy.config.trace.v3.XRayConfig.SegmentFields segment_fields = 4;- Returns:
- The segmentFields.
-
getSegmentFieldsOrBuilder
XRayConfig.SegmentFieldsOrBuilder getSegmentFieldsOrBuilder()Optional custom fields to be added to each trace segment. see: `X-Ray Segment Document documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html>`__
.envoy.config.trace.v3.XRayConfig.SegmentFields segment_fields = 4;
-