envoy_extensions_tracers_zipkin_v4alpha

package
v0.9.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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"`
	// 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 `` /* 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

Cause function returns cause value.

func (ZipkinConfigValidationError) Error

Error satisfies the builtin error interface

func (ZipkinConfigValidationError) ErrorName

func (e ZipkinConfigValidationError) ErrorName() string

ErrorName returns error name.

func (ZipkinConfigValidationError) Field

Field function returns field value.

func (ZipkinConfigValidationError) Key

Key function returns key value.

func (ZipkinConfigValidationError) Reason

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.]
	//
	// 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) Enum

func (ZipkinConfig_CollectorEndpointVersion) EnumDescriptor deprecated

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

Deprecated: Use ZipkinConfig_CollectorEndpointVersion.Descriptor instead.

func (ZipkinConfig_CollectorEndpointVersion) Number

func (ZipkinConfig_CollectorEndpointVersion) String

func (ZipkinConfig_CollectorEndpointVersion) Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL