v3

package
v1.15.0-beta11 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	OpenCensusConfig_TraceContext_name = map[int32]string{
		0: "NONE",
		1: "TRACE_CONTEXT",
		2: "GRPC_TRACE_BIN",
		3: "CLOUD_TRACE_CONTEXT",
		4: "B3",
	}
	OpenCensusConfig_TraceContext_value = map[string]int32{
		"NONE":                0,
		"TRACE_CONTEXT":       1,
		"GRPC_TRACE_BIN":      2,
		"CLOUD_TRACE_CONTEXT": 3,
		"B3":                  4,
	}
)

Enum value maps for OpenCensusConfig_TraceContext.

View Source
var (
	ConstantSampler_ConstantDecision_name = map[int32]string{
		0: "ALWAYS_OFF",
		1: "ALWAYS_ON",
		2: "ALWAYS_PARENT",
	}
	ConstantSampler_ConstantDecision_value = map[string]int32{
		"ALWAYS_OFF":    0,
		"ALWAYS_ON":     1,
		"ALWAYS_PARENT": 2,
	}
)

Enum value maps for ConstantSampler_ConstantDecision.

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_opencensus_proto protoreflect.FileDescriptor
View Source
var File_github_com_solo_io_gloo_projects_gloo_api_external_envoy_config_trace_v3_opentelemetry_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 ConstantSampler added in v1.12.37

