Documentation ¶
Index ¶
- Variables
- type ZipkinConfig
- func (*ZipkinConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ZipkinConfig) GetCollectorCluster() string
- func (x *ZipkinConfig) GetCollectorEndpoint() string
- func (x *ZipkinConfig) GetCollectorEndpointVersion() ZipkinConfig_CollectorEndpointVersion
- func (x *ZipkinConfig) GetCollectorHostname() string
- func (x *ZipkinConfig) GetSharedSpanContext() *wrappers.BoolValue
- func (x *ZipkinConfig) GetTraceId_128Bit() bool
- func (*ZipkinConfig) ProtoMessage()
- func (x *ZipkinConfig) ProtoReflect() protoreflect.Message
- func (x *ZipkinConfig) Reset()
- func (x *ZipkinConfig) String() string
- func (m *ZipkinConfig) Validate() 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
- func (ZipkinConfig_CollectorEndpointVersion) Descriptor() protoreflect.EnumDescriptor
- func (x ZipkinConfig_CollectorEndpointVersion) Enum() *ZipkinConfig_CollectorEndpointVersion
- func (ZipkinConfig_CollectorEndpointVersion) EnumDescriptor() ([]byte, []int)deprecated
- func (x ZipkinConfig_CollectorEndpointVersion) Number() protoreflect.EnumNumber
- func (x ZipkinConfig_CollectorEndpointVersion) String() string
- func (ZipkinConfig_CollectorEndpointVersion) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( ZipkinConfig_CollectorEndpointVersion_name = map[int32]string{ 0: "hidden_envoy_deprecated_DEPRECATED_AND_UNAVAILABLE_DO_NOT_USE", 1: "HTTP_JSON", 2: "HTTP_PROTO", 3: "GRPC", } ZipkinConfig_CollectorEndpointVersion_value = map[string]int32{ "hidden_envoy_deprecated_DEPRECATED_AND_UNAVAILABLE_DO_NOT_USE": 0, "HTTP_JSON": 1, "HTTP_PROTO": 2, "GRPC": 3, } )
Enum value maps for ZipkinConfig_CollectorEndpointVersion.
var File_envoy_extensions_tracers_zipkin_v4alpha_zipkin_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ZipkinConfig ¶
type ZipkinConfig struct { // The cluster manager cluster that hosts the Zipkin collectors. 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 *wrappers.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 `` /* 219-byte string literal not displayed */ // Optional hostname to use when sending spans to the collector_cluster. Useful for collectors // that require a specific hostname. Defaults to :ref:`collector_cluster <envoy_v3_api_field_config.trace.v3.ZipkinConfig.collector_cluster>` above. CollectorHostname string `protobuf:"bytes,6,opt,name=collector_hostname,json=collectorHostname,proto3" json:"collector_hostname,omitempty"` // contains filtered or unexported fields }
Configuration for the Zipkin tracer. [#extension: envoy.tracers.zipkin] [#next-free-field: 7]
func (*ZipkinConfig) Descriptor
deprecated
func (*ZipkinConfig) Descriptor() ([]byte, []int)
Deprecated: Use ZipkinConfig.ProtoReflect.Descriptor instead.
func (*ZipkinConfig) GetCollectorCluster ¶
func (x *ZipkinConfig) GetCollectorCluster() string
func (*ZipkinConfig) GetCollectorEndpoint ¶
func (x *ZipkinConfig) GetCollectorEndpoint() string
func (*ZipkinConfig) GetCollectorEndpointVersion ¶
func (x *ZipkinConfig) GetCollectorEndpointVersion() ZipkinConfig_CollectorEndpointVersion
func (*ZipkinConfig) GetCollectorHostname ¶
func (x *ZipkinConfig) GetCollectorHostname() string
func (*ZipkinConfig) GetSharedSpanContext ¶
func (x *ZipkinConfig) GetSharedSpanContext() *wrappers.BoolValue
func (*ZipkinConfig) GetTraceId_128Bit ¶
func (x *ZipkinConfig) GetTraceId_128Bit() bool
func (*ZipkinConfig) ProtoMessage ¶
func (*ZipkinConfig) ProtoMessage()
func (*ZipkinConfig) ProtoReflect ¶
func (x *ZipkinConfig) ProtoReflect() protoreflect.Message
func (*ZipkinConfig) Reset ¶
func (x *ZipkinConfig) Reset()
func (*ZipkinConfig) String ¶
func (x *ZipkinConfig) String() string
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.
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 ( // [#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.] // // Deprecated: Do not use. ZipkinConfig_hidden_envoy_deprecated_DEPRECATED_AND_UNAVAILABLE_DO_NOT_USE ZipkinConfig_CollectorEndpointVersion = 0 // 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) Descriptor ¶
func (ZipkinConfig_CollectorEndpointVersion) Descriptor() protoreflect.EnumDescriptor
func (ZipkinConfig_CollectorEndpointVersion) EnumDescriptor
deprecated
func (ZipkinConfig_CollectorEndpointVersion) EnumDescriptor() ([]byte, []int)
Deprecated: Use ZipkinConfig_CollectorEndpointVersion.Descriptor instead.
func (ZipkinConfig_CollectorEndpointVersion) Number ¶
func (x ZipkinConfig_CollectorEndpointVersion) Number() protoreflect.EnumNumber
func (ZipkinConfig_CollectorEndpointVersion) String ¶
func (x ZipkinConfig_CollectorEndpointVersion) String() string
func (ZipkinConfig_CollectorEndpointVersion) Type ¶
func (ZipkinConfig_CollectorEndpointVersion) Type() protoreflect.EnumType