envoy_config_trace_v2

package
Version: v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: Apache-2.0 Imports: 25 Imported by: 16

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LightstepConfig_PropagationMode_name = map[int32]string{
		0: "ENVOY",
		1: "LIGHTSTEP",
		2: "B3",
		3: "TRACE_CONTEXT",
	}
	LightstepConfig_PropagationMode_value = map[string]int32{
		"ENVOY":         0,
		"LIGHTSTEP":     1,
		"B3":            2,
		"TRACE_CONTEXT": 3,
	}
)

Enum value maps for LightstepConfig_PropagationMode.

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 (
	ZipkinConfig_CollectorEndpointVersion_name = map[int32]string{
		0: "HTTP_JSON_V1",
		1: "HTTP_JSON",
		2: "HTTP_PROTO",
		3: "GRPC",
	}
	ZipkinConfig_CollectorEndpointVersion_value = map[string]int32{
		"HTTP_JSON_V1": 0,
		"HTTP_JSON":    1,
		"HTTP_PROTO":   2,
		"GRPC":         3,
	}
)

Enum value maps for ZipkinConfig_CollectorEndpointVersion.

View Source
var File_envoy_config_trace_v2_datadog_proto protoreflect.FileDescriptor
View Source
var File_envoy_config_trace_v2_dynamic_ot_proto protoreflect.FileDescriptor
View Source
var File_envoy_config_trace_v2_http_tracer_proto protoreflect.FileDescriptor
View Source
var File_envoy_config_trace_v2_lightstep_proto protoreflect.FileDescriptor
View Source
var File_envoy_config_trace_v2_opencensus_proto protoreflect.FileDescriptor
View Source
var File_envoy_config_trace_v2_service_proto protoreflect.FileDescriptor
View Source
var File_envoy_config_trace_v2_trace_proto protoreflect.FileDescriptor
View Source
var File_envoy_config_trace_v2_zipkin_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DatadogConfig added in v0.6.3

type DatadogConfig struct {

	// The cluster to use for submitting traces to the Datadog agent.
	CollectorCluster string `protobuf:"bytes,1,opt,name=collector_cluster,json=collectorCluster,proto3" json:"collector_cluster,omitempty"`
	// 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 added in v0.6.3

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

Deprecated: Use DatadogConfig.ProtoReflect.Descriptor instead.

func (*DatadogConfig) GetCollectorCluster added in v0.6.3

func (x *DatadogConfig) GetCollectorCluster() string

func (*DatadogConfig) GetServiceName added in v0.6.3

func (x *DatadogConfig) GetServiceName() string

func (*DatadogConfig) ProtoMessage added in v0.6.3

func (*DatadogConfig) ProtoMessage()

func (*DatadogConfig) ProtoReflect added in v0.9.6

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

func (*DatadogConfig) Reset added in v0.6.3

func (x *DatadogConfig) Reset()

func (*DatadogConfig) String added in v0.6.3

func (x *DatadogConfig) String() string

func (*DatadogConfig) Validate added in v0.6.3

func (m *DatadogConfig) Validate() error

Validate checks the field values on DatadogConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DatadogConfig) ValidateAll added in v0.10.0

func (m *DatadogConfig) ValidateAll() error

ValidateAll checks the field values on DatadogConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DatadogConfigMultiError, or nil if none found.

type DatadogConfigMultiError added in v0.10.0

type DatadogConfigMultiError []error

DatadogConfigMultiError is an error wrapping multiple validation errors returned by DatadogConfig.ValidateAll() if the designated constraints aren't met.

func (DatadogConfigMultiError) AllErrors added in v0.10.0

func (m DatadogConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DatadogConfigMultiError) Error added in v0.10.0