type ConstantSampler struct {
	Decision ConstantSampler_ConstantDecision `` /* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

Sampler that always makes a constant decision on span sampling.

func (*ConstantSampler) Clone added in v1.12.37

func (m *ConstantSampler) Clone() proto.Message

Clone function

func (*ConstantSampler) Descriptor deprecated added in v1.12.37

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

Deprecated: Use ConstantSampler.ProtoReflect.Descriptor instead.

func (*ConstantSampler) Equal added in v1.12.37

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

Equal function

func (*ConstantSampler) GetDecision added in v1.12.37

func (*ConstantSampler) Hash added in v1.12.37

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

Hash function

func (*ConstantSampler) ProtoMessage added in v1.12.37

func (*ConstantSampler) ProtoMessage()

func (*ConstantSampler) ProtoReflect added in v1.12.37

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

func (*ConstantSampler) Reset added in v1.12.37

func (x *ConstantSampler) Reset()

func (*ConstantSampler) String added in v1.12.37

func (x *ConstantSampler) String() string

type ConstantSampler_ConstantDecision added in v1.12.37

type ConstantSampler_ConstantDecision int32

How spans should be sampled: - Always off - Always on - Always follow the parent Span's decision (off if no parent).

const (
	ConstantSampler_ALWAYS_OFF    ConstantSampler_ConstantDecision = 0
	ConstantSampler_ALWAYS_ON     ConstantSampler_ConstantDecision = 1
	ConstantSampler_ALWAYS_PARENT ConstantSampler_ConstantDecision = 2
)

func (ConstantSampler_ConstantDecision) Descriptor added in v1.12.37

func (ConstantSampler_ConstantDecision) Enum added in v1.12.37

func (ConstantSampler_ConstantDecision) EnumDescriptor deprecated added in v1.12.37

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

Deprecated: Use ConstantSampler_ConstantDecision.Descriptor instead.

func (ConstantSampler_ConstantDecision) Number added in v1.12.37

func (ConstantSampler_ConstantDecision) String added in v1.12.37

func (ConstantSampler_ConstantDecision) Type added in v1.12.37

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 *wrappers.StringValue `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) Clone added in v1.8.24

func (m *DatadogConfig) Clone() proto.Message

Clone function

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() *wrappers.StringValue

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 OpenCensusConfig added in v1.12.37

type OpenCensusConfig struct {

	// Configuration of when to submit traces to the collector.
	// See https://github.com/census-instrumentation/opencensus-proto/blob/3619b5dda8bff26ff1974714c24de8f6d4953811/src/opencensus/proto/trace/v1/trace_config.proto#L29 for full documentation
	TraceConfig *TraceConfig `protobuf:"bytes,1,opt,name=trace_config,json=traceConfig,proto3" json:"trace_config,omitempty"`
	// Enables the OpenCensus agent if set to true.
	OcagentExporterEnabled bool `` /* 130-byte string literal not displayed */
	// Upstream to which trace data should be sent
	//
	// Types that are assignable to OcagentAddress:
	//
	//	*OpenCensusConfig_HttpAddress
	//	*OpenCensusConfig_GrpcAddress
	OcagentAddress isOpenCensusConfig_OcagentAddress `protobuf_oneof:"ocagent_address"`
	// List of incoming trace context headers to accept. First one found wins
	IncomingTraceContext []OpenCensusConfig_TraceContext `` /* 196-byte string literal not displayed */
	// List of outgoing trace context headers we will produce
	OutgoingTraceContext []OpenCensusConfig_TraceContext `` /* 196-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configuration for the OpenCensus tracer.

The OpenCensus tracer is capable of reporting metadata to a collector using W3C-standard Trace Context: https://www.w3.org/TR/trace-context/ WARNING: users should take care to note that this plugin has a serious limitation that can cause a configuration freeze of Envoy's dynamic listeners. This plugin can be initialised once after Envoy has started. In order to change this plugin's configuration, users must first apply the new configuration, and then restart Envoy. Users should also be aware that once the new configuration is applied, Envoy will reject any changes to its dynamic listeners configuration until after it has been restarted. [#extension: envoy.tracers.opencensus]

func (*OpenCensusConfig) Clone added in v1.12.37

func (m *OpenCensusConfig) Clone() proto.Message

Clone function

func (*OpenCensusConfig) Descriptor deprecated added in v1.12.37

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

Deprecated: Use OpenCensusConfig.ProtoReflect.Descriptor instead.

func (*OpenCensusConfig) Equal added in v1.12.37

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

Equal function

func (*OpenCensusConfig) GetGrpcAddress added in v1.12.37

func (*OpenCensusConfig) GetHttpAddress added in v1.12.37

func (x *OpenCensusConfig) GetHttpAddress() string

func (*OpenCensusConfig) GetIncomingTraceContext added in v1.12.37

func (x *OpenCensusConfig) GetIncomingTraceContext() []OpenCensusConfig_TraceContext

func (*OpenCensusConfig) GetOcagentAddress added in v1.12.37

func (m *OpenCensusConfig) GetOcagentAddress() isOpenCensusConfig_OcagentAddress

func (*OpenCensusConfig) GetOcagentExporterEnabled added in v1.12.37

func (x *OpenCensusConfig) GetOcagentExporterEnabled() bool

func (*OpenCensusConfig) GetOutgoingTraceContext added in v1.12.37

func (x *OpenCensusConfig) GetOutgoingTraceContext() []OpenCensusConfig_TraceContext

func (*OpenCensusConfig) GetTraceConfig added in v1.12.37

func (x *OpenCensusConfig) GetTraceConfig() *TraceConfig

func (*OpenCensusConfig) Hash added in v1.12.37

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

Hash function

func (*OpenCensusConfig) ProtoMessage added in v1.12.37

func (*OpenCensusConfig) ProtoMessage()

func (*OpenCensusConfig) ProtoReflect added in v1.12.37

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

func (*OpenCensusConfig) Reset added in v1.12.37

func (x *OpenCensusConfig) Reset()

func (*OpenCensusConfig) String added in v1.12.37

func (x *OpenCensusConfig) String() string

type OpenCensusConfig_GrpcAddress added in v1.12.37

type OpenCensusConfig_GrpcAddress struct {
	// Send to upstream over GRPC
	GrpcAddress *OpenCensusConfig_OcagentGrpcAddress `protobuf:"bytes,4,opt,name=grpc_address,json=grpcAddress,proto3,oneof"`
}

type OpenCensusConfig_HttpAddress added in v1.12.37

type OpenCensusConfig_HttpAddress struct {
	// Send to upstream over http
	HttpAddress string `protobuf:"bytes,3,opt,name=http_address,json=httpAddress,proto3,oneof"`
}

type OpenCensusConfig_OcagentGrpcAddress added in v1.12.37

type OpenCensusConfig_OcagentGrpcAddress struct {

	// URI of the target address
	TargetUri string `protobuf:"bytes,1,opt,name=target_uri,json=targetUri,proto3" json:"target_uri,omitempty"`
	// Prefix for statistical measurements
	StatPrefix string `protobuf:"bytes,2,opt,name=stat_prefix,json=statPrefix,proto3" json:"stat_prefix,omitempty"`
	// contains filtered or unexported fields
}

func (*OpenCensusConfig_OcagentGrpcAddress) Clone added in v1.12.37

Clone function

func (*OpenCensusConfig_OcagentGrpcAddress) Descriptor deprecated added in v1.12.37

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

Deprecated: Use OpenCensusConfig_OcagentGrpcAddress.ProtoReflect.Descriptor instead.

func (*OpenCensusConfig_OcagentGrpcAddress) Equal added in v1.12.37

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

Equal function

func (*OpenCensusConfig_OcagentGrpcAddress) GetStatPrefix added in v1.12.37

func (x *OpenCensusConfig_OcagentGrpcAddress) GetStatPrefix() string

func (*OpenCensusConfig_OcagentGrpcAddress) GetTargetUri added in v1.12.37

func (x *OpenCensusConfig_OcagentGrpcAddress) GetTargetUri() string

func (*OpenCensusConfig_OcagentGrpcAddress) Hash added in v1.12.37

Hash function

func (*OpenCensusConfig_OcagentGrpcAddress) ProtoMessage added in v1.12.37

func (*OpenCensusConfig_OcagentGrpcAddress) ProtoMessage()

func (*OpenCensusConfig_OcagentGrpcAddress) ProtoReflect added in v1.12.37

func (*OpenCensusConfig_OcagentGrpcAddress) Reset added in v1.12.37

func (*OpenCensusConfig_OcagentGrpcAddress) String added in v1.12.37

type OpenCensusConfig_TraceContext added in v1.12.37

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) Descriptor added in v1.12.37

func (OpenCensusConfig_TraceContext) Enum added in v1.12.37

func (OpenCensusConfig_TraceContext) EnumDescriptor deprecated added in v1.12.37

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

Deprecated: Use OpenCensusConfig_TraceContext.Descriptor instead.

func (OpenCensusConfig_TraceContext) Number added in v1.12.37

func (OpenCensusConfig_TraceContext) String added in v1.12.37

func (OpenCensusConfig_TraceContext) Type added in v1.12.37

type OpenTelemetryConfig added in v1.12.36

type OpenTelemetryConfig struct {

	// The cluster to use for submitting traces to the OpenTelemetry agent.
	//
	// Types that are assignable to CollectorCluster:
	//
	//	*OpenTelemetryConfig_CollectorUpstreamRef
	//	*OpenTelemetryConfig_ClusterName
	CollectorCluster isOpenTelemetryConfig_CollectorCluster `protobuf_oneof:"collector_cluster"`
	// contains filtered or unexported fields
}

Configuration for the OpenTelemetry tracer. [#extension: envoy.tracers.opentelemetry]

func (*OpenTelemetryConfig) Clone added in v1.12.36

func (m *OpenTelemetryConfig) Clone() proto.Message

Clone function

func (*OpenTelemetryConfig) Descriptor deprecated added in v1.12.36

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

Deprecated: Use OpenTelemetryConfig.ProtoReflect.Descriptor instead.

func (*OpenTelemetryConfig) Equal added in v1.12.36

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

Equal function

func (*OpenTelemetryConfig) GetClusterName added in v1.12.36

func (x *OpenTelemetryConfig) GetClusterName() string

func (*OpenTelemetryConfig) GetCollectorCluster added in v1.12.36

func (m *OpenTelemetryConfig) GetCollectorCluster() isOpenTelemetryConfig_CollectorCluster

func (*OpenTelemetryConfig) GetCollectorUpstreamRef added in v1.12.36

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

func (*OpenTelemetryConfig) Hash added in v1.12.36

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

Hash function

func (*OpenTelemetryConfig) ProtoMessage added in v1.12.36

func (*OpenTelemetryConfig) ProtoMessage()

func (*OpenTelemetryConfig) ProtoReflect added in v1.12.36

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

func (*OpenTelemetryConfig) Reset added in v1.12.36

func (x *OpenTelemetryConfig) Reset()

func (*OpenTelemetryConfig) String added in v1.12.36

func (x *OpenTelemetryConfig) String() string

type OpenTelemetryConfig_ClusterName added in v1.12.36

type OpenTelemetryConfig_ClusterName struct {
	// The name of the Envoy cluster to use for submitting traces to the
	// OpenTelemetry agent
	ClusterName string `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3,oneof"`
}

type OpenTelemetryConfig_CollectorUpstreamRef added in v1.12.36

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

type ProbabilitySampler added in v1.12.37

type ProbabilitySampler struct {

	// The desired probability of sampling. Must be within [0.0, 1.0].
	SamplingProbability float64 `protobuf:"fixed64,1,opt,name=samplingProbability,proto3" json:"samplingProbability,omitempty"`
	// contains filtered or unexported fields
}

Sampler that tries to uniformly sample traces with a given probability. The probability of sampling a trace is equal to that of the specified probability.

func (*ProbabilitySampler) Clone added in v1.12.37

func (m *ProbabilitySampler) Clone() proto.Message

Clone function

func (*ProbabilitySampler) Descriptor deprecated added in v1.12.37

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

Deprecated: Use ProbabilitySampler.ProtoReflect.Descriptor instead.

func (*ProbabilitySampler) Equal added in v1.12.37

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

Equal function

func (*ProbabilitySampler) GetSamplingProbability added in v1.12.37

func (x *ProbabilitySampler) GetSamplingProbability() float64

func (*ProbabilitySampler) Hash added in v1.12.37

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

Hash function

func (*ProbabilitySampler) ProtoMessage added in v1.12.37

func (*ProbabilitySampler) ProtoMessage()

func (*ProbabilitySampler) ProtoReflect added in v1.12.37

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

func (*ProbabilitySampler) Reset added in v1.12.37

func (x *ProbabilitySampler) Reset()

func (*ProbabilitySampler) String added in v1.12.37

func (x *ProbabilitySampler) String() string

type RateLimitingSampler added in v1.12.37

type RateLimitingSampler struct {

	// Rate per second.
	Qps int64 `protobuf:"varint,1,opt,name=qps,proto3" json:"qps,omitempty"`
	// contains filtered or unexported fields
}

Sampler that tries to sample with a rate per time window.

func (*RateLimitingSampler) Clone added in v1.12.37

func (m *RateLimitingSampler) Clone() proto.Message

Clone function

func (*RateLimitingSampler) Descriptor deprecated added in v1.12.37

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

Deprecated: Use RateLimitingSampler.ProtoReflect.Descriptor instead.

func (*RateLimitingSampler) Equal added in v1.12.37

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

Equal function

func (*RateLimitingSampler) GetQps added in v1.12.37

func (x *RateLimitingSampler) GetQps() int64

func (*RateLimitingSampler) Hash added in v1.12.37

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

Hash function

func (*RateLimitingSampler) ProtoMessage added in v1.12.37

func (*RateLimitingSampler) ProtoMessage()

func (*RateLimitingSampler) ProtoReflect added in v1.12.37

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

func (*RateLimitingSampler) Reset added in v1.12.37

func (x *RateLimitingSampler) Reset()

func (*RateLimitingSampler) String added in v1.12.37

func (x *RateLimitingSampler) String() string

type TraceConfig added in v1.12.37

type TraceConfig struct {

	// Types that are assignable to Sampler:
	//
	//	*TraceConfig_ProbabilitySampler
	//	*TraceConfig_ConstantSampler
	//	*TraceConfig_RateLimitingSampler
	Sampler isTraceConfig_Sampler `protobuf_oneof:"sampler"`
	// The global default max number of attributes per span.
	MaxNumberOfAttributes int64 `` /* 129-byte string literal not displayed */
	// The global default max number of annotation events per span.
	MaxNumberOfAnnotations int64 `` /* 132-byte string literal not displayed */
	// The global default max number of message events per span.
	MaxNumberOfMessageEvents int64 `` /* 140-byte string literal not displayed */
	// The global default max number of link entries per span.
	MaxNumberOfLinks int64 `protobuf:"varint,7,opt,name=max_number_of_links,json=maxNumberOfLinks,proto3" json:"max_number_of_links,omitempty"`
	// contains filtered or unexported fields
}

