Documentation ¶
Index ¶
- Variables
- type XRayConfig
- func (*XRayConfig) Descriptor() ([]byte, []int)deprecated
- func (x *XRayConfig) GetDaemonEndpoint() *v4alpha.SocketAddress
- func (x *XRayConfig) GetSamplingRuleManifest() *v4alpha.DataSource
- func (x *XRayConfig) GetSegmentFields() *XRayConfig_SegmentFields
- func (x *XRayConfig) GetSegmentName() string
- func (*XRayConfig) ProtoMessage()
- func (x *XRayConfig) ProtoReflect() protoreflect.Message
- func (x *XRayConfig) Reset()
- func (x *XRayConfig) String() string
- func (m *XRayConfig) Validate() error
- type XRayConfigValidationError
- type XRayConfig_SegmentFields
- func (*XRayConfig_SegmentFields) Descriptor() ([]byte, []int)deprecated
- func (x *XRayConfig_SegmentFields) GetAws() *_struct.Struct
- func (x *XRayConfig_SegmentFields) GetOrigin() string
- func (*XRayConfig_SegmentFields) ProtoMessage()
- func (x *XRayConfig_SegmentFields) ProtoReflect() protoreflect.Message
- func (x *XRayConfig_SegmentFields) Reset()
- func (x *XRayConfig_SegmentFields) String() string
- func (m *XRayConfig_SegmentFields) Validate() error
- type XRayConfig_SegmentFieldsValidationError
- func (e XRayConfig_SegmentFieldsValidationError) Cause() error
- func (e XRayConfig_SegmentFieldsValidationError) Error() string
- func (e XRayConfig_SegmentFieldsValidationError) ErrorName() string
- func (e XRayConfig_SegmentFieldsValidationError) Field() string
- func (e XRayConfig_SegmentFieldsValidationError) Key() bool
- func (e XRayConfig_SegmentFieldsValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_envoy_extensions_tracers_xray_v4alpha_xray_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type XRayConfig ¶
type XRayConfig struct { // 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. DaemonEndpoint *v4alpha.SocketAddress `protobuf:"bytes,1,opt,name=daemon_endpoint,json=daemonEndpoint,proto3" json:"daemon_endpoint,omitempty"` // The name of the X-Ray segment. SegmentName string `protobuf:"bytes,2,opt,name=segment_name,json=segmentName,proto3" json:"segment_name,omitempty"` // 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>`_ SamplingRuleManifest *v4alpha.DataSource `protobuf:"bytes,3,opt,name=sampling_rule_manifest,json=samplingRuleManifest,proto3" json:"sampling_rule_manifest,omitempty"` // 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>`__ SegmentFields *XRayConfig_SegmentFields `protobuf:"bytes,4,opt,name=segment_fields,json=segmentFields,proto3" json:"segment_fields,omitempty"` // contains filtered or unexported fields }
func (*XRayConfig) Descriptor
deprecated
func (*XRayConfig) Descriptor() ([]byte, []int)
Deprecated: Use XRayConfig.ProtoReflect.Descriptor instead.
func (*XRayConfig) GetDaemonEndpoint ¶
func (x *XRayConfig) GetDaemonEndpoint() *v4alpha.SocketAddress
func (*XRayConfig) GetSamplingRuleManifest ¶
func (x *XRayConfig) GetSamplingRuleManifest() *v4alpha.DataSource
func (*XRayConfig) GetSegmentFields ¶
func (x *XRayConfig) GetSegmentFields() *XRayConfig_SegmentFields
func (*XRayConfig) GetSegmentName ¶
func (x *XRayConfig) GetSegmentName() string
func (*XRayConfig) ProtoMessage ¶
func (*XRayConfig) ProtoMessage()
func (*XRayConfig) ProtoReflect ¶
func (x *XRayConfig) ProtoReflect() protoreflect.Message
func (*XRayConfig) Reset ¶
func (x *XRayConfig) Reset()
func (*XRayConfig) String ¶
func (x *XRayConfig) String() string
func (*XRayConfig) Validate ¶
func (m *XRayConfig) Validate() error
Validate checks the field values on XRayConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type XRayConfigValidationError ¶
type XRayConfigValidationError struct {
// contains filtered or unexported fields
}
XRayConfigValidationError is the validation error returned by XRayConfig.Validate if the designated constraints aren't met.
func (XRayConfigValidationError) Cause ¶
func (e XRayConfigValidationError) Cause() error
Cause function returns cause value.
func (XRayConfigValidationError) Error ¶
func (e XRayConfigValidationError) Error() string
Error satisfies the builtin error interface
func (XRayConfigValidationError) ErrorName ¶
func (e XRayConfigValidationError) ErrorName() string
ErrorName returns error name.
func (XRayConfigValidationError) Field ¶
func (e XRayConfigValidationError) Field() string
Field function returns field value.
func (XRayConfigValidationError) Key ¶
func (e XRayConfigValidationError) Key() bool
Key function returns key value.
func (XRayConfigValidationError) Reason ¶
func (e XRayConfigValidationError) Reason() string
Reason function returns reason value.
type XRayConfig_SegmentFields ¶
type XRayConfig_SegmentFields struct { // The type of AWS resource, e.g. "AWS::AppMesh::Proxy". Origin string `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"` // AWS resource metadata dictionary. // See: `X-Ray Segment Document documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html#api-segmentdocuments-aws>`__ Aws *_struct.Struct `protobuf:"bytes,2,opt,name=aws,proto3" json:"aws,omitempty"` // contains filtered or unexported fields }
func (*XRayConfig_SegmentFields) Descriptor
deprecated
func (*XRayConfig_SegmentFields) Descriptor() ([]byte, []int)
Deprecated: Use XRayConfig_SegmentFields.ProtoReflect.Descriptor instead.
func (*XRayConfig_SegmentFields) GetAws ¶
func (x *XRayConfig_SegmentFields) GetAws() *_struct.Struct
func (*XRayConfig_SegmentFields) GetOrigin ¶
func (x *XRayConfig_SegmentFields) GetOrigin() string
func (*XRayConfig_SegmentFields) ProtoMessage ¶
func (*XRayConfig_SegmentFields) ProtoMessage()
func (*XRayConfig_SegmentFields) ProtoReflect ¶
func (x *XRayConfig_SegmentFields) ProtoReflect() protoreflect.Message
func (*XRayConfig_SegmentFields) Reset ¶
func (x *XRayConfig_SegmentFields) Reset()
func (*XRayConfig_SegmentFields) String ¶
func (x *XRayConfig_SegmentFields) String() string
func (*XRayConfig_SegmentFields) Validate ¶
func (m *XRayConfig_SegmentFields) Validate() error
Validate checks the field values on XRayConfig_SegmentFields with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type XRayConfig_SegmentFieldsValidationError ¶
type XRayConfig_SegmentFieldsValidationError struct {
// contains filtered or unexported fields
}
XRayConfig_SegmentFieldsValidationError is the validation error returned by XRayConfig_SegmentFields.Validate if the designated constraints aren't met.
func (XRayConfig_SegmentFieldsValidationError) Cause ¶
func (e XRayConfig_SegmentFieldsValidationError) Cause() error
Cause function returns cause value.
func (XRayConfig_SegmentFieldsValidationError) Error ¶
func (e XRayConfig_SegmentFieldsValidationError) Error() string
Error satisfies the builtin error interface
func (XRayConfig_SegmentFieldsValidationError) ErrorName ¶
func (e XRayConfig_SegmentFieldsValidationError) ErrorName() string
ErrorName returns error name.
func (XRayConfig_SegmentFieldsValidationError) Field ¶
func (e XRayConfig_SegmentFieldsValidationError) Field() string
Field function returns field value.
func (XRayConfig_SegmentFieldsValidationError) Key ¶
func (e XRayConfig_SegmentFieldsValidationError) Key() bool
Key function returns key value.
func (XRayConfig_SegmentFieldsValidationError) Reason ¶
func (e XRayConfig_SegmentFieldsValidationError) Reason() string
Reason function returns reason value.