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 (m *DatadogConfig) MarshalToSizedBuffer(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 (m *DynamicOtConfig) MarshalToSizedBuffer(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 (m *LightstepConfig) MarshalToSizedBuffer(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 OpenCensusConfig
- func (*OpenCensusConfig) Descriptor() ([]byte, []int)
- func (m *OpenCensusConfig) GetIncomingTraceContext() []OpenCensusConfig_TraceContext
- func (m *OpenCensusConfig) GetOcagentAddress() string
- func (m *OpenCensusConfig) GetOcagentExporterEnabled() bool
- func (m *OpenCensusConfig) GetOutgoingTraceContext() []OpenCensusConfig_TraceContext
- func (m *OpenCensusConfig) GetStackdriverAddress() string
- func (m *OpenCensusConfig) GetStackdriverExporterEnabled() bool
- func (m *OpenCensusConfig) GetStackdriverProjectId() string
- func (m *OpenCensusConfig) GetStdoutExporterEnabled() bool
- func (m *OpenCensusConfig) GetTraceConfig() *v1.TraceConfig
- func (m *OpenCensusConfig) GetZipkinExporterEnabled() bool
- func (m *OpenCensusConfig) GetZipkinUrl() string
- func (m *OpenCensusConfig) Marshal() (dAtA []byte, err error)
- func (m *OpenCensusConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *OpenCensusConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OpenCensusConfig) ProtoMessage()
- func (m *OpenCensusConfig) Reset()
- func (m *OpenCensusConfig) Size() (n int)
- func (m *OpenCensusConfig) String() string
- func (m *OpenCensusConfig) Unmarshal(dAtA []byte) error
- func (m *OpenCensusConfig) Validate() error
- func (m *OpenCensusConfig) XXX_DiscardUnknown()
- func (m *OpenCensusConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OpenCensusConfig) XXX_Merge(src proto.Message)
- func (m *OpenCensusConfig) XXX_Size() int
- func (m *OpenCensusConfig) XXX_Unmarshal(b []byte) error
- type OpenCensusConfigValidationError
- func (e OpenCensusConfigValidationError) Cause() error
- func (e OpenCensusConfigValidationError) Error() string
- func (e OpenCensusConfigValidationError) ErrorName() string
- func (e OpenCensusConfigValidationError) Field() string
- func (e OpenCensusConfigValidationError) Key() bool
- func (e OpenCensusConfigValidationError) Reason() string
- type OpenCensusConfig_TraceContext
- 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 (m *TraceServiceConfig) MarshalToSizedBuffer(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 (m *Tracing) MarshalToSizedBuffer(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 (m *Tracing_Http) MarshalToSizedBuffer(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_OneofWrappers() []interface{}
- 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) GetCollectorEndpointVersion() ZipkinConfig_CollectorEndpointVersion
- 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 (m *ZipkinConfig) MarshalToSizedBuffer(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
- type ZipkinConfig_CollectorEndpointVersion
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthTrace = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTrace = fmt.Errorf("proto: integer overflow") )
var OpenCensusConfig_TraceContext_name = map[int32]string{
0: "NONE",
1: "TRACE_CONTEXT",
2: "GRPC_TRACE_BIN",
3: "CLOUD_TRACE_CONTEXT",
4: "B3",
}
var OpenCensusConfig_TraceContext_value = map[string]int32{
"NONE": 0,
"TRACE_CONTEXT": 1,
"GRPC_TRACE_BIN": 2,
"CLOUD_TRACE_CONTEXT": 3,
"B3": 4,
}
var ZipkinConfig_CollectorEndpointVersion_name = map[int32]string{
0: "HTTP_JSON_V1",
1: "HTTP_JSON",
2: "HTTP_PROTO",
3: "GRPC",
}
var ZipkinConfig_CollectorEndpointVersion_value = map[string]int32{
"HTTP_JSON_V1": 0,
"HTTP_JSON": 1,
"HTTP_PROTO": 2,
"GRPC": 3,
}
Functions ¶
This section is empty.
Types ¶
type DatadogConfig ¶
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 ¶
func (*DatadogConfig) Descriptor() ([]byte, []int)
func (*DatadogConfig) GetCollectorCluster ¶
func (m *DatadogConfig) GetCollectorCluster() string
func (*DatadogConfig) GetServiceName ¶
func (m *DatadogConfig) GetServiceName() string
func (*DatadogConfig) Marshal ¶
func (m *DatadogConfig) Marshal() (dAtA []byte, err error)
func (*DatadogConfig) MarshalToSizedBuffer ¶
func (m *DatadogConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DatadogConfig) ProtoMessage ¶
func (*DatadogConfig) ProtoMessage()
func (*DatadogConfig) Reset ¶
func (m *DatadogConfig) Reset()
func (*DatadogConfig) Size ¶
func (m *DatadogConfig) Size() (n int)
func (*DatadogConfig) String ¶
func (m *DatadogConfig) String() string
func (*DatadogConfig) Unmarshal ¶
func (m *DatadogConfig) Unmarshal(dAtA []byte) error
func (*DatadogConfig) Validate ¶
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 ¶
func (m *DatadogConfig) XXX_DiscardUnknown()
func (*DatadogConfig) XXX_Marshal ¶
func (m *DatadogConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DatadogConfig) XXX_Merge ¶
func (m *DatadogConfig) XXX_Merge(src proto.Message)
func (*DatadogConfig) XXX_Size ¶
func (m *DatadogConfig) XXX_Size() int
func (*DatadogConfig) XXX_Unmarshal ¶
func (m *DatadogConfig) XXX_Unmarshal(b []byte) error
type DatadogConfigValidationError ¶
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 ¶
func (e DatadogConfigValidationError) Cause() error
Cause function returns cause value.
func (DatadogConfigValidationError) Error ¶
func (e DatadogConfigValidationError) Error() string
Error satisfies the builtin error interface
func (DatadogConfigValidationError) ErrorName ¶
func (e DatadogConfigValidationError) ErrorName() string
ErrorName returns error name.
func (DatadogConfigValidationError) Field ¶
func (e DatadogConfigValidationError) Field() string
Field function returns field value.
func (DatadogConfigValidationError) Key ¶
func (e DatadogConfigValidationError) Key() bool
Key function returns key value.
func (DatadogConfigValidationError) Reason ¶
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) MarshalToSizedBuffer ¶
func (m *DynamicOtConfig) MarshalToSizedBuffer(dAtA []byte) (int, 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 ¶
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) MarshalToSizedBuffer ¶
func (m *LightstepConfig) MarshalToSizedBuffer(dAtA []byte) (int, 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 ¶
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 OpenCensusConfig ¶
type OpenCensusConfig struct { // Configures tracing, e.g. the sampler, max number of annotations, etc. TraceConfig *v1.TraceConfig `protobuf:"bytes,1,opt,name=trace_config,json=traceConfig,proto3" json:"trace_config,omitempty"` // Enables the stdout exporter if set to true. This is intended for debugging // purposes. StdoutExporterEnabled bool `` /* 127-byte string literal not displayed */ // Enables the Stackdriver exporter if set to true. The project_id must also // be set. StackdriverExporterEnabled bool `` /* 142-byte string literal not displayed */ // The Cloud project_id to use for Stackdriver tracing. StackdriverProjectId string `protobuf:"bytes,4,opt,name=stackdriver_project_id,json=stackdriverProjectId,proto3" json:"stackdriver_project_id,omitempty"` // (optional) By default, the Stackdriver exporter will connect to production // Stackdriver. If stackdriver_address is non-empty, it will instead connect // to this address, which is in the gRPC format: // https://github.com/grpc/grpc/blob/master/doc/naming.md StackdriverAddress string `protobuf:"bytes,10,opt,name=stackdriver_address,json=stackdriverAddress,proto3" json:"stackdriver_address,omitempty"` // Enables the Zipkin exporter if set to true. The url and service name must // also be set. ZipkinExporterEnabled bool `` /* 127-byte string literal not displayed */ // The URL to Zipkin, e.g. "http://127.0.0.1:9411/api/v3alpha/spans" ZipkinUrl string `protobuf:"bytes,6,opt,name=zipkin_url,json=zipkinUrl,proto3" json:"zipkin_url,omitempty"` // Enables the OpenCensus Agent exporter if set to true. The address must also // be set. OcagentExporterEnabled bool `` /* 131-byte string literal not displayed */ // The address of the OpenCensus Agent, if its exporter is enabled, in gRPC // format: https://github.com/grpc/grpc/blob/master/doc/naming.md OcagentAddress string `protobuf:"bytes,12,opt,name=ocagent_address,json=ocagentAddress,proto3" json:"ocagent_address,omitempty"` // List of incoming trace context headers we will accept. First one found // wins. IncomingTraceContext []OpenCensusConfig_TraceContext `` /* 193-byte string literal not displayed */ // List of outgoing trace context headers we will produce. OutgoingTraceContext []OpenCensusConfig_TraceContext `` /* 193-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Configuration for the OpenCensus tracer. [#proto-status: experimental]
func (*OpenCensusConfig) Descriptor ¶
func (*OpenCensusConfig) Descriptor() ([]byte, []int)
func (*OpenCensusConfig) GetIncomingTraceContext ¶
func (m *OpenCensusConfig) GetIncomingTraceContext() []OpenCensusConfig_TraceContext
func (*OpenCensusConfig) GetOcagentAddress ¶
func (m *OpenCensusConfig) GetOcagentAddress() string
func (*OpenCensusConfig) GetOcagentExporterEnabled ¶
func (m *OpenCensusConfig) GetOcagentExporterEnabled() bool
func (*OpenCensusConfig) GetOutgoingTraceContext ¶
func (m *OpenCensusConfig) GetOutgoingTraceContext() []OpenCensusConfig_TraceContext
func (*OpenCensusConfig) GetStackdriverAddress ¶
func (m *OpenCensusConfig) GetStackdriverAddress() string
func (*OpenCensusConfig) GetStackdriverExporterEnabled ¶
func (m *OpenCensusConfig) GetStackdriverExporterEnabled() bool
func (*OpenCensusConfig) GetStackdriverProjectId ¶
func (m *OpenCensusConfig) GetStackdriverProjectId() string
func (*OpenCensusConfig) GetStdoutExporterEnabled ¶
func (m *OpenCensusConfig) GetStdoutExporterEnabled() bool
func (*OpenCensusConfig) GetTraceConfig ¶
func (m *OpenCensusConfig) GetTraceConfig() *v1.TraceConfig
func (*OpenCensusConfig) GetZipkinExporterEnabled ¶
func (m *OpenCensusConfig) GetZipkinExporterEnabled() bool
func (*OpenCensusConfig) GetZipkinUrl ¶
func (m *OpenCensusConfig) GetZipkinUrl() string
func (*OpenCensusConfig) Marshal ¶
func (m *OpenCensusConfig) Marshal() (dAtA []byte, err error)
func (*OpenCensusConfig) MarshalToSizedBuffer ¶
func (m *OpenCensusConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OpenCensusConfig) ProtoMessage ¶
func (*OpenCensusConfig) ProtoMessage()
func (*OpenCensusConfig) Reset ¶
func (m *OpenCensusConfig) Reset()
func (*OpenCensusConfig) Size ¶
func (m *OpenCensusConfig) Size() (n int)
func (*OpenCensusConfig) String ¶
func (m *OpenCensusConfig) String() string
func (*OpenCensusConfig) Unmarshal ¶
func (m *OpenCensusConfig) Unmarshal(dAtA []byte) error
func (*OpenCensusConfig) Validate ¶
func (m *OpenCensusConfig) Validate() error
Validate checks the field values on OpenCensusConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*OpenCensusConfig) XXX_DiscardUnknown ¶
func (m *OpenCensusConfig) XXX_DiscardUnknown()
func (*OpenCensusConfig) XXX_Marshal ¶
func (m *OpenCensusConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OpenCensusConfig) XXX_Merge ¶
func (m *OpenCensusConfig) XXX_Merge(src proto.Message)
func (*OpenCensusConfig) XXX_Size ¶
func (m *OpenCensusConfig) XXX_Size() int
func (*OpenCensusConfig) XXX_Unmarshal ¶
func (m *OpenCensusConfig) XXX_Unmarshal(b []byte) error
type OpenCensusConfigValidationError ¶
type OpenCensusConfigValidationError struct {
// contains filtered or unexported fields
}
OpenCensusConfigValidationError is the validation error returned by OpenCensusConfig.Validate if the designated constraints aren't met.
func (OpenCensusConfigValidationError) Cause ¶
func (e OpenCensusConfigValidationError) Cause() error
Cause function returns cause value.
func (OpenCensusConfigValidationError) Error ¶
func (e OpenCensusConfigValidationError) Error() string
Error satisfies the builtin error interface
func (OpenCensusConfigValidationError) ErrorName ¶
func (e OpenCensusConfigValidationError) ErrorName() string
ErrorName returns error name.
func (OpenCensusConfigValidationError) Field ¶
func (e OpenCensusConfigValidationError) Field() string
Field function returns field value.
func (OpenCensusConfigValidationError) Key ¶
func (e OpenCensusConfigValidationError) Key() bool
Key function returns key value.
func (OpenCensusConfigValidationError) Reason ¶
func (e OpenCensusConfigValidationError) Reason() string
Reason function returns reason value.
type OpenCensusConfig_TraceContext ¶
type OpenCensusConfig_TraceContext int32
const ( // No-op default, no trace context is utilized. OpenCensusConfig_NONE OpenCensusConfig_TraceContext = 0 // W3C Trace-Context format "traceparent:" header. OpenCensusConfig_TRACE_CONTEXT OpenCensusConfig_TraceContext = 1 // Binary "grpc-trace-bin:" header. OpenCensusConfig_GRPC_TRACE_BIN OpenCensusConfig_TraceContext = 2 // "X-Cloud-Trace-Context:" header. OpenCensusConfig_CLOUD_TRACE_CONTEXT OpenCensusConfig_TraceContext = 3 // X-B3-* headers. OpenCensusConfig_B3 OpenCensusConfig_TraceContext = 4 )
func (OpenCensusConfig_TraceContext) EnumDescriptor ¶
func (OpenCensusConfig_TraceContext) EnumDescriptor() ([]byte, []int)
func (OpenCensusConfig_TraceContext) String ¶
func (x OpenCensusConfig_TraceContext) String() string
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) MarshalToSizedBuffer ¶
func (m *TraceServiceConfig) MarshalToSizedBuffer(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 ¶
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.v3alpha.Bootstrap>` :ref:`tracing <envoy_api_field_config.bootstrap.v3alpha.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) MarshalToSizedBuffer ¶
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 ¶
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* // - *envoy.tracers.opencensus* 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.v3alpha.LightstepConfig>` // - :ref:`ZipkinConfig <envoy_api_msg_config.trace.v3alpha.ZipkinConfig>` // - :ref:`DynamicOtConfig <envoy_api_msg_config.trace.v3alpha.DynamicOtConfig>` // - :ref:`DatadogConfig <envoy_api_msg_config.trace.v3alpha.DatadogConfig>` // - :ref:`OpenCensusConfig <envoy_api_msg_config.trace.v3alpha.OpenCensusConfig>` // // 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 ¶
func (m *Tracing_Http) GetConfigType() isTracing_Http_ConfigType
func (*Tracing_Http) GetName ¶
func (m *Tracing_Http) GetName() string
func (*Tracing_Http) GetTypedConfig ¶
func (m *Tracing_Http) GetTypedConfig() *types.Any
func (*Tracing_Http) Marshal ¶
func (m *Tracing_Http) Marshal() (dAtA []byte, err error)
func (*Tracing_Http) MarshalToSizedBuffer ¶
func (m *Tracing_Http) MarshalToSizedBuffer(dAtA []byte) (int, 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_OneofWrappers ¶
func (*Tracing_Http) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers 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 ¶
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 ¶
type Tracing_Http_Config struct {
Config *types.Struct `protobuf:"bytes,2,opt,name=config,proto3,oneof"`
}
func (*Tracing_Http_Config) MarshalTo ¶
func (m *Tracing_Http_Config) MarshalTo(dAtA []byte) (int, error)
func (*Tracing_Http_Config) MarshalToSizedBuffer ¶
func (m *Tracing_Http_Config) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Tracing_Http_Config) Size ¶
func (m *Tracing_Http_Config) Size() (n int)
type Tracing_Http_TypedConfig ¶
type Tracing_Http_TypedConfig struct {
TypedConfig *types.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof"`
}
func (*Tracing_Http_TypedConfig) MarshalTo ¶
func (m *Tracing_Http_TypedConfig) MarshalTo(dAtA []byte) (int, error)
func (*Tracing_Http_TypedConfig) MarshalToSizedBuffer ¶
func (m *Tracing_Http_TypedConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Tracing_Http_TypedConfig) Size ¶
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.v3alpha.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"` // The default value is true. SharedSpanContext *types.BoolValue `protobuf:"bytes,4,opt,name=shared_span_context,json=sharedSpanContext,proto3" json:"shared_span_context,omitempty"` // Determines the selected collector endpoint version. By default, the “HTTP_JSON_V1“ will be // used. CollectorEndpointVersion ZipkinConfig_CollectorEndpointVersion `` /* 206-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Configuration for the Zipkin tracer.
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) GetCollectorEndpointVersion ¶
func (m *ZipkinConfig) GetCollectorEndpointVersion() ZipkinConfig_CollectorEndpointVersion
func (*ZipkinConfig) GetSharedSpanContext ¶
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) MarshalToSizedBuffer ¶
func (m *ZipkinConfig) MarshalToSizedBuffer(dAtA []byte) (int, 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 ¶
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.
type ZipkinConfig_CollectorEndpointVersion ¶
type ZipkinConfig_CollectorEndpointVersion int32
Available Zipkin collector endpoint versions.
const ( // Zipkin API v1, JSON over HTTP. // [#comment: The default implementation of Zipkin client before this field is added was only v1 // and the way user configure this was by not explicitly specifying the version. Consequently, // before this is added, the corresponding Zipkin collector expected to receive v1 payload. // Hence the motivation of adding HTTP_JSON_V1 as the default is to avoid a breaking change when // user upgrading Envoy with this change. Furthermore, we also immediately deprecate this field, // since in Zipkin realm this v1 version is considered to be not preferable anymore.] ZipkinConfig_HTTP_JSON_V1 ZipkinConfig_CollectorEndpointVersion = 0 // Deprecated: Do not use. // Zipkin API v2, JSON over HTTP. ZipkinConfig_HTTP_JSON ZipkinConfig_CollectorEndpointVersion = 1 // Zipkin API v2, protobuf over HTTP. ZipkinConfig_HTTP_PROTO ZipkinConfig_CollectorEndpointVersion = 2 // [#not-implemented-hide:] ZipkinConfig_GRPC ZipkinConfig_CollectorEndpointVersion = 3 )
func (ZipkinConfig_CollectorEndpointVersion) EnumDescriptor ¶
func (ZipkinConfig_CollectorEndpointVersion) EnumDescriptor() ([]byte, []int)
func (ZipkinConfig_CollectorEndpointVersion) String ¶
func (x ZipkinConfig_CollectorEndpointVersion) String() string