go-control-plane: github.com/envoyproxy/go-control-plane/envoy/extensions/tracers/zipkin/v4alpha Index | Files

package envoy_extensions_tracers_zipkin_v4alpha

import "github.com/envoyproxy/go-control-plane/envoy/extensions/tracers/zipkin/v4alpha"


Package Files

zipkin.pb.go zipkin.pb.validate.go


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

type ZipkinConfig Uses

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"`
    // Determines whether client and server spans will share the same span context.
    // 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 `protobuf:"varint,5,opt,name=collector_endpoint_version,json=collectorEndpointVersion,proto3,enum=envoy.extensions.tracers.zipkin.v4alpha.ZipkinConfig_CollectorEndpointVersion" json:"collector_endpoint_version,omitempty"`
    // 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 Uses

func (*ZipkinConfig) Descriptor() ([]byte, []int)

Deprecated: Use ZipkinConfig.ProtoReflect.Descriptor instead.

func (*ZipkinConfig) GetCollectorCluster Uses

func (x *ZipkinConfig) GetCollectorCluster() string

func (*ZipkinConfig) GetCollectorEndpoint Uses

func (x *ZipkinConfig) GetCollectorEndpoint() string

func (*ZipkinConfig) GetCollectorEndpointVersion Uses

func (x *ZipkinConfig) GetCollectorEndpointVersion() ZipkinConfig_CollectorEndpointVersion

func (*ZipkinConfig) GetCollectorHostname Uses

func (x *ZipkinConfig) GetCollectorHostname() string

func (*ZipkinConfig) GetSharedSpanContext Uses

func (x *ZipkinConfig) GetSharedSpanContext() *wrappers.BoolValue

func (*ZipkinConfig) GetTraceId_128Bit Uses

func (x *ZipkinConfig) GetTraceId_128Bit() bool

func (*ZipkinConfig) ProtoMessage Uses

func (*ZipkinConfig) ProtoMessage()

func (*ZipkinConfig) ProtoReflect Uses

func (x *ZipkinConfig) ProtoReflect() protoreflect.Message

func (*ZipkinConfig) Reset Uses

func (x *ZipkinConfig) Reset()

func (*ZipkinConfig) String Uses

func (x *ZipkinConfig) String() string

func (*ZipkinConfig) Validate Uses

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 Uses

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 Uses

func (e ZipkinConfigValidationError) Cause() error

Cause function returns cause value.

func (ZipkinConfigValidationError) Error Uses

func (e ZipkinConfigValidationError) Error() string

Error satisfies the builtin error interface

func (ZipkinConfigValidationError) ErrorName Uses

func (e ZipkinConfigValidationError) ErrorName() string

ErrorName returns error name.

func (ZipkinConfigValidationError) Field Uses

func (e ZipkinConfigValidationError) Field() string

Field function returns field value.

func (ZipkinConfigValidationError) Key Uses

func (e ZipkinConfigValidationError) Key() bool

Key function returns key value.

func (ZipkinConfigValidationError) Reason Uses

func (e ZipkinConfigValidationError) Reason() string

Reason function returns reason value.

type ZipkinConfig_CollectorEndpointVersion Uses

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.]
    // 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 Uses

func (ZipkinConfig_CollectorEndpointVersion) Descriptor() protoreflect.EnumDescriptor

func (ZipkinConfig_CollectorEndpointVersion) Enum Uses

func (x ZipkinConfig_CollectorEndpointVersion) Enum() *ZipkinConfig_CollectorEndpointVersion

func (ZipkinConfig_CollectorEndpointVersion) EnumDescriptor Uses

func (ZipkinConfig_CollectorEndpointVersion) EnumDescriptor() ([]byte, []int)

Deprecated: Use ZipkinConfig_CollectorEndpointVersion.Descriptor instead.

func (ZipkinConfig_CollectorEndpointVersion) Number Uses

func (x ZipkinConfig_CollectorEndpointVersion) Number() protoreflect.EnumNumber

func (ZipkinConfig_CollectorEndpointVersion) String Uses

func (x ZipkinConfig_CollectorEndpointVersion) String() string

func (ZipkinConfig_CollectorEndpointVersion) Type Uses

func (ZipkinConfig_CollectorEndpointVersion) Type() protoreflect.EnumType

Package envoy_extensions_tracers_zipkin_v4alpha imports 20 packages (graph) and is imported by 6 packages. Updated 2021-01-07. Refresh now. Tools for package owners.