Documentation ¶
Index ¶
- Variables
- type DatadogConfig
- func (*DatadogConfig) Descriptor() ([]byte, []int)
- func (m *DatadogConfig) GetCollectorCluster() string
- func (m *DatadogConfig) GetServiceName() string
- func (m *DatadogConfig) Marshal() (dAtA []byte, err error)
- func (m *DatadogConfig) MarshalTo(dAtA []byte) (int, error)
- func (*DatadogConfig) ProtoMessage()
- func (m *DatadogConfig) Reset()
- func (m *DatadogConfig) Size() (n int)
- func (m *DatadogConfig) String() string
- func (m *DatadogConfig) Unmarshal(dAtA []byte) error
- func (m *DatadogConfig) Validate() error
- func (m *DatadogConfig) XXX_DiscardUnknown()
- func (m *DatadogConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DatadogConfig) XXX_Merge(src proto.Message)
- func (m *DatadogConfig) XXX_Size() int
- func (m *DatadogConfig) XXX_Unmarshal(b []byte) error
- type DatadogConfigValidationError
- func (e DatadogConfigValidationError) Cause() error
- func (e DatadogConfigValidationError) Error() string
- func (e DatadogConfigValidationError) ErrorName() string
- func (e DatadogConfigValidationError) Field() string
- func (e DatadogConfigValidationError) Key() bool
- func (e DatadogConfigValidationError) Reason() string
- type DynamicOtConfig
- func (*DynamicOtConfig) Descriptor() ([]byte, []int)
- func (m *DynamicOtConfig) GetConfig() *types.Struct
- func (m *DynamicOtConfig) GetLibrary() string
- func (m *DynamicOtConfig) Marshal() (dAtA []byte, err error)
- func (m *DynamicOtConfig) MarshalTo(dAtA []byte) (int, error)
- func (*DynamicOtConfig) ProtoMessage()
- func (m *DynamicOtConfig) Reset()
- func (m *DynamicOtConfig) Size() (n int)
- func (m *DynamicOtConfig) String() string
- func (m *DynamicOtConfig) Unmarshal(dAtA []byte) error
- func (m *DynamicOtConfig) Validate() error
- func (m *DynamicOtConfig) XXX_DiscardUnknown()
- func (m *DynamicOtConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DynamicOtConfig) XXX_Merge(src proto.Message)
- func (m *DynamicOtConfig) XXX_Size() int
- func (m *DynamicOtConfig) XXX_Unmarshal(b []byte) error
- type DynamicOtConfigValidationError
- func (e DynamicOtConfigValidationError) Cause() error
- func (e DynamicOtConfigValidationError) Error() string
- func (e DynamicOtConfigValidationError) ErrorName() string
- func (e DynamicOtConfigValidationError) Field() string
- func (e DynamicOtConfigValidationError) Key() bool
- func (e DynamicOtConfigValidationError) Reason() string
- type LightstepConfig
- func (*LightstepConfig) Descriptor() ([]byte, []int)
- func (m *LightstepConfig) GetAccessTokenFile() string
- func (m *LightstepConfig) GetCollectorCluster() string
- func (m *LightstepConfig) Marshal() (dAtA []byte, err error)
- func (m *LightstepConfig) MarshalTo(dAtA []byte) (int, error)
- func (*LightstepConfig) ProtoMessage()
- func (m *LightstepConfig) Reset()
- func (m *LightstepConfig) Size() (n int)
- func (m *LightstepConfig) String() string
- func (m *LightstepConfig) Unmarshal(dAtA []byte) error
- func (m *LightstepConfig) Validate() error
- func (m *LightstepConfig) XXX_DiscardUnknown()
- func (m *LightstepConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LightstepConfig) XXX_Merge(src proto.Message)
- func (m *LightstepConfig) XXX_Size() int
- func (m *LightstepConfig) XXX_Unmarshal(b []byte) error
- type LightstepConfigValidationError
- func (e LightstepConfigValidationError) Cause() error
- func (e LightstepConfigValidationError) Error() string
- func (e LightstepConfigValidationError) ErrorName() string
- func (e LightstepConfigValidationError) Field() string
- func (e LightstepConfigValidationError) Key() bool
- func (e LightstepConfigValidationError) Reason() string
- type TraceServiceConfig
- func (*TraceServiceConfig) Descriptor() ([]byte, []int)
- func (m *TraceServiceConfig) GetGrpcService() *core.GrpcService
- func (m *TraceServiceConfig) Marshal() (dAtA []byte, err error)
- func (m *TraceServiceConfig) MarshalTo(dAtA []byte) (int, error)
- func (*TraceServiceConfig) ProtoMessage()
- func (m *TraceServiceConfig) Reset()
- func (m *TraceServiceConfig) Size() (n int)
- func (m *TraceServiceConfig) String() string
- func (m *TraceServiceConfig) Unmarshal(dAtA []byte) error
- func (m *TraceServiceConfig) Validate() error
- func (m *TraceServiceConfig) XXX_DiscardUnknown()
- func (m *TraceServiceConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TraceServiceConfig) XXX_Merge(src proto.Message)
- func (m *TraceServiceConfig) XXX_Size() int
- func (m *TraceServiceConfig) XXX_Unmarshal(b []byte) error
- type TraceServiceConfigValidationError
- func (e TraceServiceConfigValidationError) Cause() error
- func (e TraceServiceConfigValidationError) Error() string
- func (e TraceServiceConfigValidationError) ErrorName() string
- func (e TraceServiceConfigValidationError) Field() string
- func (e TraceServiceConfigValidationError) Key() bool
- func (e TraceServiceConfigValidationError) Reason() string
- type Tracing
- func (*Tracing) Descriptor() ([]byte, []int)
- func (m *Tracing) GetHttp() *Tracing_Http
- func (m *Tracing) Marshal() (dAtA []byte, err error)
- func (m *Tracing) MarshalTo(dAtA []byte) (int, error)
- func (*Tracing) ProtoMessage()
- func (m *Tracing) Reset()
- func (m *Tracing) Size() (n int)
- func (m *Tracing) String() string
- func (m *Tracing) Unmarshal(dAtA []byte) error
- func (m *Tracing) Validate() error
- func (m *Tracing) XXX_DiscardUnknown()
- func (m *Tracing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Tracing) XXX_Merge(src proto.Message)
- func (m *Tracing) XXX_Size() int
- func (m *Tracing) XXX_Unmarshal(b []byte) error
- type TracingValidationError
- type Tracing_Http
- func (*Tracing_Http) Descriptor() ([]byte, []int)
- func (m *Tracing_Http) GetConfig() *types.Struct
- func (m *Tracing_Http) GetConfigType() isTracing_Http_ConfigType
- func (m *Tracing_Http) GetName() string
- func (m *Tracing_Http) GetTypedConfig() *types.Any
- func (m *Tracing_Http) Marshal() (dAtA []byte, err error)
- func (m *Tracing_Http) MarshalTo(dAtA []byte) (int, error)
- func (*Tracing_Http) ProtoMessage()
- func (m *Tracing_Http) Reset()
- func (m *Tracing_Http) Size() (n int)
- func (m *Tracing_Http) String() string
- func (m *Tracing_Http) Unmarshal(dAtA []byte) error
- func (m *Tracing_Http) Validate() error
- func (m *Tracing_Http) XXX_DiscardUnknown()
- func (m *Tracing_Http) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Tracing_Http) XXX_Merge(src proto.Message)
- func (*Tracing_Http) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Tracing_Http) XXX_Size() int
- func (m *Tracing_Http) XXX_Unmarshal(b []byte) error
- type Tracing_HttpValidationError
- func (e Tracing_HttpValidationError) Cause() error
- func (e Tracing_HttpValidationError) Error() string
- func (e Tracing_HttpValidationError) ErrorName() string
- func (e Tracing_HttpValidationError) Field() string
- func (e Tracing_HttpValidationError) Key() bool
- func (e Tracing_HttpValidationError) Reason() string
- type Tracing_Http_Config
- type Tracing_Http_TypedConfig
- type ZipkinConfig
- func (*ZipkinConfig) Descriptor() ([]byte, []int)
- func (m *ZipkinConfig) GetCollectorCluster() string
- func (m *ZipkinConfig) GetCollectorEndpoint() string
- func (m *ZipkinConfig) GetSharedSpanContext() *types.BoolValue
- func (m *ZipkinConfig) GetTraceId_128Bit() bool
- func (m *ZipkinConfig) Marshal() (dAtA []byte, err error)
- func (m *ZipkinConfig) MarshalTo(dAtA []byte) (int, error)
- func (*ZipkinConfig) ProtoMessage()
- func (m *ZipkinConfig) Reset()
- func (m *ZipkinConfig) Size() (n int)
- func (m *ZipkinConfig) String() string
- func (m *ZipkinConfig) Unmarshal(dAtA []byte) error
- func (m *ZipkinConfig) Validate() error
- func (m *ZipkinConfig) XXX_DiscardUnknown()
- func (m *ZipkinConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ZipkinConfig) XXX_Merge(src proto.Message)
- func (m *ZipkinConfig) XXX_Size() int
- func (m *ZipkinConfig) XXX_Unmarshal(b []byte) error
- type ZipkinConfigValidationError
- func (e ZipkinConfigValidationError) Cause() error
- func (e ZipkinConfigValidationError) Error() string
- func (e ZipkinConfigValidationError) ErrorName() string
- func (e ZipkinConfigValidationError) Field() string
- func (e ZipkinConfigValidationError) Key() bool
- func (e ZipkinConfigValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthTrace = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTrace = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type DatadogConfig ¶ added in v0.6.3
type DatadogConfig struct { // The cluster to use for submitting traces to the Datadog agent. CollectorCluster string `protobuf:"bytes,1,opt,name=collector_cluster,json=collectorCluster,proto3" json:"collector_cluster,omitempty"` // The name used for the service when traces are generated by envoy. ServiceName string `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Configuration for the Datadog tracer.
func (*DatadogConfig) Descriptor ¶ added in v0.6.3
func (*DatadogConfig) Descriptor() ([]byte, []int)
func (*DatadogConfig) GetCollectorCluster ¶ added in v0.6.3
func (m *DatadogConfig) GetCollectorCluster() string
func (*DatadogConfig) GetServiceName ¶ added in v0.6.3
func (m *DatadogConfig) GetServiceName() string
func (*DatadogConfig) Marshal ¶ added in v0.6.3
func (m *DatadogConfig) Marshal() (dAtA []byte, err error)
func (*DatadogConfig) MarshalTo ¶ added in v0.6.3
func (m *DatadogConfig) MarshalTo(dAtA []byte) (int, error)
func (*DatadogConfig) ProtoMessage ¶ added in v0.6.3
func (*DatadogConfig) ProtoMessage()
func (*DatadogConfig) Reset ¶ added in v0.6.3
func (m *DatadogConfig) Reset()
func (*DatadogConfig) Size ¶ added in v0.6.3
func (m *DatadogConfig) Size() (n int)
func (*DatadogConfig) String ¶ added in v0.6.3
func (m *DatadogConfig) String() string
func (*DatadogConfig) Unmarshal ¶ added in v0.6.3
func (m *DatadogConfig) Unmarshal(dAtA []byte) error
func (*DatadogConfig) Validate ¶ added in v0.6.3
func (m *DatadogConfig) Validate() error
Validate checks the field values on DatadogConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*DatadogConfig) XXX_DiscardUnknown ¶ added in v0.6.3
func (m *DatadogConfig) XXX_DiscardUnknown()
func (*DatadogConfig) XXX_Marshal ¶ added in v0.6.3
func (m *DatadogConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DatadogConfig) XXX_Merge ¶ added in v0.6.3
func (m *DatadogConfig) XXX_Merge(src proto.Message)
func (*DatadogConfig) XXX_Size ¶ added in v0.6.3
func (m *DatadogConfig) XXX_Size() int
func (*DatadogConfig) XXX_Unmarshal ¶ added in v0.6.3
func (m *DatadogConfig) XXX_Unmarshal(b []byte) error
type DatadogConfigValidationError ¶ added in v0.6.3
type DatadogConfigValidationError struct {
// contains filtered or unexported fields
}
DatadogConfigValidationError is the validation error returned by DatadogConfig.Validate if the designated constraints aren't met.
func (DatadogConfigValidationError) Cause ¶ added in v0.6.3
func (e DatadogConfigValidationError) Cause() error
Cause function returns cause value.
func (DatadogConfigValidationError) Error ¶ added in v0.6.3
func (e DatadogConfigValidationError) Error() string
Error satisfies the builtin error interface
func (DatadogConfigValidationError) ErrorName ¶ added in v0.6.100
func (e DatadogConfigValidationError) ErrorName() string
ErrorName returns error name.
func (DatadogConfigValidationError) Field ¶ added in v0.6.3
func (e DatadogConfigValidationError) Field() string
Field function returns field value.
func (DatadogConfigValidationError) Key ¶ added in v0.6.3
func (e DatadogConfigValidationError) Key() bool
Key function returns key value.
func (DatadogConfigValidationError) Reason ¶ added in v0.6.3
func (e DatadogConfigValidationError) Reason() string
Reason function returns reason value.
type DynamicOtConfig ¶
type DynamicOtConfig struct { // Dynamic library implementing the `OpenTracing API // <https://github.com/opentracing/opentracing-cpp>`_. Library string `protobuf:"bytes,1,opt,name=library,proto3" json:"library,omitempty"` // The configuration to use when creating a tracer from the given dynamic // library. Config *types.Struct `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DynamicOtConfig is used to dynamically load a tracer from a shared library that implements the `OpenTracing dynamic loading API <https://github.com/opentracing/opentracing-cpp>`_.
func (*DynamicOtConfig) Descriptor ¶
func (*DynamicOtConfig) Descriptor() ([]byte, []int)
func (*DynamicOtConfig) GetConfig ¶
func (m *DynamicOtConfig) GetConfig() *types.Struct
func (*DynamicOtConfig) GetLibrary ¶
func (m *DynamicOtConfig) GetLibrary() string
func (*DynamicOtConfig) Marshal ¶
func (m *DynamicOtConfig) Marshal() (dAtA []byte, err error)
func (*DynamicOtConfig) ProtoMessage ¶
func (*DynamicOtConfig) ProtoMessage()
func (*DynamicOtConfig) Reset ¶
func (m *DynamicOtConfig) Reset()
func (*DynamicOtConfig) Size ¶
func (m *DynamicOtConfig) Size() (n int)
func (*DynamicOtConfig) String ¶
func (m *DynamicOtConfig) String() string
func (*DynamicOtConfig) Unmarshal ¶
func (m *DynamicOtConfig) Unmarshal(dAtA []byte) error
func (*DynamicOtConfig) Validate ¶
func (m *DynamicOtConfig) Validate() error
Validate checks the field values on DynamicOtConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*DynamicOtConfig) XXX_DiscardUnknown ¶
func (m *DynamicOtConfig) XXX_DiscardUnknown()
func (*DynamicOtConfig) XXX_Marshal ¶
func (m *DynamicOtConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DynamicOtConfig) XXX_Merge ¶
func (m *DynamicOtConfig) XXX_Merge(src proto.Message)
func (*DynamicOtConfig) XXX_Size ¶
func (m *DynamicOtConfig) XXX_Size() int
func (*DynamicOtConfig) XXX_Unmarshal ¶
func (m *DynamicOtConfig) XXX_Unmarshal(b []byte) error
type DynamicOtConfigValidationError ¶
type DynamicOtConfigValidationError struct {
// contains filtered or unexported fields
}
DynamicOtConfigValidationError is the validation error returned by DynamicOtConfig.Validate if the designated constraints aren't met.
func (DynamicOtConfigValidationError) Cause ¶
func (e DynamicOtConfigValidationError) Cause() error
Cause function returns cause value.
func (DynamicOtConfigValidationError) Error ¶
func (e DynamicOtConfigValidationError) Error() string
Error satisfies the builtin error interface
func (DynamicOtConfigValidationError) ErrorName ¶ added in v0.6.100
func (e DynamicOtConfigValidationError) ErrorName() string
ErrorName returns error name.
func (DynamicOtConfigValidationError) Field ¶
func (e DynamicOtConfigValidationError) Field() string
Field function returns field value.
func (DynamicOtConfigValidationError) Key ¶
func (e DynamicOtConfigValidationError) Key() bool
Key function returns key value.
func (DynamicOtConfigValidationError) Reason ¶
func (e DynamicOtConfigValidationError) Reason() string
Reason function returns reason value.
type LightstepConfig ¶
type LightstepConfig struct { // The cluster manager cluster that hosts the LightStep collectors. CollectorCluster string `protobuf:"bytes,1,opt,name=collector_cluster,json=collectorCluster,proto3" json:"collector_cluster,omitempty"` // File containing the access token to the `LightStep // <https://lightstep.com/>`_ API. AccessTokenFile string `protobuf:"bytes,2,opt,name=access_token_file,json=accessTokenFile,proto3" json:"access_token_file,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Configuration for the LightStep tracer.
func (*LightstepConfig) Descriptor ¶
func (*LightstepConfig) Descriptor() ([]byte, []int)
func (*LightstepConfig) GetAccessTokenFile ¶
func (m *LightstepConfig) GetAccessTokenFile() string
func (*LightstepConfig) GetCollectorCluster ¶
func (m *LightstepConfig) GetCollectorCluster() string
func (*LightstepConfig) Marshal ¶
func (m *LightstepConfig) Marshal() (dAtA []byte, err error)
func (*LightstepConfig) ProtoMessage ¶
func (*LightstepConfig) ProtoMessage()
func (*LightstepConfig) Reset ¶
func (m *LightstepConfig) Reset()
func (*LightstepConfig) Size ¶
func (m *LightstepConfig) Size() (n int)
func (*LightstepConfig) String ¶
func (m *LightstepConfig) String() string
func (*LightstepConfig) Unmarshal ¶
func (m *LightstepConfig) Unmarshal(dAtA []byte) error
func (*LightstepConfig) Validate ¶
func (m *LightstepConfig) Validate() error
Validate checks the field values on LightstepConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*LightstepConfig) XXX_DiscardUnknown ¶
func (m *LightstepConfig) XXX_DiscardUnknown()
func (*LightstepConfig) XXX_Marshal ¶
func (m *LightstepConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LightstepConfig) XXX_Merge ¶
func (m *LightstepConfig) XXX_Merge(src proto.Message)
func (*LightstepConfig) XXX_Size ¶
func (m *LightstepConfig) XXX_Size() int
func (*LightstepConfig) XXX_Unmarshal ¶
func (m *LightstepConfig) XXX_Unmarshal(b []byte) error
type LightstepConfigValidationError ¶
type LightstepConfigValidationError struct {
// contains filtered or unexported fields
}
LightstepConfigValidationError is the validation error returned by LightstepConfig.Validate if the designated constraints aren't met.
func (LightstepConfigValidationError) Cause ¶
func (e LightstepConfigValidationError) Cause() error
Cause function returns cause value.
func (LightstepConfigValidationError) Error ¶
func (e LightstepConfigValidationError) Error() string
Error satisfies the builtin error interface
func (LightstepConfigValidationError) ErrorName ¶ added in v0.6.100
func (e LightstepConfigValidationError) ErrorName() string
ErrorName returns error name.
func (LightstepConfigValidationError) Field ¶
func (e LightstepConfigValidationError) Field() string
Field function returns field value.
func (LightstepConfigValidationError) Key ¶
func (e LightstepConfigValidationError) Key() bool
Key function returns key value.
func (LightstepConfigValidationError) Reason ¶
func (e LightstepConfigValidationError) Reason() string
Reason function returns reason value.
type TraceServiceConfig ¶
type TraceServiceConfig struct { // The upstream gRPC cluster that hosts the metrics service. GrpcService *core.GrpcService `protobuf:"bytes,1,opt,name=grpc_service,json=grpcService,proto3" json:"grpc_service,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Configuration structure.
func (*TraceServiceConfig) Descriptor ¶
func (*TraceServiceConfig) Descriptor() ([]byte, []int)
func (*TraceServiceConfig) GetGrpcService ¶
func (m *TraceServiceConfig) GetGrpcService() *core.GrpcService
func (*TraceServiceConfig) Marshal ¶
func (m *TraceServiceConfig) Marshal() (dAtA []byte, err error)
func (*TraceServiceConfig) MarshalTo ¶
func (m *TraceServiceConfig) MarshalTo(dAtA []byte) (int, error)
func (*TraceServiceConfig) ProtoMessage ¶
func (*TraceServiceConfig) ProtoMessage()
func (*TraceServiceConfig) Reset ¶
func (m *TraceServiceConfig) Reset()
func (*TraceServiceConfig) Size ¶
func (m *TraceServiceConfig) Size() (n int)
func (*TraceServiceConfig) String ¶
func (m *TraceServiceConfig) String() string
func (*TraceServiceConfig) Unmarshal ¶
func (m *TraceServiceConfig) Unmarshal(dAtA []byte) error
func (*TraceServiceConfig) Validate ¶
func (m *TraceServiceConfig) Validate() error
Validate checks the field values on TraceServiceConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*TraceServiceConfig) XXX_DiscardUnknown ¶
func (m *TraceServiceConfig) XXX_DiscardUnknown()
func (*TraceServiceConfig) XXX_Marshal ¶
func (m *TraceServiceConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TraceServiceConfig) XXX_Merge ¶
func (m *TraceServiceConfig) XXX_Merge(src proto.Message)
func (*TraceServiceConfig) XXX_Size ¶
func (m *TraceServiceConfig) XXX_Size() int
func (*TraceServiceConfig) XXX_Unmarshal ¶
func (m *TraceServiceConfig) XXX_Unmarshal(b []byte) error
type TraceServiceConfigValidationError ¶
type TraceServiceConfigValidationError struct {
// contains filtered or unexported fields
}
TraceServiceConfigValidationError is the validation error returned by TraceServiceConfig.Validate if the designated constraints aren't met.
func (TraceServiceConfigValidationError) Cause ¶
func (e TraceServiceConfigValidationError) Cause() error
Cause function returns cause value.
func (TraceServiceConfigValidationError) Error ¶
func (e TraceServiceConfigValidationError) Error() string
Error satisfies the builtin error interface
func (TraceServiceConfigValidationError) ErrorName ¶ added in v0.6.100
func (e TraceServiceConfigValidationError) ErrorName() string
ErrorName returns error name.
func (TraceServiceConfigValidationError) Field ¶
func (e TraceServiceConfigValidationError) Field() string
Field function returns field value.
func (TraceServiceConfigValidationError) Key ¶
func (e TraceServiceConfigValidationError) Key() bool
Key function returns key value.
func (TraceServiceConfigValidationError) Reason ¶
func (e TraceServiceConfigValidationError) Reason() string
Reason function returns reason value.
type Tracing ¶
type Tracing struct { // Provides configuration for the HTTP tracer. Http *Tracing_Http `protobuf:"bytes,1,opt,name=http,proto3" json:"http,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The tracing configuration specifies global settings for the HTTP tracer used by Envoy. The configuration is defined by the :ref:`Bootstrap <envoy_api_msg_config.bootstrap.v2.Bootstrap>` :ref:`tracing <envoy_api_field_config.bootstrap.v2.Bootstrap.tracing>` field. Envoy may support other tracers in the future, but right now the HTTP tracer is the only one supported.
func (*Tracing) Descriptor ¶
func (*Tracing) GetHttp ¶
func (m *Tracing) GetHttp() *Tracing_Http
func (*Tracing) ProtoMessage ¶
func (*Tracing) ProtoMessage()
func (*Tracing) Validate ¶
Validate checks the field values on Tracing with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Tracing) XXX_DiscardUnknown ¶
func (m *Tracing) XXX_DiscardUnknown()
func (*Tracing) XXX_Marshal ¶
func (*Tracing) XXX_Unmarshal ¶
type TracingValidationError ¶
type TracingValidationError struct {
// contains filtered or unexported fields
}
TracingValidationError is the validation error returned by Tracing.Validate if the designated constraints aren't met.
func (TracingValidationError) Cause ¶
func (e TracingValidationError) Cause() error
Cause function returns cause value.
func (TracingValidationError) Error ¶
func (e TracingValidationError) Error() string
Error satisfies the builtin error interface
func (TracingValidationError) ErrorName ¶ added in v0.6.100
func (e TracingValidationError) ErrorName() string
ErrorName returns error name.
func (TracingValidationError) Field ¶
func (e TracingValidationError) Field() string
Field function returns field value.
func (TracingValidationError) Key ¶
func (e TracingValidationError) Key() bool
Key function returns key value.
func (TracingValidationError) Reason ¶
func (e TracingValidationError) Reason() string
Reason function returns reason value.
type Tracing_Http ¶
type Tracing_Http struct { // The name of the HTTP trace driver to instantiate. The name must match a // supported HTTP trace driver. Built-in trace drivers: // // - *envoy.lightstep* // - *envoy.zipkin* // - *envoy.dynamic.ot* // - *envoy.tracers.datadog* Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Trace driver specific configuration which depends on the driver being instantiated. // See the trace drivers for examples: // // - :ref:`LightstepConfig <envoy_api_msg_config.trace.v2.LightstepConfig>` // - :ref:`ZipkinConfig <envoy_api_msg_config.trace.v2.ZipkinConfig>` // - :ref:`DynamicOtConfig <envoy_api_msg_config.trace.v2.DynamicOtConfig>` // - :ref:`DatadogConfig <envoy_api_msg_config.trace.v2.DatadogConfig>` // // Types that are valid to be assigned to ConfigType: // *Tracing_Http_Config // *Tracing_Http_TypedConfig ConfigType isTracing_Http_ConfigType `protobuf_oneof:"config_type"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Tracing_Http) Descriptor ¶
func (*Tracing_Http) Descriptor() ([]byte, []int)
func (*Tracing_Http) GetConfig ¶
func (m *Tracing_Http) GetConfig() *types.Struct
func (*Tracing_Http) GetConfigType ¶ added in v0.6.3
func (m *Tracing_Http) GetConfigType() isTracing_Http_ConfigType
func (*Tracing_Http) GetName ¶
func (m *Tracing_Http) GetName() string
func (*Tracing_Http) GetTypedConfig ¶ added in v0.6.3
func (m *Tracing_Http) GetTypedConfig() *types.Any
func (*Tracing_Http) Marshal ¶
func (m *Tracing_Http) Marshal() (dAtA []byte, err error)
func (*Tracing_Http) ProtoMessage ¶
func (*Tracing_Http) ProtoMessage()
func (*Tracing_Http) Reset ¶
func (m *Tracing_Http) Reset()
func (*Tracing_Http) Size ¶
func (m *Tracing_Http) Size() (n int)
func (*Tracing_Http) String ¶
func (m *Tracing_Http) String() string
func (*Tracing_Http) Unmarshal ¶
func (m *Tracing_Http) Unmarshal(dAtA []byte) error
func (*Tracing_Http) Validate ¶
func (m *Tracing_Http) Validate() error
Validate checks the field values on Tracing_Http with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Tracing_Http) XXX_DiscardUnknown ¶
func (m *Tracing_Http) XXX_DiscardUnknown()
func (*Tracing_Http) XXX_Marshal ¶
func (m *Tracing_Http) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Tracing_Http) XXX_Merge ¶
func (m *Tracing_Http) XXX_Merge(src proto.Message)
func (*Tracing_Http) XXX_OneofFuncs ¶ added in v0.6.3
func (*Tracing_Http) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Tracing_Http) XXX_Size ¶
func (m *Tracing_Http) XXX_Size() int
func (*Tracing_Http) XXX_Unmarshal ¶
func (m *Tracing_Http) XXX_Unmarshal(b []byte) error
type Tracing_HttpValidationError ¶
type Tracing_HttpValidationError struct {
// contains filtered or unexported fields
}
Tracing_HttpValidationError is the validation error returned by Tracing_Http.Validate if the designated constraints aren't met.
func (Tracing_HttpValidationError) Cause ¶
func (e Tracing_HttpValidationError) Cause() error
Cause function returns cause value.
func (Tracing_HttpValidationError) Error ¶
func (e Tracing_HttpValidationError) Error() string
Error satisfies the builtin error interface
func (Tracing_HttpValidationError) ErrorName ¶ added in v0.6.100
func (e Tracing_HttpValidationError) ErrorName() string
ErrorName returns error name.
func (Tracing_HttpValidationError) Field ¶
func (e Tracing_HttpValidationError) Field() string
Field function returns field value.
func (Tracing_HttpValidationError) Key ¶
func (e Tracing_HttpValidationError) Key() bool
Key function returns key value.
func (Tracing_HttpValidationError) Reason ¶
func (e Tracing_HttpValidationError) Reason() string
Reason function returns reason value.
type Tracing_Http_Config ¶ added in v0.6.3
type Tracing_Http_Config struct {
Config *types.Struct `protobuf:"bytes,2,opt,name=config,proto3,oneof"`
}
func (*Tracing_Http_Config) MarshalTo ¶ added in v0.6.3
func (m *Tracing_Http_Config) MarshalTo(dAtA []byte) (int, error)
func (*Tracing_Http_Config) Size ¶ added in v0.6.3
func (m *Tracing_Http_Config) Size() (n int)
type Tracing_Http_TypedConfig ¶ added in v0.6.3
type Tracing_Http_TypedConfig struct {
TypedConfig *types.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof"`
}
func (*Tracing_Http_TypedConfig) MarshalTo ¶ added in v0.6.3
func (m *Tracing_Http_TypedConfig) MarshalTo(dAtA []byte) (int, error)
func (*Tracing_Http_TypedConfig) Size ¶ added in v0.6.3
func (m *Tracing_Http_TypedConfig) Size() (n int)
type ZipkinConfig ¶
type ZipkinConfig struct { // The cluster manager cluster that hosts the Zipkin collectors. Note that the // Zipkin cluster must be defined in the :ref:`Bootstrap static cluster // resources <envoy_api_field_config.bootstrap.v2.Bootstrap.StaticResources.clusters>`. CollectorCluster string `protobuf:"bytes,1,opt,name=collector_cluster,json=collectorCluster,proto3" json:"collector_cluster,omitempty"` // The API endpoint of the Zipkin service where the spans will be sent. When // using a standard Zipkin installation, the API endpoint is typically // /api/v1/spans, which is the default value. CollectorEndpoint string `protobuf:"bytes,2,opt,name=collector_endpoint,json=collectorEndpoint,proto3" json:"collector_endpoint,omitempty"` // Determines whether a 128bit trace id will be used when creating a new // trace instance. The default value is false, which will result in a 64 bit trace id being used. TraceId_128Bit bool `protobuf:"varint,3,opt,name=trace_id_128bit,json=traceId128bit,proto3" json:"trace_id_128bit,omitempty"` // Determines whether client and server spans will shared the same span id. // The default value is true. XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ZipkinConfig) Descriptor ¶
func (*ZipkinConfig) Descriptor() ([]byte, []int)
func (*ZipkinConfig) GetCollectorCluster ¶
func (m *ZipkinConfig) GetCollectorCluster() string
func (*ZipkinConfig) GetCollectorEndpoint ¶
func (m *ZipkinConfig) GetCollectorEndpoint() string
func (*ZipkinConfig) GetSharedSpanContext ¶ added in v0.6.0
func (m *ZipkinConfig) GetSharedSpanContext() *types.BoolValue
func (*ZipkinConfig) GetTraceId_128Bit ¶
func (m *ZipkinConfig) GetTraceId_128Bit() bool
func (*ZipkinConfig) Marshal ¶
func (m *ZipkinConfig) Marshal() (dAtA []byte, err error)
func (*ZipkinConfig) ProtoMessage ¶
func (*ZipkinConfig) ProtoMessage()
func (*ZipkinConfig) Reset ¶
func (m *ZipkinConfig) Reset()
func (*ZipkinConfig) Size ¶
func (m *ZipkinConfig) Size() (n int)
func (*ZipkinConfig) String ¶
func (m *ZipkinConfig) String() string
func (*ZipkinConfig) Unmarshal ¶
func (m *ZipkinConfig) Unmarshal(dAtA []byte) error
func (*ZipkinConfig) Validate ¶
func (m *ZipkinConfig) Validate() error
Validate checks the field values on ZipkinConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*ZipkinConfig) XXX_DiscardUnknown ¶
func (m *ZipkinConfig) XXX_DiscardUnknown()
func (*ZipkinConfig) XXX_Marshal ¶
func (m *ZipkinConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ZipkinConfig) XXX_Merge ¶
func (m *ZipkinConfig) XXX_Merge(src proto.Message)
func (*ZipkinConfig) XXX_Size ¶
func (m *ZipkinConfig) XXX_Size() int
func (*ZipkinConfig) XXX_Unmarshal ¶
func (m *ZipkinConfig) XXX_Unmarshal(b []byte) error
type ZipkinConfigValidationError ¶
type ZipkinConfigValidationError struct {
// contains filtered or unexported fields
}
ZipkinConfigValidationError is the validation error returned by ZipkinConfig.Validate if the designated constraints aren't met.
func (ZipkinConfigValidationError) Cause ¶
func (e ZipkinConfigValidationError) Cause() error
Cause function returns cause value.
func (ZipkinConfigValidationError) Error ¶
func (e ZipkinConfigValidationError) Error() string
Error satisfies the builtin error interface
func (ZipkinConfigValidationError) ErrorName ¶ added in v0.6.100
func (e ZipkinConfigValidationError) ErrorName() string
ErrorName returns error name.
func (ZipkinConfigValidationError) Field ¶
func (e ZipkinConfigValidationError) Field() string
Field function returns field value.
func (ZipkinConfigValidationError) Key ¶
func (e ZipkinConfigValidationError) Key() bool
Key function returns key value.
func (ZipkinConfigValidationError) Reason ¶
func (e ZipkinConfigValidationError) Reason() string
Reason function returns reason value.