v3

package
v1.7.9 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ZipkinConfig_CollectorEndpointVersion_name = map[int32]string{
		0: "DEPRECATED_AND_UNAVAILABLE_DO_NOT_USE",
		1: "HTTP_JSON",
		2: "HTTP_PROTO",
	}
	ZipkinConfig_CollectorEndpointVersion_value = map[string]int32{
		"DEPRECATED_AND_UNAVAILABLE_DO_NOT_USE": 0,
		"HTTP_JSON":                             1,
		"HTTP_PROTO":                            2,
	}
)

Enum value maps for ZipkinConfig_CollectorEndpointVersion.

View Source
var File_github_com_solo_io_gloo_projects_gloo_api_external_envoy_config_trace_v3_datadog_proto protoreflect.FileDescriptor
View Source
var File_github_com_solo_io_gloo_projects_gloo_api_external_envoy_config_trace_v3_zipkin_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DatadogConfig

type DatadogConfig struct {

	// The cluster to use for submitting traces to the Datadog agent.
	//
	// Types that are assignable to CollectorCluster:
	//	*DatadogConfig_CollectorUpstreamRef
	//	*DatadogConfig_ClusterName
	CollectorCluster isDatadogConfig_CollectorCluster `protobuf_oneof:"collector_cluster"`
	// 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"`
	// contains filtered or unexported fields
}

Configuration for the Datadog tracer. [#extension: envoy.tracers.datadog]

func (*DatadogConfig) Descriptor deprecated

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

Deprecated: Use DatadogConfig.ProtoReflect.Descriptor instead.

func (*DatadogConfig) Equal

func (m *DatadogConfig) Equal(that interface{}) bool

Equal function

func (*DatadogConfig) GetClusterName

func (x *DatadogConfig) GetClusterName() string

func (*DatadogConfig) GetCollectorCluster

func (m *DatadogConfig) GetCollectorCluster() isDatadogConfig_CollectorCluster

func (*DatadogConfig) GetCollectorUpstreamRef

func (x *DatadogConfig) GetCollectorUpstreamRef() *core.ResourceRef

func (*DatadogConfig) GetServiceName

func (x *DatadogConfig) GetServiceName() string

func (*DatadogConfig) Hash

func (m *DatadogConfig) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*DatadogConfig) ProtoMessage

func (*DatadogConfig) ProtoMessage()

func (*DatadogConfig) ProtoReflect

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

func (*DatadogConfig) Reset

func (x *DatadogConfig) Reset()

func (*DatadogConfig) String

func (x *DatadogConfig) String() string

type DatadogConfig_ClusterName

type DatadogConfig_ClusterName struct {
	// The name of the cluster to use for submitting traces to the Datadog agent. Note that the
	// cluster must be defined in the :ref:`Bootstrap static cluster
	// resources <envoy_api_field_config.bootstrap.v3.Bootstrap.StaticResources.clusters>`.
	ClusterName string `protobuf:"bytes,3,opt,name=cluster_name,json=clusterName,proto3,oneof"`
}

type DatadogConfig_CollectorUpstreamRef

type DatadogConfig_CollectorUpstreamRef struct {
	// The upstream to use for submitting traces to the Datadog agent.
	CollectorUpstreamRef *core.ResourceRef `protobuf:"bytes,1,opt,name=collector_upstream_ref,json=collectorUpstreamRef,proto3,oneof"`
}

type ZipkinConfig

type ZipkinConfig struct {

	// The cluster that hosts the Zipkin collectors.
	//
	// Types that are assignable to CollectorCluster:
	//	*ZipkinConfig_CollectorUpstreamRef
	//	*ZipkinConfig_ClusterName
	CollectorCluster isZipkinConfig_CollectorCluster `protobuf_oneof:"collector_cluster"`
	// 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 `` /* 209-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configuration for the Zipkin tracer. [#extension: envoy.tracers.zipkin] [#next-free-field: 6]

func (*ZipkinConfig) Descriptor deprecated

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

Deprecated: Use ZipkinConfig.ProtoReflect.Descriptor instead.

func (*ZipkinConfig) Equal

func (m *ZipkinConfig) Equal(that interface{}) bool

Equal function

func (*ZipkinConfig) GetClusterName

func (x *ZipkinConfig) GetClusterName() string

func (*ZipkinConfig) GetCollectorCluster

func (m *ZipkinConfig) GetCollectorCluster() isZipkinConfig_CollectorCluster

func (*ZipkinConfig) GetCollectorEndpoint

func (x *ZipkinConfig) GetCollectorEndpoint() string

func (*ZipkinConfig) GetCollectorEndpointVersion

func (x *ZipkinConfig) GetCollectorEndpointVersion() ZipkinConfig_CollectorEndpointVersion

func (*ZipkinConfig) GetCollectorUpstreamRef

func (x *ZipkinConfig) GetCollectorUpstreamRef() *core.ResourceRef

func (*ZipkinConfig) GetSharedSpanContext

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

func (*ZipkinConfig) GetTraceId_128Bit

func (x *ZipkinConfig) GetTraceId_128Bit() bool

func (*ZipkinConfig) Hash

func (m *ZipkinConfig) Hash(hasher hash.Hash64) (uint64, error)

Hash function

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

type ZipkinConfig_ClusterName

type ZipkinConfig_ClusterName struct {
	// The name of the 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.v3.Bootstrap.StaticResources.clusters>`.
	ClusterName string `protobuf:"bytes,6,opt,name=cluster_name,json=clusterName,proto3,oneof"`
}

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_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
)

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

type ZipkinConfig_CollectorUpstreamRef

type ZipkinConfig_CollectorUpstreamRef struct {
	// The upstream that hosts the Zipkin collectors.
	CollectorUpstreamRef *core.ResourceRef `protobuf:"bytes,1,opt,name=collector_upstream_ref,json=collectorUpstreamRef,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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