Documentation ¶
Index ¶
- Variables
- type TraceServiceConfig
- func (*TraceServiceConfig) Descriptor() ([]byte, []int)deprecated
- func (x *TraceServiceConfig) GetGrpcService() *v4alpha.GrpcService
- func (*TraceServiceConfig) ProtoMessage()
- func (x *TraceServiceConfig) ProtoReflect() protoreflect.Message
- func (x *TraceServiceConfig) Reset()
- func (x *TraceServiceConfig) String() string
- func (m *TraceServiceConfig) Validate() error
- type TraceServiceConfigValidationError
- func (e TraceServiceConfigValidationError) Cause() error
- func (e TraceServiceConfigValidationError) Error() string
- func (e TraceServiceConfigValidationError) ErrorName() string
- func (e TraceServiceConfigValidationError) Field() string
- func (e TraceServiceConfigValidationError) Key() bool
- func (e TraceServiceConfigValidationError) Reason() string
- type Tracing
- type TracingValidationError
- type Tracing_Http
- func (*Tracing_Http) Descriptor() ([]byte, []int)deprecated
- func (m *Tracing_Http) GetConfigType() isTracing_Http_ConfigType
- func (x *Tracing_Http) GetName() string
- func (x *Tracing_Http) GetTypedConfig() *any.Any
- func (*Tracing_Http) ProtoMessage()
- func (x *Tracing_Http) ProtoReflect() protoreflect.Message
- func (x *Tracing_Http) Reset()
- func (x *Tracing_Http) String() string
- func (m *Tracing_Http) Validate() error
- type Tracing_HttpValidationError
- func (e Tracing_HttpValidationError) Cause() error
- func (e Tracing_HttpValidationError) Error() string
- func (e Tracing_HttpValidationError) ErrorName() string
- func (e Tracing_HttpValidationError) Field() string
- func (e Tracing_HttpValidationError) Key() bool
- func (e Tracing_HttpValidationError) Reason() string
- type Tracing_Http_TypedConfig
Constants ¶
This section is empty.
Variables ¶
var File_envoy_config_trace_v4alpha_http_tracer_proto protoreflect.FileDescriptor
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 ¶ added in v1.7.0
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 ¶
func (e TraceServiceConfigValidationError) Cause() error
Cause function returns cause value.
func (TraceServiceConfigValidationError) Error ¶
func (e TraceServiceConfigValidationError) Error() string
Error satisfies the builtin error interface
func (TraceServiceConfigValidationError) ErrorName ¶
func (e TraceServiceConfigValidationError) ErrorName() string
ErrorName returns error name.
func (TraceServiceConfigValidationError) Field ¶
func (e TraceServiceConfigValidationError) Field() string
Field function returns field value.
func (TraceServiceConfigValidationError) Key ¶
func (e TraceServiceConfigValidationError) Key() bool
Key function returns key value.
func (TraceServiceConfigValidationError) Reason ¶
func (e TraceServiceConfigValidationError) Reason() string
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) GetHttp ¶
func (x *Tracing) GetHttp() *Tracing_Http
func (*Tracing) ProtoMessage ¶
func (*Tracing) ProtoMessage()
func (*Tracing) ProtoReflect ¶ added in v1.7.0
func (x *Tracing) ProtoReflect() protoreflect.Message
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 ¶ added in v1.7.0
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 ¶
func (e Tracing_HttpValidationError) Cause() error
Cause function returns cause value.
func (Tracing_HttpValidationError) Error ¶
func (e Tracing_HttpValidationError) Error() string
Error satisfies the builtin error interface
func (Tracing_HttpValidationError) ErrorName ¶
func (e Tracing_HttpValidationError) ErrorName() string
ErrorName returns error name.
func (Tracing_HttpValidationError) Field ¶
func (e Tracing_HttpValidationError) Field() string
Field function returns field value.
func (Tracing_HttpValidationError) Key ¶
func (e Tracing_HttpValidationError) Key() bool
Key function returns key value.
func (Tracing_HttpValidationError) Reason ¶
func (e Tracing_HttpValidationError) Reason() string
Reason function returns reason value.