Documentation ¶
Index ¶
- Variables
- type XRayConfig
- func (*XRayConfig) Descriptor() ([]byte, []int)
- func (m *XRayConfig) GetDaemonEndpoint() *core.SocketAddress
- func (m *XRayConfig) GetSamplingRuleManifest() *core.DataSource
- func (m *XRayConfig) GetSegmentName() string
- func (m *XRayConfig) Marshal() (dAtA []byte, err error)
- func (m *XRayConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *XRayConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*XRayConfig) ProtoMessage()
- func (m *XRayConfig) Reset()
- func (m *XRayConfig) Size() (n int)
- func (m *XRayConfig) String() string
- func (m *XRayConfig) Unmarshal(dAtA []byte) error
- func (m *XRayConfig) Validate() error
- func (m *XRayConfig) XXX_DiscardUnknown()
- func (m *XRayConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *XRayConfig) XXX_Merge(src proto.Message)
- func (m *XRayConfig) XXX_Size() int
- func (m *XRayConfig) XXX_Unmarshal(b []byte) error
- type XRayConfigValidationError
Constants ¶
This section is empty.
Variables ¶
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 *core.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 *core.DataSource `protobuf:"bytes,3,opt,name=sampling_rule_manifest,json=samplingRuleManifest,proto3" json:"sampling_rule_manifest,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*XRayConfig) Descriptor ¶
func (*XRayConfig) Descriptor() ([]byte, []int)
func (*XRayConfig) GetDaemonEndpoint ¶
func (m *XRayConfig) GetDaemonEndpoint() *core.SocketAddress
func (*XRayConfig) GetSamplingRuleManifest ¶
func (m *XRayConfig) GetSamplingRuleManifest() *core.DataSource
func (*XRayConfig) GetSegmentName ¶
func (m *XRayConfig) GetSegmentName() string
func (*XRayConfig) Marshal ¶
func (m *XRayConfig) Marshal() (dAtA []byte, err error)
func (*XRayConfig) MarshalToSizedBuffer ¶
func (m *XRayConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*XRayConfig) ProtoMessage ¶
func (*XRayConfig) ProtoMessage()
func (*XRayConfig) Reset ¶
func (m *XRayConfig) Reset()
func (*XRayConfig) Size ¶
func (m *XRayConfig) Size() (n int)
func (*XRayConfig) String ¶
func (m *XRayConfig) String() string
func (*XRayConfig) Unmarshal ¶
func (m *XRayConfig) Unmarshal(dAtA []byte) error
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.
func (*XRayConfig) XXX_DiscardUnknown ¶
func (m *XRayConfig) XXX_DiscardUnknown()
func (*XRayConfig) XXX_Marshal ¶
func (m *XRayConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*XRayConfig) XXX_Merge ¶
func (m *XRayConfig) XXX_Merge(src proto.Message)
func (*XRayConfig) XXX_Size ¶
func (m *XRayConfig) XXX_Size() int
func (*XRayConfig) XXX_Unmarshal ¶
func (m *XRayConfig) XXX_Unmarshal(b []byte) error
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.
Click to show internal directories.
Click to hide internal directories.