func (*TraceConfig) Clone added in v1.12.37

func (m *TraceConfig) Clone() proto.Message

Clone function

func (*TraceConfig) Descriptor deprecated added in v1.12.37

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

Deprecated: Use TraceConfig.ProtoReflect.Descriptor instead.

func (*TraceConfig) Equal added in v1.12.37

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

Equal function

func (*TraceConfig) GetConstantSampler added in v1.12.37

func (x *TraceConfig) GetConstantSampler() *ConstantSampler

func (*TraceConfig) GetMaxNumberOfAnnotations added in v1.12.37

func (x *TraceConfig) GetMaxNumberOfAnnotations() int64

func (*TraceConfig) GetMaxNumberOfAttributes added in v1.12.37

func (x *TraceConfig) GetMaxNumberOfAttributes() int64
func (x *TraceConfig) GetMaxNumberOfLinks() int64

func (*TraceConfig) GetMaxNumberOfMessageEvents added in v1.12.37

func (x *TraceConfig) GetMaxNumberOfMessageEvents() int64

func (*TraceConfig) GetProbabilitySampler added in v1.12.37

func (x *TraceConfig) GetProbabilitySampler() *ProbabilitySampler

func (*TraceConfig) GetRateLimitingSampler added in v1.12.37

func (x *TraceConfig) GetRateLimitingSampler() *RateLimitingSampler

