Documentation ¶
Index ¶
- Variables
- type ClientConfig
- func (*ClientConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ClientConfig) GetBackendToken() string
- func (m *ClientConfig) GetBackendTokenSpecifier() isClientConfig_BackendTokenSpecifier
- func (x *ClientConfig) GetInstanceName() string
- func (x *ClientConfig) GetMaxCacheSize() *wrappers.UInt32Value
- func (x *ClientConfig) GetServiceName() string
- func (*ClientConfig) ProtoMessage()
- func (x *ClientConfig) ProtoReflect() protoreflect.Message
- func (x *ClientConfig) Reset()
- func (x *ClientConfig) String() string
- func (m *ClientConfig) Validate() error
- type ClientConfigValidationError
- func (e ClientConfigValidationError) Cause() error
- func (e ClientConfigValidationError) Error() string
- func (e ClientConfigValidationError) ErrorName() string
- func (e ClientConfigValidationError) Field() string
- func (e ClientConfigValidationError) Key() bool
- func (e ClientConfigValidationError) Reason() string
- type ClientConfig_BackendToken
- type DatadogConfig
- func (*DatadogConfig) Descriptor() ([]byte, []int)deprecated
- func (x *DatadogConfig) GetCollectorCluster() string
- func (x *DatadogConfig) GetServiceName() string
- func (*DatadogConfig) ProtoMessage()
- func (x *DatadogConfig) ProtoReflect() protoreflect.Message
- func (x *DatadogConfig) Reset()
- func (x *DatadogConfig) String() string
- func (m *DatadogConfig) Validate() error
- type DatadogConfigValidationError
- func (e DatadogConfigValidationError) Cause() error
- func (e DatadogConfigValidationError) Error() string
- func (e DatadogConfigValidationError) ErrorName() string
- func (e DatadogConfigValidationError) Field() string
- func (e DatadogConfigValidationError) Key() bool
- func (e DatadogConfigValidationError) Reason() string
- type DynamicOtConfig
- func (*DynamicOtConfig) Descriptor() ([]byte, []int)deprecated
- func (x *DynamicOtConfig) GetConfig() *_struct.Struct
- func (x *DynamicOtConfig) GetLibrary() string
- func (*DynamicOtConfig) ProtoMessage()
- func (x *DynamicOtConfig) ProtoReflect() protoreflect.Message
- func (x *DynamicOtConfig) Reset()
- func (x *DynamicOtConfig) String() string
- func (m *DynamicOtConfig) Validate() error
- type DynamicOtConfigValidationError
- func (e DynamicOtConfigValidationError) Cause() error
- func (e DynamicOtConfigValidationError) Error() string
- func (e DynamicOtConfigValidationError) ErrorName() string
- func (e DynamicOtConfigValidationError) Field() string
- func (e DynamicOtConfigValidationError) Key() bool
- func (e DynamicOtConfigValidationError) Reason() string
- type LightstepConfig
- func (*LightstepConfig) Descriptor() ([]byte, []int)deprecated
- func (x *LightstepConfig) GetAccessTokenFile() string
- func (x *LightstepConfig) GetCollectorCluster() string
- func (x *LightstepConfig) GetPropagationModes() []LightstepConfig_PropagationMode
- func (*LightstepConfig) ProtoMessage()
- func (x *LightstepConfig) ProtoReflect() protoreflect.Message
- func (x *LightstepConfig) Reset()
- func (x *LightstepConfig) String() string
- func (m *LightstepConfig) Validate() error
- type LightstepConfigValidationError
- func (e LightstepConfigValidationError) Cause() error
- func (e LightstepConfigValidationError) Error() string
- func (e LightstepConfigValidationError) ErrorName() string
- func (e LightstepConfigValidationError) Field() string
- func (e LightstepConfigValidationError) Key() bool
- func (e LightstepConfigValidationError) Reason() string
- type LightstepConfig_PropagationMode
- func (LightstepConfig_PropagationMode) Descriptor() protoreflect.EnumDescriptor
- func (x LightstepConfig_PropagationMode) Enum() *LightstepConfig_PropagationMode
- func (LightstepConfig_PropagationMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x LightstepConfig_PropagationMode) Number() protoreflect.EnumNumber
- func (x LightstepConfig_PropagationMode) String() string
- func (LightstepConfig_PropagationMode) Type() protoreflect.EnumType
- type OpenCensusConfig
- func (*OpenCensusConfig) Descriptor() ([]byte, []int)deprecated
- func (x *OpenCensusConfig) GetIncomingTraceContext() []OpenCensusConfig_TraceContext
- func (x *OpenCensusConfig) GetOcagentAddress() string
- func (x *OpenCensusConfig) GetOcagentExporterEnabled() bool
- func (x *OpenCensusConfig) GetOcagentGrpcService() *v3.GrpcService
- func (x *OpenCensusConfig) GetOutgoingTraceContext() []OpenCensusConfig_TraceContext
- func (x *OpenCensusConfig) GetStackdriverAddress() string
- func (x *OpenCensusConfig) GetStackdriverExporterEnabled() bool
- func (x *OpenCensusConfig) GetStackdriverGrpcService() *v3.GrpcService
- func (x *OpenCensusConfig) GetStackdriverProjectId() string
- func (x *OpenCensusConfig) GetStdoutExporterEnabled() bool
- func (x *OpenCensusConfig) GetTraceConfig() *v1.TraceConfig
- func (x *OpenCensusConfig) GetZipkinExporterEnabled() booldeprecated
- func (x *OpenCensusConfig) GetZipkinUrl() stringdeprecated
- func (*OpenCensusConfig) ProtoMessage()
- func (x *OpenCensusConfig) ProtoReflect() protoreflect.Message
- func (x *OpenCensusConfig) Reset()
- func (x *OpenCensusConfig) String() string
- func (m *OpenCensusConfig) Validate() error
- type OpenCensusConfigValidationError
- func (e OpenCensusConfigValidationError) Cause() error
- func (e OpenCensusConfigValidationError) Error() string
- func (e OpenCensusConfigValidationError) ErrorName() string
- func (e OpenCensusConfigValidationError) Field() string
- func (e OpenCensusConfigValidationError) Key() bool
- func (e OpenCensusConfigValidationError) Reason() string
- type OpenCensusConfig_TraceContext
- func (OpenCensusConfig_TraceContext) Descriptor() protoreflect.EnumDescriptor
- func (x OpenCensusConfig_TraceContext) Enum() *OpenCensusConfig_TraceContext
- func (OpenCensusConfig_TraceContext) EnumDescriptor() ([]byte, []int)deprecated
- func (x OpenCensusConfig_TraceContext) Number() protoreflect.EnumNumber
- func (x OpenCensusConfig_TraceContext) String() string
- func (OpenCensusConfig_TraceContext) Type() protoreflect.EnumType
- type SkyWalkingConfig
- func (*SkyWalkingConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SkyWalkingConfig) GetClientConfig() *ClientConfig
- func (x *SkyWalkingConfig) GetGrpcService() *v3.GrpcService
- func (*SkyWalkingConfig) ProtoMessage()
- func (x *SkyWalkingConfig) ProtoReflect() protoreflect.Message
- func (x *SkyWalkingConfig) Reset()
- func (x *SkyWalkingConfig) String() string
- func (m *SkyWalkingConfig) Validate() error
- type SkyWalkingConfigValidationError
- func (e SkyWalkingConfigValidationError) Cause() error
- func (e SkyWalkingConfigValidationError) Error() string
- func (e SkyWalkingConfigValidationError) ErrorName() string
- func (e SkyWalkingConfigValidationError) Field() string
- func (e SkyWalkingConfigValidationError) Key() bool
- func (e SkyWalkingConfigValidationError) Reason() string
- type TraceServiceConfig
- func (*TraceServiceConfig) Descriptor() ([]byte, []int)deprecated
- func (x *TraceServiceConfig) GetGrpcService() *v3.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) GetHiddenEnvoyDeprecatedConfig() *_struct.Structdeprecated
- 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_HiddenEnvoyDeprecatedConfig
- type Tracing_Http_TypedConfig
- type XRayConfig
- func (*XRayConfig) Descriptor() ([]byte, []int)deprecated
- func (x *XRayConfig) GetDaemonEndpoint() *v3.SocketAddress
- func (x *XRayConfig) GetSamplingRuleManifest() *v3.DataSource
- func (x *XRayConfig) GetSegmentFields() *XRayConfig_SegmentFields
- func (x *XRayConfig) GetSegmentName() string
- func (*XRayConfig) ProtoMessage()
- func (x *XRayConfig) ProtoReflect() protoreflect.Message
- func (x *XRayConfig) Reset()
- func (x *XRayConfig) String() string
- func (m *XRayConfig) Validate() error
- type XRayConfigValidationError
- type XRayConfig_SegmentFields
- func (*XRayConfig_SegmentFields) Descriptor() ([]byte, []int)deprecated
- func (x *XRayConfig_SegmentFields) GetAws() *_struct.Struct
- func (x *XRayConfig_SegmentFields) GetOrigin() string
- func (*XRayConfig_SegmentFields) ProtoMessage()
- func (x *XRayConfig_SegmentFields) ProtoReflect() protoreflect.Message
- func (x *XRayConfig_SegmentFields) Reset()
- func (x *XRayConfig_SegmentFields) String() string
- func (m *XRayConfig_SegmentFields) Validate() error
- type XRayConfig_SegmentFieldsValidationError
- func (e XRayConfig_SegmentFieldsValidationError) Cause() error
- func (e XRayConfig_SegmentFieldsValidationError) Error() string
- func (e XRayConfig_SegmentFieldsValidationError) ErrorName() string
- func (e XRayConfig_SegmentFieldsValidationError) Field() string
- func (e XRayConfig_SegmentFieldsValidationError) Key() bool
- func (e XRayConfig_SegmentFieldsValidationError) Reason() string
- type ZipkinConfig
- func (*ZipkinConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ZipkinConfig) GetCollectorCluster() string
- func (x *ZipkinConfig) GetCollectorEndpoint() string
- func (x *ZipkinConfig) GetCollectorEndpointVersion() ZipkinConfig_CollectorEndpointVersion
- func (x *ZipkinConfig) GetCollectorHostname() string
- func (x *ZipkinConfig) GetSharedSpanContext() *wrappers.BoolValue
- func (x *ZipkinConfig) GetTraceId_128Bit() bool
- func (*ZipkinConfig) ProtoMessage()
- func (x *ZipkinConfig) ProtoReflect() protoreflect.Message
- func (x *ZipkinConfig) Reset()
- func (x *ZipkinConfig) String() string
- func (m *ZipkinConfig) Validate() error
- type ZipkinConfigValidationError
- func (e ZipkinConfigValidationError) Cause() error
- func (e ZipkinConfigValidationError) Error() string
- func (e ZipkinConfigValidationError) ErrorName() string
- func (e ZipkinConfigValidationError) Field() string
- func (e ZipkinConfigValidationError) Key() bool
- func (e ZipkinConfigValidationError) Reason() string
- type ZipkinConfig_CollectorEndpointVersion
- func (ZipkinConfig_CollectorEndpointVersion) Descriptor() protoreflect.EnumDescriptor
- func (x ZipkinConfig_CollectorEndpointVersion) Enum() *ZipkinConfig_CollectorEndpointVersion
- func (ZipkinConfig_CollectorEndpointVersion) EnumDescriptor() ([]byte, []int)deprecated
- func (x ZipkinConfig_CollectorEndpointVersion) Number() protoreflect.EnumNumber
- func (x ZipkinConfig_CollectorEndpointVersion) String() string
- func (ZipkinConfig_CollectorEndpointVersion) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
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.
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.
var ( ZipkinConfig_CollectorEndpointVersion_name = map[int32]string{ 0: "hidden_envoy_deprecated_HTTP_JSON_V1", 1: "HTTP_JSON", 2: "HTTP_PROTO", 3: "GRPC", } ZipkinConfig_CollectorEndpointVersion_value = map[string]int32{ "hidden_envoy_deprecated_HTTP_JSON_V1": 0, "HTTP_JSON": 1, "HTTP_PROTO": 2, "GRPC": 3, } )
Enum value maps for ZipkinConfig_CollectorEndpointVersion.
var File_envoy_config_trace_v3_datadog_proto protoreflect.FileDescriptor
var File_envoy_config_trace_v3_dynamic_ot_proto protoreflect.FileDescriptor
var File_envoy_config_trace_v3_http_tracer_proto protoreflect.FileDescriptor
var File_envoy_config_trace_v3_lightstep_proto protoreflect.FileDescriptor
var File_envoy_config_trace_v3_opencensus_proto protoreflect.FileDescriptor
var File_envoy_config_trace_v3_service_proto protoreflect.FileDescriptor
var File_envoy_config_trace_v3_skywalking_proto protoreflect.FileDescriptor
var File_envoy_config_trace_v3_trace_proto protoreflect.FileDescriptor
var File_envoy_config_trace_v3_xray_proto protoreflect.FileDescriptor
var File_envoy_config_trace_v3_zipkin_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ClientConfig ¶
type ClientConfig struct { // Service name for SkyWalking tracer. If this field is empty, then local service cluster name // that configured by :ref:`Bootstrap node <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.node>` // message's :ref:`cluster <envoy_v3_api_field_config.core.v3.Node.cluster>` field or command line // option :option:`--service-cluster` will be used. If both this field and local service cluster // name are empty, “EnvoyProxy“ is used as the service name by default. ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` // Service instance name for SkyWalking tracer. If this field is empty, then local service node // that configured by :ref:`Bootstrap node <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.node>` // message's :ref:`id <envoy_v3_api_field_config.core.v3.Node.id>` field or command line option // :option:`--service-node` will be used. If both this field and local service node are empty, // “EnvoyProxy“ is used as the instance name by default. InstanceName string `protobuf:"bytes,2,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty"` // Authentication token config for SkyWalking. SkyWalking can use token authentication to secure // that monitoring application data can be trusted. In current version, Token is considered as a // simple string. // [#comment:TODO(wbpcode): Get backend token through the SDS API.] // // Types that are assignable to BackendTokenSpecifier: // *ClientConfig_BackendToken BackendTokenSpecifier isClientConfig_BackendTokenSpecifier `protobuf_oneof:"backend_token_specifier"` // Envoy caches the segment in memory when the SkyWalking backend service is temporarily unavailable. // This field specifies the maximum number of segments that can be cached. If not specified, the // default is 1024. MaxCacheSize *wrappers.UInt32Value `protobuf:"bytes,4,opt,name=max_cache_size,json=maxCacheSize,proto3" json:"max_cache_size,omitempty"` // contains filtered or unexported fields }
Client config for SkyWalking tracer.
func (*ClientConfig) Descriptor
deprecated
func (*ClientConfig) Descriptor() ([]byte, []int)
Deprecated: Use ClientConfig.ProtoReflect.Descriptor instead.
func (*ClientConfig) GetBackendToken ¶
func (x *ClientConfig) GetBackendToken() string
func (*ClientConfig) GetBackendTokenSpecifier ¶
func (m *ClientConfig) GetBackendTokenSpecifier() isClientConfig_BackendTokenSpecifier
func (*ClientConfig) GetInstanceName ¶
func (x *ClientConfig) GetInstanceName() string
func (*ClientConfig) GetMaxCacheSize ¶
func (x *ClientConfig) GetMaxCacheSize() *wrappers.UInt32Value
func (*ClientConfig) GetServiceName ¶
func (x *ClientConfig) GetServiceName() string
func (*ClientConfig) ProtoMessage ¶
func (*ClientConfig) ProtoMessage()
func (*ClientConfig) ProtoReflect ¶
func (x *ClientConfig) ProtoReflect() protoreflect.Message
func (*ClientConfig) Reset ¶
func (x *ClientConfig) Reset()
func (*ClientConfig) String ¶
func (x *ClientConfig) String() string
func (*ClientConfig) Validate ¶
func (m *ClientConfig) Validate() error
Validate checks the field values on ClientConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ClientConfigValidationError ¶
type ClientConfigValidationError struct {
// contains filtered or unexported fields
}
ClientConfigValidationError is the validation error returned by ClientConfig.Validate if the designated constraints aren't met.
func (ClientConfigValidationError) Cause ¶
func (e ClientConfigValidationError) Cause() error
Cause function returns cause value.
func (ClientConfigValidationError) Error ¶
func (e ClientConfigValidationError) Error() string
Error satisfies the builtin error interface
func (ClientConfigValidationError) ErrorName ¶
func (e ClientConfigValidationError) ErrorName() string
ErrorName returns error name.
func (ClientConfigValidationError) Field ¶
func (e ClientConfigValidationError) Field() string
Field function returns field value.
func (ClientConfigValidationError) Key ¶
func (e ClientConfigValidationError) Key() bool
Key function returns key value.
func (ClientConfigValidationError) Reason ¶
func (e ClientConfigValidationError) Reason() string
Reason function returns reason value.
type ClientConfig_BackendToken ¶
type ClientConfig_BackendToken struct { // Inline authentication token string. BackendToken string `protobuf:"bytes,3,opt,name=backend_token,json=backendToken,proto3,oneof"` }
type DatadogConfig ¶
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
func (*DatadogConfig) Descriptor() ([]byte, []int)
Deprecated: Use DatadogConfig.ProtoReflect.Descriptor instead.
func (*DatadogConfig) GetCollectorCluster ¶
func (x *DatadogConfig) GetCollectorCluster() string
func (*DatadogConfig) GetServiceName ¶
func (x *DatadogConfig) GetServiceName() string
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
func (*DatadogConfig) Validate ¶
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, an error is returned.
type DatadogConfigValidationError ¶
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 ¶
func (e DatadogConfigValidationError) Cause() error
Cause function returns cause value.
func (DatadogConfigValidationError) Error ¶
func (e DatadogConfigValidationError) Error() string
Error satisfies the builtin error interface
func (DatadogConfigValidationError) ErrorName ¶
func (e DatadogConfigValidationError) ErrorName() string
ErrorName returns error name.
func (DatadogConfigValidationError) Field ¶
func (e DatadogConfigValidationError) Field() string
Field function returns field value.
func (DatadogConfigValidationError) Key ¶
func (e DatadogConfigValidationError) Key() bool
Key function returns key value.
func (DatadogConfigValidationError) Reason ¶
func (e DatadogConfigValidationError) Reason() string
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 ¶
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, an error is returned.
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 ¶
func (e DynamicOtConfigValidationError) Cause() error
Cause function returns cause value.
func (DynamicOtConfigValidationError) Error ¶
func (e DynamicOtConfigValidationError) Error() string
Error satisfies the builtin error interface
func (DynamicOtConfigValidationError) ErrorName ¶
func (e DynamicOtConfigValidationError) ErrorName() string
ErrorName returns error name.
func (DynamicOtConfigValidationError) Field ¶
func (e DynamicOtConfigValidationError) Field() string
Field function returns field value.
func (DynamicOtConfigValidationError) Key ¶
func (e DynamicOtConfigValidationError) Key() bool
Key function returns key value.
func (DynamicOtConfigValidationError) Reason ¶
func (e DynamicOtConfigValidationError) Reason() string
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 ¶
func (x *LightstepConfig) GetPropagationModes() []LightstepConfig_PropagationMode
func (*LightstepConfig) ProtoMessage ¶
func (*LightstepConfig) ProtoMessage()
func (*LightstepConfig) ProtoReflect ¶
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, an error is returned.
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 ¶
func (e LightstepConfigValidationError) Cause() error
Cause function returns cause value.
func (LightstepConfigValidationError) Error ¶
func (e LightstepConfigValidationError) Error() string
Error satisfies the builtin error interface
func (LightstepConfigValidationError) ErrorName ¶
func (e LightstepConfigValidationError) ErrorName() string
ErrorName returns error name.
func (LightstepConfigValidationError) Field ¶
func (e LightstepConfigValidationError) Field() string
Field function returns field value.
func (LightstepConfigValidationError) Key ¶
func (e LightstepConfigValidationError) Key() bool
Key function returns key value.
func (LightstepConfigValidationError) Reason ¶
func (e LightstepConfigValidationError) Reason() string
Reason function returns reason value.
type LightstepConfig_PropagationMode ¶
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 ¶
func (LightstepConfig_PropagationMode) Descriptor() protoreflect.EnumDescriptor
func (LightstepConfig_PropagationMode) Enum ¶
func (x LightstepConfig_PropagationMode) Enum() *LightstepConfig_PropagationMode
func (LightstepConfig_PropagationMode) EnumDescriptor
deprecated
func (LightstepConfig_PropagationMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use LightstepConfig_PropagationMode.Descriptor instead.
func (LightstepConfig_PropagationMode) Number ¶
func (x LightstepConfig_PropagationMode) Number() protoreflect.EnumNumber
func (LightstepConfig_PropagationMode) String ¶
func (x LightstepConfig_PropagationMode) String() string
func (LightstepConfig_PropagationMode) Type ¶
func (LightstepConfig_PropagationMode) Type() protoreflect.EnumType
type OpenCensusConfig ¶
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 *v3.GrpcService `` /* 130-byte string literal not displayed */ // Enables the Zipkin exporter if set to true. The url and service name must // also be set. This is deprecated, prefer to use Envoy's :ref:`native Zipkin // tracer <envoy_v3_api_msg_config.trace.v3.ZipkinConfig>`. // // Deprecated: Do not use. ZipkinExporterEnabled bool `` /* 127-byte string literal not displayed */ // The URL to Zipkin, e.g. "http://127.0.0.1:9411/api/v2/spans". This is // deprecated, prefer to use Envoy's :ref:`native Zipkin tracer // <envoy_v3_api_msg_config.trace.v3.ZipkinConfig>`. // // Deprecated: Do not use. 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 *v3.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
func (*OpenCensusConfig) Descriptor() ([]byte, []int)
Deprecated: Use OpenCensusConfig.ProtoReflect.Descriptor instead.
func (*OpenCensusConfig) GetIncomingTraceContext ¶
func (x *OpenCensusConfig) GetIncomingTraceContext() []OpenCensusConfig_TraceContext
func (*OpenCensusConfig) GetOcagentAddress ¶
func (x *OpenCensusConfig) GetOcagentAddress() string
func (*OpenCensusConfig) GetOcagentExporterEnabled ¶
func (x *OpenCensusConfig) GetOcagentExporterEnabled() bool
func (*OpenCensusConfig) GetOcagentGrpcService ¶
func (x *OpenCensusConfig) GetOcagentGrpcService() *v3.GrpcService
func (*OpenCensusConfig) GetOutgoingTraceContext ¶
func (x *OpenCensusConfig) GetOutgoingTraceContext() []OpenCensusConfig_TraceContext
func (*OpenCensusConfig) GetStackdriverAddress ¶
func (x *OpenCensusConfig) GetStackdriverAddress() string
func (*OpenCensusConfig) GetStackdriverExporterEnabled ¶
func (x *OpenCensusConfig) GetStackdriverExporterEnabled() bool
func (*OpenCensusConfig) GetStackdriverGrpcService ¶
func (x *OpenCensusConfig) GetStackdriverGrpcService() *v3.GrpcService
func (*OpenCensusConfig) GetStackdriverProjectId ¶
func (x *OpenCensusConfig) GetStackdriverProjectId() string
func (*OpenCensusConfig) GetStdoutExporterEnabled ¶
func (x *OpenCensusConfig) GetStdoutExporterEnabled() bool
func (*OpenCensusConfig) GetTraceConfig ¶
func (x *OpenCensusConfig) GetTraceConfig() *v1.TraceConfig
func (*OpenCensusConfig) GetZipkinExporterEnabled
deprecated
func (x *OpenCensusConfig) GetZipkinExporterEnabled() bool
Deprecated: Do not use.
func (*OpenCensusConfig) GetZipkinUrl
deprecated
func (x *OpenCensusConfig) GetZipkinUrl() string
Deprecated: Do not use.
func (*OpenCensusConfig) ProtoMessage ¶
func (*OpenCensusConfig) ProtoMessage()
func (*OpenCensusConfig) ProtoReflect ¶
func (x *OpenCensusConfig) ProtoReflect() protoreflect.Message
func (*OpenCensusConfig) Reset ¶
func (x *OpenCensusConfig) Reset()
func (*OpenCensusConfig) String ¶
func (x *OpenCensusConfig) String() string
func (*OpenCensusConfig) Validate ¶
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, an error is returned.
type OpenCensusConfigValidationError ¶
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 ¶
func (e OpenCensusConfigValidationError) Cause() error
Cause function returns cause value.
func (OpenCensusConfigValidationError) Error ¶
func (e OpenCensusConfigValidationError) Error() string
Error satisfies the builtin error interface
func (OpenCensusConfigValidationError) ErrorName ¶
func (e OpenCensusConfigValidationError) ErrorName() string
ErrorName returns error name.
func (OpenCensusConfigValidationError) Field ¶
func (e OpenCensusConfigValidationError) Field() string
Field function returns field value.
func (OpenCensusConfigValidationError) Key ¶
func (e OpenCensusConfigValidationError) Key() bool
Key function returns key value.
func (OpenCensusConfigValidationError) Reason ¶
func (e OpenCensusConfigValidationError) Reason() string
Reason function returns reason value.
type OpenCensusConfig_TraceContext ¶
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 ¶
func (OpenCensusConfig_TraceContext) Descriptor() protoreflect.EnumDescriptor
func (OpenCensusConfig_TraceContext) Enum ¶
func (x OpenCensusConfig_TraceContext) Enum() *OpenCensusConfig_TraceContext
func (OpenCensusConfig_TraceContext) EnumDescriptor
deprecated
func (OpenCensusConfig_TraceContext) EnumDescriptor() ([]byte, []int)
Deprecated: Use OpenCensusConfig_TraceContext.Descriptor instead.
func (OpenCensusConfig_TraceContext) Number ¶
func (x OpenCensusConfig_TraceContext) Number() protoreflect.EnumNumber
func (OpenCensusConfig_TraceContext) String ¶
func (x OpenCensusConfig_TraceContext) String() string
func (OpenCensusConfig_TraceContext) Type ¶
func (OpenCensusConfig_TraceContext) Type() protoreflect.EnumType
type SkyWalkingConfig ¶
type SkyWalkingConfig struct { // SkyWalking collector service. GrpcService *v3.GrpcService `protobuf:"bytes,1,opt,name=grpc_service,json=grpcService,proto3" json:"grpc_service,omitempty"` ClientConfig *ClientConfig `protobuf:"bytes,2,opt,name=client_config,json=clientConfig,proto3" json:"client_config,omitempty"` // contains filtered or unexported fields }
Configuration for the SkyWalking tracer. Please note that if SkyWalking tracer is used as the provider of http tracer, then :ref:`start_child_span <envoy_v3_api_field_extensions.filters.http.router.v3.Router.start_child_span>` in the router must be set to true to get the correct topology and tracing data. Moreover, SkyWalking Tracer does not support SkyWalking extension header (“sw8-x“) temporarily. [#extension: envoy.tracers.skywalking]
func (*SkyWalkingConfig) Descriptor
deprecated
func (*SkyWalkingConfig) Descriptor() ([]byte, []int)
Deprecated: Use SkyWalkingConfig.ProtoReflect.Descriptor instead.
func (*SkyWalkingConfig) GetClientConfig ¶
func (x *SkyWalkingConfig) GetClientConfig() *ClientConfig
func (*SkyWalkingConfig) GetGrpcService ¶
func (x *SkyWalkingConfig) GetGrpcService() *v3.GrpcService
func (*SkyWalkingConfig) ProtoMessage ¶
func (*SkyWalkingConfig) ProtoMessage()
func (*SkyWalkingConfig) ProtoReflect ¶
func (x *SkyWalkingConfig) ProtoReflect() protoreflect.Message
func (*SkyWalkingConfig) Reset ¶
func (x *SkyWalkingConfig) Reset()
func (*SkyWalkingConfig) String ¶
func (x *SkyWalkingConfig) String() string
func (*SkyWalkingConfig) Validate ¶
func (m *SkyWalkingConfig) Validate() error
Validate checks the field values on SkyWalkingConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SkyWalkingConfigValidationError ¶
type SkyWalkingConfigValidationError struct {
// contains filtered or unexported fields
}
SkyWalkingConfigValidationError is the validation error returned by SkyWalkingConfig.Validate if the designated constraints aren't met.
func (SkyWalkingConfigValidationError) Cause ¶
func (e SkyWalkingConfigValidationError) Cause() error
Cause function returns cause value.
func (SkyWalkingConfigValidationError) Error ¶
func (e SkyWalkingConfigValidationError) Error() string
Error satisfies the builtin error interface
func (SkyWalkingConfigValidationError) ErrorName ¶
func (e SkyWalkingConfigValidationError) ErrorName() string
ErrorName returns error name.
func (SkyWalkingConfigValidationError) Field ¶
func (e SkyWalkingConfigValidationError) Field() string
Field function returns field value.
func (SkyWalkingConfigValidationError) Key ¶
func (e SkyWalkingConfigValidationError) Key() bool
Key function returns key value.
func (SkyWalkingConfigValidationError) Reason ¶
func (e SkyWalkingConfigValidationError) Reason() string
Reason function returns reason value.
type TraceServiceConfig ¶
type TraceServiceConfig struct { // The upstream gRPC cluster that hosts the metrics service. GrpcService *v3.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() *v3.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 ¶
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.v3.Tracing.Http>`.
func (*Tracing) Descriptor
deprecated
func (*Tracing) GetHttp ¶
func (x *Tracing) GetHttp() *Tracing_Http
func (*Tracing) ProtoMessage ¶
func (*Tracing) ProtoMessage()
func (*Tracing) ProtoReflect ¶
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. // 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 // *Tracing_Http_HiddenEnvoyDeprecatedConfig 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.v3.HttpConnectionManager.Tracing>` :ref:`provider <envoy_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) GetHiddenEnvoyDeprecatedConfig
deprecated
func (x *Tracing_Http) GetHiddenEnvoyDeprecatedConfig() *_struct.Struct
Deprecated: Do not use.
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 ¶
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.
type XRayConfig ¶
type XRayConfig struct { // The UDP endpoint of the X-Ray Daemon where the spans will be sent. // If this value is not set, the default value of 127.0.0.1:2000 will be used. DaemonEndpoint *v3.SocketAddress `protobuf:"bytes,1,opt,name=daemon_endpoint,json=daemonEndpoint,proto3" json:"daemon_endpoint,omitempty"` // The name of the X-Ray segment. SegmentName string `protobuf:"bytes,2,opt,name=segment_name,json=segmentName,proto3" json:"segment_name,omitempty"` // The location of a local custom sampling rules JSON file. // For an example of the sampling rules see: // `X-Ray SDK documentation // <https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-go-configuration.html#xray-sdk-go-configuration-sampling>`_ SamplingRuleManifest *v3.DataSource `protobuf:"bytes,3,opt,name=sampling_rule_manifest,json=samplingRuleManifest,proto3" json:"sampling_rule_manifest,omitempty"` // Optional custom fields to be added to each trace segment. // see: `X-Ray Segment Document documentation // <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html>`__ SegmentFields *XRayConfig_SegmentFields `protobuf:"bytes,4,opt,name=segment_fields,json=segmentFields,proto3" json:"segment_fields,omitempty"` // contains filtered or unexported fields }
[#extension: envoy.tracers.xray]
func (*XRayConfig) Descriptor
deprecated
func (*XRayConfig) Descriptor() ([]byte, []int)
Deprecated: Use XRayConfig.ProtoReflect.Descriptor instead.
func (*XRayConfig) GetDaemonEndpoint ¶
func (x *XRayConfig) GetDaemonEndpoint() *v3.SocketAddress
func (*XRayConfig) GetSamplingRuleManifest ¶
func (x *XRayConfig) GetSamplingRuleManifest() *v3.DataSource
func (*XRayConfig) GetSegmentFields ¶
func (x *XRayConfig) GetSegmentFields() *XRayConfig_SegmentFields
func (*XRayConfig) GetSegmentName ¶
func (x *XRayConfig) GetSegmentName() string
func (*XRayConfig) ProtoMessage ¶
func (*XRayConfig) ProtoMessage()
func (*XRayConfig) ProtoReflect ¶
func (x *XRayConfig) ProtoReflect() protoreflect.Message
func (*XRayConfig) Reset ¶
func (x *XRayConfig) Reset()
func (*XRayConfig) String ¶
func (x *XRayConfig) String() string
func (*XRayConfig) Validate ¶
func (m *XRayConfig) Validate() error
Validate checks the field values on XRayConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type XRayConfigValidationError ¶
type XRayConfigValidationError struct {
// contains filtered or unexported fields
}
XRayConfigValidationError is the validation error returned by XRayConfig.Validate if the designated constraints aren't met.
func (XRayConfigValidationError) Cause ¶
func (e XRayConfigValidationError) Cause() error
Cause function returns cause value.
func (XRayConfigValidationError) Error ¶
func (e XRayConfigValidationError) Error() string
Error satisfies the builtin error interface
func (XRayConfigValidationError) ErrorName ¶
func (e XRayConfigValidationError) ErrorName() string
ErrorName returns error name.
func (XRayConfigValidationError) Field ¶
func (e XRayConfigValidationError) Field() string
Field function returns field value.
func (XRayConfigValidationError) Key ¶
func (e XRayConfigValidationError) Key() bool
Key function returns key value.
func (XRayConfigValidationError) Reason ¶
func (e XRayConfigValidationError) Reason() string
Reason function returns reason value.
type XRayConfig_SegmentFields ¶
type XRayConfig_SegmentFields struct { // The type of AWS resource, e.g. "AWS::AppMesh::Proxy". Origin string `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"` // AWS resource metadata dictionary. // See: `X-Ray Segment Document documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html#api-segmentdocuments-aws>`__ Aws *_struct.Struct `protobuf:"bytes,2,opt,name=aws,proto3" json:"aws,omitempty"` // contains filtered or unexported fields }
func (*XRayConfig_SegmentFields) Descriptor
deprecated
func (*XRayConfig_SegmentFields) Descriptor() ([]byte, []int)
Deprecated: Use XRayConfig_SegmentFields.ProtoReflect.Descriptor instead.
func (*XRayConfig_SegmentFields) GetAws ¶
func (x *XRayConfig_SegmentFields) GetAws() *_struct.Struct
func (*XRayConfig_SegmentFields) GetOrigin ¶
func (x *XRayConfig_SegmentFields) GetOrigin() string
func (*XRayConfig_SegmentFields) ProtoMessage ¶
func (*XRayConfig_SegmentFields) ProtoMessage()
func (*XRayConfig_SegmentFields) ProtoReflect ¶
func (x *XRayConfig_SegmentFields) ProtoReflect() protoreflect.Message
func (*XRayConfig_SegmentFields) Reset ¶
func (x *XRayConfig_SegmentFields) Reset()
func (*XRayConfig_SegmentFields) String ¶
func (x *XRayConfig_SegmentFields) String() string
func (*XRayConfig_SegmentFields) Validate ¶
func (m *XRayConfig_SegmentFields) Validate() error
Validate checks the field values on XRayConfig_SegmentFields with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type XRayConfig_SegmentFieldsValidationError ¶
type XRayConfig_SegmentFieldsValidationError struct {
// contains filtered or unexported fields
}
XRayConfig_SegmentFieldsValidationError is the validation error returned by XRayConfig_SegmentFields.Validate if the designated constraints aren't met.
func (XRayConfig_SegmentFieldsValidationError) Cause ¶
func (e XRayConfig_SegmentFieldsValidationError) Cause() error
Cause function returns cause value.
func (XRayConfig_SegmentFieldsValidationError) Error ¶
func (e XRayConfig_SegmentFieldsValidationError) Error() string
Error satisfies the builtin error interface
func (XRayConfig_SegmentFieldsValidationError) ErrorName ¶
func (e XRayConfig_SegmentFieldsValidationError) ErrorName() string
ErrorName returns error name.
func (XRayConfig_SegmentFieldsValidationError) Field ¶
func (e XRayConfig_SegmentFieldsValidationError) Field() string
Field function returns field value.
func (XRayConfig_SegmentFieldsValidationError) Key ¶
func (e XRayConfig_SegmentFieldsValidationError) Key() bool
Key function returns key value.
func (XRayConfig_SegmentFieldsValidationError) Reason ¶
func (e XRayConfig_SegmentFieldsValidationError) Reason() string
Reason function returns reason value.
type ZipkinConfig ¶
type ZipkinConfig struct { // The cluster manager cluster that hosts the Zipkin collectors. 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"` // 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 */ // Optional hostname to use when sending spans to the collector_cluster. Useful for collectors // that require a specific hostname. Defaults to :ref:`collector_cluster <envoy_v3_api_field_config.trace.v3.ZipkinConfig.collector_cluster>` above. CollectorHostname string `protobuf:"bytes,6,opt,name=collector_hostname,json=collectorHostname,proto3" json:"collector_hostname,omitempty"` // contains filtered or unexported fields }
Configuration for the Zipkin tracer. [#extension: envoy.tracers.zipkin] [#next-free-field: 7]
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 ¶
func (x *ZipkinConfig) GetCollectorEndpointVersion() ZipkinConfig_CollectorEndpointVersion
func (*ZipkinConfig) GetCollectorHostname ¶
func (x *ZipkinConfig) GetCollectorHostname() string
func (*ZipkinConfig) GetSharedSpanContext ¶
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 ¶
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, an error is returned.
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 ¶
func (e ZipkinConfigValidationError) Cause() error
Cause function returns cause value.
func (ZipkinConfigValidationError) Error ¶
func (e ZipkinConfigValidationError) Error() string
Error satisfies the builtin error interface
func (ZipkinConfigValidationError) ErrorName ¶
func (e ZipkinConfigValidationError) ErrorName() string
ErrorName returns error name.
func (ZipkinConfigValidationError) Field ¶
func (e ZipkinConfigValidationError) Field() string
Field function returns field value.
func (ZipkinConfigValidationError) Key ¶
func (e ZipkinConfigValidationError) Key() bool
Key function returns key value.
func (ZipkinConfigValidationError) Reason ¶
func (e ZipkinConfigValidationError) Reason() string
Reason function returns reason value.
type ZipkinConfig_CollectorEndpointVersion ¶
type ZipkinConfig_CollectorEndpointVersion int32
Available Zipkin collector endpoint versions.
const ( // [#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_hidden_envoy_deprecated_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 ¶
func (ZipkinConfig_CollectorEndpointVersion) Descriptor() protoreflect.EnumDescriptor
func (ZipkinConfig_CollectorEndpointVersion) EnumDescriptor
deprecated
func (ZipkinConfig_CollectorEndpointVersion) EnumDescriptor() ([]byte, []int)
Deprecated: Use ZipkinConfig_CollectorEndpointVersion.Descriptor instead.
func (ZipkinConfig_CollectorEndpointVersion) Number ¶
func (x ZipkinConfig_CollectorEndpointVersion) Number() protoreflect.EnumNumber
func (ZipkinConfig_CollectorEndpointVersion) String ¶
func (x ZipkinConfig_CollectorEndpointVersion) String() string
func (ZipkinConfig_CollectorEndpointVersion) Type ¶
func (ZipkinConfig_CollectorEndpointVersion) Type() protoreflect.EnumType
Source Files ¶
- datadog.pb.go
- datadog.pb.validate.go
- dynamic_ot.pb.go
- dynamic_ot.pb.validate.go
- http_tracer.pb.go
- http_tracer.pb.validate.go
- lightstep.pb.go
- lightstep.pb.validate.go
- opencensus.pb.go
- opencensus.pb.validate.go
- service.pb.go
- service.pb.validate.go
- skywalking.pb.go
- skywalking.pb.validate.go
- trace.pb.go
- trace.pb.validate.go
- xray.pb.go
- xray.pb.validate.go
- zipkin.pb.go
- zipkin.pb.validate.go