envoy_config_trace_v4alpha

package
v2.4.0-dev Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_config_trace_v4alpha_http_tracer_proto protoreflect.FileDescriptor
View Source
var File_envoy_config_trace_v4alpha_service_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type TraceServiceConfig

type TraceServiceConfig struct {

	// The upstream gRPC cluster that hosts the metrics service.
	GrpcService *v4alpha.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() *v4alpha.GrpcService

func (*TraceServiceConfig) ProtoMessage

func (*TraceServiceConfig) ProtoMessage()

func (*TraceServiceConfig) ProtoReflect

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, an error is returned.

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

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.v4alpha.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

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, an error is returned.

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

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_extensions.tracers.lightstep.v4alpha.LightstepConfig>`
	// - :ref:`ZipkinConfig <envoy_api_msg_extensions.tracers.zipkin.v4alpha.ZipkinConfig>`
	// - :ref:`DynamicOtConfig <envoy_api_msg_extensions.tracers.dynamic_ot.v4alpha.DynamicOtConfig>`
	// - :ref:`DatadogConfig <envoy_api_msg_extensions.tracers.datadog.v4alpha.DatadogConfig>`
	// - :ref:`OpenCensusConfig <envoy_api_msg_extensions.tracers.opencensus.v4alpha.OpenCensusConfig>`
	// - :ref:`AWS X-Ray <envoy_api_msg_extensions.tracers.xray.v4alpha.XRayConfig>`
	//
	// Types that are assignable to ConfigType:
	//	*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_extensions.filters.network.http_connection_manager.v4alpha.HttpConnectionManager.Tracing>` :ref:`provider <envoy_api_field_extensions.filters.network.http_connection_manager.v4alpha.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) GetConfigType

func (m *Tracing_Http) GetConfigType() isTracing_Http_ConfigType

func (*Tracing_Http) GetName

func (x *Tracing_Http) GetName() string

func (*Tracing_Http) GetTypedConfig

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

func (*Tracing_Http) ProtoMessage

func (*Tracing_Http) ProtoMessage()

func (*Tracing_Http) ProtoReflect

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, an error is returned.

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

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_TypedConfig

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

Jump to

Keyboard shortcuts

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