envoy_config_trace_v4alpha

package
v0.9.9 Latest Latest
Warning

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

Go to latest
Published: May 21, 2021 License: Apache-2.0 Imports: 20 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_v3_api_msg_config.trace.v3.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.
	// See the :ref:`extensions listed in typed_config below <extension_category_envoy.tracers>` for the default list of the HTTP trace driver.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Trace driver specific configuration which must be set according to the driver being instantiated.
	// [#extension-category: envoy.tracers]
	//
	// 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_v3_api_msg_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing>` :ref:`provider <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.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