func (*TraceConfig) GetSampler added in v1.12.37

func (m *TraceConfig) GetSampler() isTraceConfig_Sampler

func (*TraceConfig) Hash added in v1.12.37

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

Hash function

func (*TraceConfig) ProtoMessage added in v1.12.37

func (*TraceConfig) ProtoMessage()

func (*TraceConfig) ProtoReflect added in v1.12.37

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

func (*TraceConfig) Reset added in v1.12.37

func (x *TraceConfig) Reset()

func (*TraceConfig) String added in v1.12.37

func (x *TraceConfig) String() string

type TraceConfig_ConstantSampler added in v1.12.37

type TraceConfig_ConstantSampler struct {
	ConstantSampler *ConstantSampler `protobuf:"bytes,2,opt,name=constant_sampler,json=constantSampler,proto3,oneof"`
}

type TraceConfig_ProbabilitySampler added in v1.12.37

type TraceConfig_ProbabilitySampler struct {
	ProbabilitySampler *ProbabilitySampler `protobuf:"bytes,1,opt,name=probability_sampler,json=probabilitySampler,proto3,oneof"`
}

type TraceConfig_RateLimitingSampler added in v1.12.37

type TraceConfig_RateLimitingSampler struct {
	RateLimitingSampler *RateLimitingSampler `protobuf:"bytes,3,opt,name=rate_limiting_sampler,json=rateLimitingSampler,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 *wrappers.BoolValue `protobuf:"bytes,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) Clone added in v1.8.24

func (m *ZipkinConfig) Clone() proto.Message

Clone function

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() *wrappers.BoolValue

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