func (m DatadogConfigMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type DatadogConfigValidationError added in v0.6.3

type DatadogConfigValidationError struct {
	// contains filtered or unexported fields
}

DatadogConfigValidationError is the validation error returned by DatadogConfig.Validate if the designated constraints aren't met.

func (DatadogConfigValidationError) Cause added in v0.6.3

Cause function returns cause value.

func (DatadogConfigValidationError) Error added in v0.6.3

Error satisfies the builtin error interface

func (DatadogConfigValidationError) ErrorName added in v0.7.0

func (e DatadogConfigValidationError) ErrorName() string

ErrorName returns error name.

func (DatadogConfigValidationError) Field added in v0.6.3

Field function returns field value.

func (DatadogConfigValidationError) Key added in v0.6.3

Key function returns key value.

func (DatadogConfigValidationError) Reason added in v0.6.3

Reason function returns reason value.

type DynamicOtConfig

type DynamicOtConfig struct {

	// Dynamic library implementing the `OpenTracing API
	// <https://github.com/opentracing/opentracing-cpp>`_.
	Library string `protobuf:"bytes,1,opt,name=library,proto3" json:"library,omitempty"`
	// The configuration to use when creating a tracer from the given dynamic
	// library.
	Config *_struct.Struct `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

DynamicOtConfig is used to dynamically load a tracer from a shared library that implements the `OpenTracing dynamic loading API <https://github.com/opentracing/opentracing-cpp>`_. [#extension: envoy.tracers.dynamic_ot]

func (*DynamicOtConfig) Descriptor deprecated

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

Deprecated: Use DynamicOtConfig.ProtoReflect.Descriptor instead.

func (*DynamicOtConfig) GetConfig

func (x *DynamicOtConfig) GetConfig() *_struct.Struct

func (*DynamicOtConfig) GetLibrary

func (x *DynamicOtConfig) GetLibrary() string

func (*DynamicOtConfig) ProtoMessage

func (*DynamicOtConfig) ProtoMessage()

func (*DynamicOtConfig) ProtoReflect added in v0.9.6

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

func (*DynamicOtConfig) Reset

func (x *DynamicOtConfig) Reset()

func (*DynamicOtConfig) String

func (x *DynamicOtConfig) String() string

func (*DynamicOtConfig) Validate

func (m *DynamicOtConfig) Validate() error

Validate checks the field values on DynamicOtConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DynamicOtConfig) ValidateAll added in v0.10.0

func (m *DynamicOtConfig) ValidateAll() error

ValidateAll checks the field values on DynamicOtConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DynamicOtConfigMultiError, or nil if none found.

type DynamicOtConfigMultiError added in v0.10.0

type DynamicOtConfigMultiError []error

DynamicOtConfigMultiError is an error wrapping multiple validation errors returned by DynamicOtConfig.ValidateAll() if the designated constraints aren't met.

func (DynamicOtConfigMultiError) AllErrors added in v0.10.0

func (m DynamicOtConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DynamicOtConfigMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type DynamicOtConfigValidationError

type DynamicOtConfigValidationError struct {
	// contains filtered or unexported fields
}

DynamicOtConfigValidationError is the validation error returned by DynamicOtConfig.Validate if the designated constraints aren't met.

func (DynamicOtConfigValidationError) Cause

Cause function returns cause value.

func (DynamicOtConfigValidationError) Error

Error satisfies the builtin error interface

func (DynamicOtConfigValidationError) ErrorName added in v0.7.0

func (e DynamicOtConfigValidationError) ErrorName() string

ErrorName returns error name.

func (DynamicOtConfigValidationError) Field

Field function returns field value.

func (DynamicOtConfigValidationError) Key

Key function returns key value.

func (DynamicOtConfigValidationError) Reason

Reason function returns reason value.

type LightstepConfig

type LightstepConfig struct {

	// The cluster manager cluster that hosts the LightStep collectors.
	CollectorCluster string `protobuf:"bytes,1,opt,name=collector_cluster,json=collectorCluster,proto3" json:"collector_cluster,omitempty"`
	// File containing the access token to the `LightStep
	// <https://lightstep.com/>`_ API.
	AccessTokenFile string `protobuf:"bytes,2,opt,name=access_token_file,json=accessTokenFile,proto3" json:"access_token_file,omitempty"`
	// Propagation modes to use by LightStep's tracer.
	PropagationModes []LightstepConfig_PropagationMode `` /* 176-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configuration for the LightStep tracer. [#extension: envoy.tracers.lightstep]

func (*LightstepConfig) Descriptor deprecated

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

Deprecated: Use LightstepConfig.ProtoReflect.Descriptor instead.

func (*LightstepConfig) GetAccessTokenFile

func (x *LightstepConfig) GetAccessTokenFile() string

func (*LightstepConfig) GetCollectorCluster

func (x *LightstepConfig) GetCollectorCluster() string

func (*LightstepConfig) GetPropagationModes added in v0.9.5

func (x *LightstepConfig) GetPropagationModes() []LightstepConfig_PropagationMode

func (*LightstepConfig) ProtoMessage

func (*LightstepConfig) ProtoMessage()

func (*LightstepConfig) ProtoReflect added in v0.9.6

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

func (*LightstepConfig) Reset

func (x *LightstepConfig) Reset()

func (*LightstepConfig) String

func (x *LightstepConfig) String() string

func (*LightstepConfig) Validate

func (m *LightstepConfig) Validate() error

Validate checks the field values on LightstepConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LightstepConfig) ValidateAll added in v0.10.0

func (m *LightstepConfig) ValidateAll() error

ValidateAll checks the field values on LightstepConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LightstepConfigMultiError, or nil if none found.

type LightstepConfigMultiError added in v0.10.0

type LightstepConfigMultiError []error

LightstepConfigMultiError is an error wrapping multiple validation errors returned by LightstepConfig.ValidateAll() if the designated constraints aren't met.

func (LightstepConfigMultiError) AllErrors added in v0.10.0

func (m LightstepConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LightstepConfigMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type LightstepConfigValidationError

type LightstepConfigValidationError struct {
	// contains filtered or unexported fields
}

LightstepConfigValidationError is the validation error returned by LightstepConfig.Validate if the designated constraints aren't met.

func (LightstepConfigValidationError) Cause

Cause function returns cause value.

func (LightstepConfigValidationError) Error

Error satisfies the builtin error interface

func (LightstepConfigValidationError) ErrorName added in v0.7.0

func (e LightstepConfigValidationError) ErrorName() string

ErrorName returns error name.

func (LightstepConfigValidationError) Field

Field function returns field value.

func (LightstepConfigValidationError) Key

Key function returns key value.

func (LightstepConfigValidationError) Reason

Reason function returns reason value.

type LightstepConfig_PropagationMode added in v0.9.5

type LightstepConfig_PropagationMode int32

Available propagation modes

const (
	// Propagate trace context in the single header x-ot-span-context.
	LightstepConfig_ENVOY LightstepConfig_PropagationMode = 0
	// Propagate trace context using LightStep's native format.
	LightstepConfig_LIGHTSTEP LightstepConfig_PropagationMode = 1
	// Propagate trace context using the b3 format.
	LightstepConfig_B3 LightstepConfig_PropagationMode = 2
	// Propagation trace context using the w3 trace-context standard.
	LightstepConfig_TRACE_CONTEXT LightstepConfig_PropagationMode = 3
)

func (LightstepConfig_PropagationMode) Descriptor added in v0.9.6

func (LightstepConfig_PropagationMode) Enum added in v0.9.6

func (LightstepConfig_PropagationMode) EnumDescriptor deprecated added in v0.9.5

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

Deprecated: Use LightstepConfig_PropagationMode.Descriptor instead.

func (LightstepConfig_PropagationMode) Number added in v0.9.6

func (LightstepConfig_PropagationMode) String added in v0.9.5

func (LightstepConfig_PropagationMode) Type added in v0.9.6

type OpenCensusConfig added in v0.8.1

type OpenCensusConfig struct {

	// Configures tracing, e.g. the sampler, max number of annotations, etc.
	TraceConfig *v1.TraceConfig `protobuf:"bytes,1,opt,name=trace_config,json=traceConfig,proto3" json:"trace_config,omitempty"`
	// Enables the stdout exporter if set to true. This is intended for debugging
	// purposes.
	StdoutExporterEnabled bool `` /* 127-byte string literal not displayed */
	// Enables the Stackdriver exporter if set to true. The project_id must also
	// be set.
	StackdriverExporterEnabled bool `` /* 142-byte string literal not displayed */
	// The Cloud project_id to use for Stackdriver tracing.
	StackdriverProjectId string `protobuf:"bytes,4,opt,name=stackdriver_project_id,json=stackdriverProjectId,proto3" json:"stackdriver_project_id,omitempty"`
	// (optional) By default, the Stackdriver exporter will connect to production
	// Stackdriver. If stackdriver_address is non-empty, it will instead connect
	// to this address, which is in the gRPC format:
	// https://github.com/grpc/grpc/blob/master/doc/naming.md
	StackdriverAddress string `protobuf:"bytes,10,opt,name=stackdriver_address,json=stackdriverAddress,proto3" json:"stackdriver_address,omitempty"`
	// (optional) The gRPC server that hosts Stackdriver tracing service. Only
	// Google gRPC is supported. If :ref:`target_uri <envoy_v3_api_field_config.core.v3.GrpcService.GoogleGrpc.target_uri>`
	// is not provided, the default production Stackdriver address will be used.
	StackdriverGrpcService *core.GrpcService `` /* 130-byte string literal not displayed */
	// Enables the Zipkin exporter if set to true. The url and service name must
	// also be set.
	ZipkinExporterEnabled bool `` /* 127-byte string literal not displayed */
	// The URL to Zipkin, e.g. "http://127.0.0.1:9411/api/v2/spans"
	ZipkinUrl string `protobuf:"bytes,6,opt,name=zipkin_url,json=zipkinUrl,proto3" json:"zipkin_url,omitempty"`
	// Enables the OpenCensus Agent exporter if set to true. The ocagent_address or
	// ocagent_grpc_service must also be set.
	OcagentExporterEnabled bool `` /* 131-byte string literal not displayed */
	// The address of the OpenCensus Agent, if its exporter is enabled, in gRPC
	// format: https://github.com/grpc/grpc/blob/master/doc/naming.md
	// [#comment:TODO: deprecate this field]
	OcagentAddress string `protobuf:"bytes,12,opt,name=ocagent_address,json=ocagentAddress,proto3" json:"ocagent_address,omitempty"`
	// (optional) The gRPC server hosted by the OpenCensus Agent. Only Google gRPC is supported.
	// This is only used if the ocagent_address is left empty.
	OcagentGrpcService *core.GrpcService `protobuf:"bytes,14,opt,name=ocagent_grpc_service,json=ocagentGrpcService,proto3" json:"ocagent_grpc_service,omitempty"`
	// List of incoming trace context headers we will accept. First one found
	// wins.
	IncomingTraceContext []OpenCensusConfig_TraceContext `` /* 188-byte string literal not displayed */
	// List of outgoing trace context headers we will produce.
	OutgoingTraceContext []OpenCensusConfig_TraceContext `` /* 188-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configuration for the OpenCensus tracer. [#next-free-field: 15] [#extension: envoy.tracers.opencensus]

func (*OpenCensusConfig) Descriptor deprecated added in v0.8.1

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

Deprecated: Use OpenCensusConfig.ProtoReflect.Descriptor instead.

func (*OpenCensusConfig) GetIncomingTraceContext added in v0.8.1

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

func (*OpenCensusConfig) GetOcagentAddress added in v0.9.0

func (x *OpenCensusConfig) GetOcagentAddress() string

func (*OpenCensusConfig) GetOcagentExporterEnabled added in v0.9.0

func (x *OpenCensusConfig) GetOcagentExporterEnabled() bool

func (*OpenCensusConfig) GetOcagentGrpcService added in v0.9.5

func (x *OpenCensusConfig) GetOcagentGrpcService() *core.GrpcService

func (*OpenCensusConfig) GetOutgoingTraceContext added in v0.8.1

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

func (*OpenCensusConfig) GetStackdriverAddress added in v0.8.5

func (x *OpenCensusConfig) GetStackdriverAddress() string

func (*OpenCensusConfig) GetStackdriverExporterEnabled added in v0.8.1

func (x *OpenCensusConfig) GetStackdriverExporterEnabled() bool

func (*OpenCensusConfig) GetStackdriverGrpcService added in v0.9.3

func (x *OpenCensusConfig) GetStackdriverGrpcService() *core.GrpcService

func (*OpenCensusConfig) GetStackdriverProjectId added in v0.8.1

func (x *OpenCensusConfig) GetStackdriverProjectId() string

func (*OpenCensusConfig) GetStdoutExporterEnabled added in v0.8.1

func (x *OpenCensusConfig) GetStdoutExporterEnabled() bool

func (*OpenCensusConfig) GetTraceConfig added in v0.8.1

func (x *OpenCensusConfig) GetTraceConfig() *v1.TraceConfig

func (*OpenCensusConfig) GetZipkinExporterEnabled added in v0.8.1

func (x *OpenCensusConfig) GetZipkinExporterEnabled() bool

func (*OpenCensusConfig) GetZipkinUrl added in v0.8.1

func (x *OpenCensusConfig) GetZipkinUrl() string

func (*OpenCensusConfig) ProtoMessage added in v0.8.1

func (*OpenCensusConfig) ProtoMessage()

func (*OpenCensusConfig) ProtoReflect added in v0.9.6

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

func (*OpenCensusConfig) Reset added in v0.8.1

func (x *OpenCensusConfig) Reset()

func (*OpenCensusConfig) String added in v0.8.1

func (x *OpenCensusConfig) String() string

func (*OpenCensusConfig) Validate added in v0.8.1

func (m *OpenCensusConfig) Validate() error

Validate checks the field values on OpenCensusConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*OpenCensusConfig) ValidateAll added in v0.10.0

func (m *OpenCensusConfig) ValidateAll() error

ValidateAll checks the field values on OpenCensusConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in OpenCensusConfigMultiError, or nil if none found.

type OpenCensusConfigMultiError added in v0.10.0

type OpenCensusConfigMultiError []error

OpenCensusConfigMultiError is an error wrapping multiple validation errors returned by OpenCensusConfig.ValidateAll() if the designated constraints aren't met.

func (OpenCensusConfigMultiError) AllErrors added in v0.10.0

func (m OpenCensusConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (OpenCensusConfigMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type OpenCensusConfigValidationError added in v0.8.1

type OpenCensusConfigValidationError struct {
	// contains filtered or unexported fields
}

OpenCensusConfigValidationError is the validation error returned by OpenCensusConfig.Validate if the designated constraints aren't met.

func (OpenCensusConfigValidationError) Cause added in v0.8.1

Cause function returns cause value.

func (OpenCensusConfigValidationError) Error added in v0.8.1

Error satisfies the builtin error interface

func (OpenCensusConfigValidationError) ErrorName added in v0.8.1

ErrorName returns error name.

func (OpenCensusConfigValidationError) Field added in v0.8.1

Field function returns field value.

func (OpenCensusConfigValidationError) Key added in v0.8.1

Key function returns key value.

func (OpenCensusConfigValidationError) Reason added in v0.8.1

Reason function returns reason value.

type OpenCensusConfig_TraceContext added in v0.8.1

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 v0.9.6

func (OpenCensusConfig_TraceContext) Enum added in v0.9.6

func (OpenCensusConfig_TraceContext) EnumDescriptor deprecated added in v0.8.1

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

Deprecated: Use OpenCensusConfig_TraceContext.Descriptor instead.

func (OpenCensusConfig_TraceContext) Number added in v0.9.6

func (OpenCensusConfig_TraceContext) String added in v0.8.1

func (OpenCensusConfig_TraceContext) Type added in v0.9.6

type TraceServiceConfig

type TraceServiceConfig struct {

	// The upstream gRPC cluster that hosts the metrics service.
	GrpcService *core.GrpcService `protobuf:"bytes,1,opt,name=grpc_service,json=grpcService,proto3" json:"grpc_service,omitempty"`
	// contains filtered or unexported fields
}

Configuration structure.

func (*TraceServiceConfig) Descriptor deprecated

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

Deprecated: Use TraceServiceConfig.ProtoReflect.Descriptor instead.

func (*TraceServiceConfig) GetGrpcService

func (x *TraceServiceConfig) GetGrpcService() *core.GrpcService

func (*TraceServiceConfig) ProtoMessage

func (*TraceServiceConfig) ProtoMessage()

func (*TraceServiceConfig) ProtoReflect added in v0.9.6

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

func (*TraceServiceConfig) Reset

func (x *TraceServiceConfig) Reset()

func (*TraceServiceConfig) String

func (x *TraceServiceConfig) String() string

func (*TraceServiceConfig) Validate

func (m *TraceServiceConfig) Validate() error

Validate checks the field values on TraceServiceConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*TraceServiceConfig) ValidateAll added in v0.10.0

func (m *TraceServiceConfig) ValidateAll() error

ValidateAll checks the field values on TraceServiceConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TraceServiceConfigMultiError, or nil if none found.

type TraceServiceConfigMultiError added in v0.10.0

type TraceServiceConfigMultiError []error

TraceServiceConfigMultiError is an error wrapping multiple validation errors returned by TraceServiceConfig.ValidateAll() if the designated constraints aren't met.

func (TraceServiceConfigMultiError) AllErrors added in v0.10.0

func (m TraceServiceConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TraceServiceConfigMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type TraceServiceConfigValidationError

type TraceServiceConfigValidationError struct {
	// contains filtered or unexported fields
}

TraceServiceConfigValidationError is the validation error returned by TraceServiceConfig.Validate if the designated constraints aren't met.

func (TraceServiceConfigValidationError) Cause

Cause function returns cause value.

func (TraceServiceConfigValidationError) Error

Error satisfies the builtin error interface

func (TraceServiceConfigValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (TraceServiceConfigValidationError) Field

Field function returns field value.

func (TraceServiceConfigValidationError) Key

Key function returns key value.

func (TraceServiceConfigValidationError) Reason

Reason function returns reason value.

type Tracing

type Tracing struct {

	// Provides configuration for the HTTP tracer.
	Http *Tracing_Http `protobuf:"bytes,1,opt,name=http,proto3" json:"http,omitempty"`
	// contains filtered or unexported fields
}

The tracing configuration specifies settings for an HTTP tracer provider used by Envoy.

Envoy may support other tracers in the future, but right now the HTTP tracer is the only one supported.

.. attention::

Use of this message type has been deprecated in favor of direct use of
:ref:`Tracing.Http <envoy_api_msg_config.trace.v2.Tracing.Http>`.

func (*Tracing) Descriptor deprecated

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

Deprecated: Use Tracing.ProtoReflect.Descriptor instead.

func (*Tracing) GetHttp

func (x *Tracing) GetHttp() *Tracing_Http

func (*Tracing) ProtoMessage

func (*Tracing) ProtoMessage()

func (*Tracing) ProtoReflect added in v0.9.6

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

func (*Tracing) Reset

func (x *Tracing) Reset()

func (*Tracing) String

func (x *Tracing) String() string

func (*Tracing) Validate

func (m *Tracing) Validate() error

Validate checks the field values on Tracing with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Tracing) ValidateAll added in v0.10.0

func (m *Tracing) ValidateAll() error

ValidateAll checks the field values on Tracing with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TracingMultiError, or nil if none found.

type TracingMultiError added in v0.10.0

type TracingMultiError []error

TracingMultiError is an error wrapping multiple validation errors returned by Tracing.ValidateAll() if the designated constraints aren't met.

func (TracingMultiError) AllErrors added in v0.10.0

func (m TracingMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TracingMultiError) Error added in v0.10.0

func (m TracingMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type TracingValidationError

type TracingValidationError struct {
	// contains filtered or unexported fields
}

TracingValidationError is the validation error returned by Tracing.Validate if the designated constraints aren't met.

func (TracingValidationError) Cause

func (e TracingValidationError) Cause() error

Cause function returns cause value.

func (TracingValidationError) Error

func (e TracingValidationError) Error() string

Error satisfies the builtin error interface

func (TracingValidationError) ErrorName added in v0.7.0

func (e TracingValidationError) ErrorName() string

ErrorName returns error name.

func (TracingValidationError) Field

func (e TracingValidationError) Field() string

Field function returns field value.

func (TracingValidationError) Key

func (e TracingValidationError) Key() bool

Key function returns key value.

func (TracingValidationError) Reason

func (e TracingValidationError) Reason() string

Reason function returns reason value.

type Tracing_Http

type Tracing_Http struct {

	// The name of the HTTP trace driver to instantiate. The name must match a
	// supported HTTP trace driver. Built-in trace drivers:
	//
	// - *envoy.tracers.lightstep*
	// - *envoy.tracers.zipkin*
	// - *envoy.tracers.dynamic_ot*
	// - *envoy.tracers.datadog*
	// - *envoy.tracers.opencensus*
	// - *envoy.tracers.xray*
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Trace driver specific configuration which depends on the driver being instantiated.
	// See the trace drivers for examples:
	//
	// - :ref:`LightstepConfig <envoy_api_msg_config.trace.v2.LightstepConfig>`
	// - :ref:`ZipkinConfig <envoy_api_msg_config.trace.v2.ZipkinConfig>`
	// - :ref:`DynamicOtConfig <envoy_api_msg_config.trace.v2.DynamicOtConfig>`
	// - :ref:`DatadogConfig <envoy_api_msg_config.trace.v2.DatadogConfig>`
	// - :ref:`OpenCensusConfig <envoy_api_msg_config.trace.v2.OpenCensusConfig>`
	// - :ref:`AWS X-Ray <envoy_api_msg_config.trace.v2alpha.XRayConfig>`
	//
	// Types that are assignable to ConfigType:
	//	*Tracing_Http_Config
	//	*Tracing_Http_TypedConfig
	ConfigType isTracing_Http_ConfigType `protobuf_oneof:"config_type"`
	// contains filtered or unexported fields
}

Configuration for an HTTP tracer provider used by Envoy.

The configuration is defined by the :ref:`HttpConnectionManager.Tracing <envoy_api_msg_config.filter.network.http_connection_manager.v2.HttpConnectionManager.Tracing>` :ref:`provider <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.Tracing.provider>` field.

func (*Tracing_Http) Descriptor deprecated

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

Deprecated: Use Tracing_Http.ProtoReflect.Descriptor instead.

func (*Tracing_Http) GetConfig deprecated

func (x *Tracing_Http) GetConfig() *_struct.Struct

Deprecated: Do not use.

func (*Tracing_Http) GetConfigType added in v0.6.3

func (m *Tracing_Http) GetConfigType() isTracing_Http_ConfigType

func (*Tracing_Http) GetName

func (x *Tracing_Http) GetName() string

func (*Tracing_Http) GetTypedConfig added in v0.6.3

func (x *Tracing_Http) GetTypedConfig() *any.Any

func (*Tracing_Http) ProtoMessage

func (*Tracing_Http) ProtoMessage()

func (*Tracing_Http) ProtoReflect added in v0.9.6

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

func (*Tracing_Http) Reset

func (x *Tracing_Http) Reset()

func (*Tracing_Http) String

func (x *Tracing_Http) String() string

func (*Tracing_Http) Validate

func (m *Tracing_Http) Validate() error

Validate checks the field values on Tracing_Http with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Tracing_Http) ValidateAll added in v0.10.0

func (m *Tracing_Http) ValidateAll() error

ValidateAll checks the field values on Tracing_Http with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Tracing_HttpMultiError, or nil if none found.

type Tracing_HttpMultiError added in v0.10.0

type Tracing_HttpMultiError []error

Tracing_HttpMultiError is an error wrapping multiple validation errors returned by Tracing_Http.ValidateAll() if the designated constraints aren't met.

func (Tracing_HttpMultiError) AllErrors added in v0.10.0

func (m Tracing_HttpMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Tracing_HttpMultiError) Error added in v0.10.0

func (m Tracing_HttpMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type Tracing_HttpValidationError

type Tracing_HttpValidationError struct {
	// contains filtered or unexported fields
}

Tracing_HttpValidationError is the validation error returned by Tracing_Http.Validate if the designated constraints aren't met.

func (Tracing_HttpValidationError) Cause

Cause function returns cause value.

func (Tracing_HttpValidationError) Error

Error satisfies the builtin error interface

func (Tracing_HttpValidationError) ErrorName added in v0.7.0

func (e Tracing_HttpValidationError) ErrorName() string

ErrorName returns error name.

func (Tracing_HttpValidationError) Field

Field function returns field value.

func (Tracing_HttpValidationError) Key

Key function returns key value.

func (Tracing_HttpValidationError) Reason

Reason function returns reason value.

type Tracing_Http_Config added in v0.6.3

type Tracing_Http_Config struct {
	// Deprecated: Do not use.
	Config *_struct.Struct `protobuf:"bytes,2,opt,name=config,proto3,oneof"`
}

type Tracing_Http_TypedConfig added in v0.6.3

type Tracing_Http_TypedConfig struct {
	TypedConfig *any.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof"`
}

type ZipkinConfig

type ZipkinConfig struct {

	// The cluster manager 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.v2.Bootstrap.StaticResources.clusters>`.
	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 `` /* 201-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) GetCollectorCluster

func (x *ZipkinConfig) GetCollectorCluster() string

func (*ZipkinConfig) GetCollectorEndpoint

func (x *ZipkinConfig) GetCollectorEndpoint() string

func (*ZipkinConfig) GetCollectorEndpointVersion added in v0.9.0

func (x *ZipkinConfig) GetCollectorEndpointVersion() ZipkinConfig_CollectorEndpointVersion

func (*ZipkinConfig) GetSharedSpanContext added in v0.6.0

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 added in v0.9.6

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, the first error encountered is returned, or nil if there are no violations.

func (*ZipkinConfig) ValidateAll added in v0.10.0

func (m *ZipkinConfig) ValidateAll() error

ValidateAll checks the field values on ZipkinConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ZipkinConfigMultiError, or nil if none found.

type ZipkinConfigMultiError added in v0.10.0

type ZipkinConfigMultiError []error

ZipkinConfigMultiError is an error wrapping multiple validation errors returned by ZipkinConfig.ValidateAll() if the designated constraints aren't met.

func (ZipkinConfigMultiError) AllErrors added in v0.10.0

func (m ZipkinConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ZipkinConfigMultiError) Error added in v0.10.0

func (m ZipkinConfigMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

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 added in v0.7.0

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 added in v0.9.0

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_HTTP_JSON_V1 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 added in v0.9.6

func (ZipkinConfig_CollectorEndpointVersion) Enum added in v0.9.6

func (ZipkinConfig_CollectorEndpointVersion) EnumDescriptor deprecated added in v0.9.0

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

Deprecated: Use ZipkinConfig_CollectorEndpointVersion.Descriptor instead.

func (ZipkinConfig_CollectorEndpointVersion) Number added in v0.9.6

func (ZipkinConfig_CollectorEndpointVersion) String added in v0.9.0

func (ZipkinConfig_CollectorEndpointVersion) Type added in v0.9.6

Jump to

Keyboard shortcuts

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