Documentation ¶
Index ¶
- Constants
- Variables
- type ClientConfig
- func (x *ClientConfig) ClearBackendToken()
- func (x *ClientConfig) ClearBackendTokenSpecifier()
- func (x *ClientConfig) ClearMaxCacheSize()
- func (x *ClientConfig) GetBackendToken() string
- func (x *ClientConfig) GetBackendTokenSpecifier() isClientConfig_BackendTokenSpecifier
- func (x *ClientConfig) GetInstanceName() string
- func (x *ClientConfig) GetMaxCacheSize() *wrapperspb.UInt32Value
- func (x *ClientConfig) GetServiceName() string
- func (x *ClientConfig) HasBackendToken() bool
- func (x *ClientConfig) HasBackendTokenSpecifier() bool
- func (x *ClientConfig) HasMaxCacheSize() bool
- func (*ClientConfig) ProtoMessage()
- func (x *ClientConfig) ProtoReflect() protoreflect.Message
- func (x *ClientConfig) Reset()
- func (x *ClientConfig) SetBackendToken(v string)
- func (x *ClientConfig) SetInstanceName(v string)
- func (x *ClientConfig) SetMaxCacheSize(v *wrapperspb.UInt32Value)
- func (x *ClientConfig) SetServiceName(v string)
- func (x *ClientConfig) String() string
- func (x *ClientConfig) WhichBackendTokenSpecifier() case_ClientConfig_BackendTokenSpecifier
- type ClientConfig_BackendToken
- type ClientConfig_builder
- type DatadogConfig
- func (x *DatadogConfig) GetCollectorCluster() string
- func (x *DatadogConfig) GetCollectorHostname() string
- func (x *DatadogConfig) GetServiceName() string
- func (*DatadogConfig) ProtoMessage()
- func (x *DatadogConfig) ProtoReflect() protoreflect.Message
- func (x *DatadogConfig) Reset()
- func (x *DatadogConfig) SetCollectorCluster(v string)
- func (x *DatadogConfig) SetCollectorHostname(v string)
- func (x *DatadogConfig) SetServiceName(v string)
- func (x *DatadogConfig) String() string
- type DatadogConfig_builder
- type DynamicOtConfig
- func (x *DynamicOtConfig) ClearConfig()deprecated
- func (x *DynamicOtConfig) GetConfig() *structpb.Structdeprecated
- func (x *DynamicOtConfig) GetLibrary() stringdeprecated
- func (x *DynamicOtConfig) HasConfig() booldeprecated
- func (*DynamicOtConfig) ProtoMessage()
- func (x *DynamicOtConfig) ProtoReflect() protoreflect.Message
- func (x *DynamicOtConfig) Reset()
- func (x *DynamicOtConfig) SetConfig(v *structpb.Struct)deprecated
- func (x *DynamicOtConfig) SetLibrary(v string)deprecated
- func (x *DynamicOtConfig) String() string
- type DynamicOtConfig_builder
- type LightstepConfig
- func (x *LightstepConfig) ClearAccessToken()
- func (x *LightstepConfig) GetAccessToken() *v3.DataSource
- func (x *LightstepConfig) GetAccessTokenFile() stringdeprecated
- func (x *LightstepConfig) GetCollectorCluster() string
- func (x *LightstepConfig) GetPropagationModes() []LightstepConfig_PropagationMode
- func (x *LightstepConfig) HasAccessToken() bool
- func (*LightstepConfig) ProtoMessage()
- func (x *LightstepConfig) ProtoReflect() protoreflect.Message
- func (x *LightstepConfig) Reset()
- func (x *LightstepConfig) SetAccessToken(v *v3.DataSource)
- func (x *LightstepConfig) SetAccessTokenFile(v string)deprecated
- func (x *LightstepConfig) SetCollectorCluster(v string)
- func (x *LightstepConfig) SetPropagationModes(v []LightstepConfig_PropagationMode)
- func (x *LightstepConfig) String() string
- type LightstepConfig_PropagationMode
- func (LightstepConfig_PropagationMode) Descriptor() protoreflect.EnumDescriptor
- func (x LightstepConfig_PropagationMode) Enum() *LightstepConfig_PropagationMode
- func (x LightstepConfig_PropagationMode) Number() protoreflect.EnumNumber
- func (x LightstepConfig_PropagationMode) String() string
- func (LightstepConfig_PropagationMode) Type() protoreflect.EnumType
- type LightstepConfig_builder
- type OpenCensusConfig
- func (x *OpenCensusConfig) ClearOcagentGrpcService()deprecated
- func (x *OpenCensusConfig) ClearStackdriverGrpcService()deprecated
- func (x *OpenCensusConfig) ClearTraceConfig()deprecated
- func (x *OpenCensusConfig) GetIncomingTraceContext() []OpenCensusConfig_TraceContextdeprecated
- func (x *OpenCensusConfig) GetOcagentAddress() stringdeprecated
- func (x *OpenCensusConfig) GetOcagentExporterEnabled() booldeprecated
- func (x *OpenCensusConfig) GetOcagentGrpcService() *v3.GrpcServicedeprecated
- func (x *OpenCensusConfig) GetOutgoingTraceContext() []OpenCensusConfig_TraceContextdeprecated
- func (x *OpenCensusConfig) GetStackdriverAddress() stringdeprecated
- func (x *OpenCensusConfig) GetStackdriverExporterEnabled() booldeprecated
- func (x *OpenCensusConfig) GetStackdriverGrpcService() *v3.GrpcServicedeprecated
- func (x *OpenCensusConfig) GetStackdriverProjectId() stringdeprecated
- func (x *OpenCensusConfig) GetStdoutExporterEnabled() booldeprecated
- func (x *OpenCensusConfig) GetTraceConfig() *v1.TraceConfigdeprecated
- func (x *OpenCensusConfig) GetZipkinExporterEnabled() booldeprecated
- func (x *OpenCensusConfig) GetZipkinUrl() stringdeprecated
- func (x *OpenCensusConfig) HasOcagentGrpcService() booldeprecated
- func (x *OpenCensusConfig) HasStackdriverGrpcService() booldeprecated
- func (x *OpenCensusConfig) HasTraceConfig() booldeprecated
- func (*OpenCensusConfig) ProtoMessage()
- func (x *OpenCensusConfig) ProtoReflect() protoreflect.Message
- func (x *OpenCensusConfig) Reset()
- func (x *OpenCensusConfig) SetIncomingTraceContext(v []OpenCensusConfig_TraceContext)deprecated
- func (x *OpenCensusConfig) SetOcagentAddress(v string)deprecated
- func (x *OpenCensusConfig) SetOcagentExporterEnabled(v bool)deprecated
- func (x *OpenCensusConfig) SetOcagentGrpcService(v *v3.GrpcService)deprecated
- func (x *OpenCensusConfig) SetOutgoingTraceContext(v []OpenCensusConfig_TraceContext)deprecated
- func (x *OpenCensusConfig) SetStackdriverAddress(v string)deprecated
- func (x *OpenCensusConfig) SetStackdriverExporterEnabled(v bool)deprecated
- func (x *OpenCensusConfig) SetStackdriverGrpcService(v *v3.GrpcService)deprecated
- func (x *OpenCensusConfig) SetStackdriverProjectId(v string)deprecated
- func (x *OpenCensusConfig) SetStdoutExporterEnabled(v bool)deprecated
- func (x *OpenCensusConfig) SetTraceConfig(v *v1.TraceConfig)deprecated
- func (x *OpenCensusConfig) SetZipkinExporterEnabled(v bool)deprecated
- func (x *OpenCensusConfig) SetZipkinUrl(v string)deprecated
- func (x *OpenCensusConfig) String() string
- type OpenCensusConfig_TraceContext
- func (OpenCensusConfig_TraceContext) Descriptor() protoreflect.EnumDescriptor
- func (x OpenCensusConfig_TraceContext) Enum() *OpenCensusConfig_TraceContext
- func (x OpenCensusConfig_TraceContext) Number() protoreflect.EnumNumber
- func (x OpenCensusConfig_TraceContext) String() string
- func (OpenCensusConfig_TraceContext) Type() protoreflect.EnumType
- type OpenCensusConfig_builder
- type OpenTelemetryConfig
- func (x *OpenTelemetryConfig) ClearGrpcService()
- func (x *OpenTelemetryConfig) ClearHttpService()
- func (x *OpenTelemetryConfig) ClearSampler()
- func (x *OpenTelemetryConfig) GetGrpcService() *v3.GrpcService
- func (x *OpenTelemetryConfig) GetHttpService() *v3.HttpService
- func (x *OpenTelemetryConfig) GetResourceDetectors() []*v3.TypedExtensionConfig
- func (x *OpenTelemetryConfig) GetSampler() *v3.TypedExtensionConfig
- func (x *OpenTelemetryConfig) GetServiceName() string
- func (x *OpenTelemetryConfig) HasGrpcService() bool
- func (x *OpenTelemetryConfig) HasHttpService() bool
- func (x *OpenTelemetryConfig) HasSampler() bool
- func (*OpenTelemetryConfig) ProtoMessage()
- func (x *OpenTelemetryConfig) ProtoReflect() protoreflect.Message
- func (x *OpenTelemetryConfig) Reset()
- func (x *OpenTelemetryConfig) SetGrpcService(v *v3.GrpcService)
- func (x *OpenTelemetryConfig) SetHttpService(v *v3.HttpService)
- func (x *OpenTelemetryConfig) SetResourceDetectors(v []*v3.TypedExtensionConfig)
- func (x *OpenTelemetryConfig) SetSampler(v *v3.TypedExtensionConfig)
- func (x *OpenTelemetryConfig) SetServiceName(v string)
- func (x *OpenTelemetryConfig) String() string
- type OpenTelemetryConfig_builder
- type SkyWalkingConfig
- func (x *SkyWalkingConfig) ClearClientConfig()
- func (x *SkyWalkingConfig) ClearGrpcService()
- func (x *SkyWalkingConfig) GetClientConfig() *ClientConfig
- func (x *SkyWalkingConfig) GetGrpcService() *v3.GrpcService
- func (x *SkyWalkingConfig) HasClientConfig() bool
- func (x *SkyWalkingConfig) HasGrpcService() bool
- func (*SkyWalkingConfig) ProtoMessage()
- func (x *SkyWalkingConfig) ProtoReflect() protoreflect.Message
- func (x *SkyWalkingConfig) Reset()
- func (x *SkyWalkingConfig) SetClientConfig(v *ClientConfig)
- func (x *SkyWalkingConfig) SetGrpcService(v *v3.GrpcService)
- func (x *SkyWalkingConfig) String() string
- type SkyWalkingConfig_builder
- type TraceServiceConfig
- func (x *TraceServiceConfig) ClearGrpcService()
- func (x *TraceServiceConfig) GetGrpcService() *v3.GrpcService
- func (x *TraceServiceConfig) HasGrpcService() bool
- func (*TraceServiceConfig) ProtoMessage()
- func (x *TraceServiceConfig) ProtoReflect() protoreflect.Message
- func (x *TraceServiceConfig) Reset()
- func (x *TraceServiceConfig) SetGrpcService(v *v3.GrpcService)
- func (x *TraceServiceConfig) String() string
- type TraceServiceConfig_builder
- type Tracing
- type Tracing_Http
- func (x *Tracing_Http) ClearConfigType()
- func (x *Tracing_Http) ClearTypedConfig()
- func (x *Tracing_Http) GetConfigType() isTracing_Http_ConfigType
- func (x *Tracing_Http) GetName() string
- func (x *Tracing_Http) GetTypedConfig() *anypb.Any
- func (x *Tracing_Http) HasConfigType() bool
- func (x *Tracing_Http) HasTypedConfig() bool
- func (*Tracing_Http) ProtoMessage()
- func (x *Tracing_Http) ProtoReflect() protoreflect.Message
- func (x *Tracing_Http) Reset()
- func (x *Tracing_Http) SetName(v string)
- func (x *Tracing_Http) SetTypedConfig(v *anypb.Any)
- func (x *Tracing_Http) String() string
- func (x *Tracing_Http) WhichConfigType() case_Tracing_Http_ConfigType
- type Tracing_Http_TypedConfig
- type Tracing_Http_builder
- type Tracing_builder
- type XRayConfig
- func (x *XRayConfig) ClearDaemonEndpoint()
- func (x *XRayConfig) ClearSamplingRuleManifest()
- func (x *XRayConfig) ClearSegmentFields()
- func (x *XRayConfig) GetDaemonEndpoint() *v3.SocketAddress
- func (x *XRayConfig) GetSamplingRuleManifest() *v3.DataSource
- func (x *XRayConfig) GetSegmentFields() *XRayConfig_SegmentFields
- func (x *XRayConfig) GetSegmentName() string
- func (x *XRayConfig) HasDaemonEndpoint() bool
- func (x *XRayConfig) HasSamplingRuleManifest() bool
- func (x *XRayConfig) HasSegmentFields() bool
- func (*XRayConfig) ProtoMessage()
- func (x *XRayConfig) ProtoReflect() protoreflect.Message
- func (x *XRayConfig) Reset()
- func (x *XRayConfig) SetDaemonEndpoint(v *v3.SocketAddress)
- func (x *XRayConfig) SetSamplingRuleManifest(v *v3.DataSource)
- func (x *XRayConfig) SetSegmentFields(v *XRayConfig_SegmentFields)
- func (x *XRayConfig) SetSegmentName(v string)
- func (x *XRayConfig) String() string
- type XRayConfig_SegmentFields
- func (x *XRayConfig_SegmentFields) ClearAws()
- func (x *XRayConfig_SegmentFields) GetAws() *structpb.Struct
- func (x *XRayConfig_SegmentFields) GetOrigin() string
- func (x *XRayConfig_SegmentFields) HasAws() bool
- func (*XRayConfig_SegmentFields) ProtoMessage()
- func (x *XRayConfig_SegmentFields) ProtoReflect() protoreflect.Message
- func (x *XRayConfig_SegmentFields) Reset()
- func (x *XRayConfig_SegmentFields) SetAws(v *structpb.Struct)
- func (x *XRayConfig_SegmentFields) SetOrigin(v string)
- func (x *XRayConfig_SegmentFields) String() string
- type XRayConfig_SegmentFields_builder
- type XRayConfig_builder
- type ZipkinConfig
- func (x *ZipkinConfig) ClearSharedSpanContext()
- 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() *wrapperspb.BoolValue
- func (x *ZipkinConfig) GetSplitSpansForRequest() bool
- func (x *ZipkinConfig) GetTraceId_128Bit() bool
- func (x *ZipkinConfig) HasSharedSpanContext() bool
- func (*ZipkinConfig) ProtoMessage()
- func (x *ZipkinConfig) ProtoReflect() protoreflect.Message
- func (x *ZipkinConfig) Reset()
- func (x *ZipkinConfig) SetCollectorCluster(v string)
- func (x *ZipkinConfig) SetCollectorEndpoint(v string)
- func (x *ZipkinConfig) SetCollectorEndpointVersion(v ZipkinConfig_CollectorEndpointVersion)
- func (x *ZipkinConfig) SetCollectorHostname(v string)
- func (x *ZipkinConfig) SetSharedSpanContext(v *wrapperspb.BoolValue)
- func (x *ZipkinConfig) SetSplitSpansForRequest(v bool)
- func (x *ZipkinConfig) SetTraceId_128Bit(v bool)
- func (x *ZipkinConfig) String() string
- type ZipkinConfig_CollectorEndpointVersion
- func (ZipkinConfig_CollectorEndpointVersion) Descriptor() protoreflect.EnumDescriptor
- func (x ZipkinConfig_CollectorEndpointVersion) Enum() *ZipkinConfig_CollectorEndpointVersion
- func (x ZipkinConfig_CollectorEndpointVersion) Number() protoreflect.EnumNumber
- func (x ZipkinConfig_CollectorEndpointVersion) String() string
- func (ZipkinConfig_CollectorEndpointVersion) Type() protoreflect.EnumType
- type ZipkinConfig_builder
Constants ¶
const ClientConfig_BackendTokenSpecifier_not_set_case case_ClientConfig_BackendTokenSpecifier = 0
const ClientConfig_BackendToken_case case_ClientConfig_BackendTokenSpecifier = 3
const Tracing_Http_ConfigType_not_set_case case_Tracing_Http_ConfigType = 0
const Tracing_Http_TypedConfig_case case_Tracing_Http_ConfigType = 3
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: "DEPRECATED_AND_UNAVAILABLE_DO_NOT_USE", 1: "HTTP_JSON", 2: "HTTP_PROTO", 3: "GRPC", } ZipkinConfig_CollectorEndpointVersion_value = map[string]int32{ "DEPRECATED_AND_UNAVAILABLE_DO_NOT_USE": 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_opentelemetry_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 valid to be assigned 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 *wrapperspb.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) ClearBackendToken ¶
func (x *ClientConfig) ClearBackendToken()
func (*ClientConfig) ClearBackendTokenSpecifier ¶
func (x *ClientConfig) ClearBackendTokenSpecifier()
func (*ClientConfig) ClearMaxCacheSize ¶
func (x *ClientConfig) ClearMaxCacheSize()
func (*ClientConfig) GetBackendToken ¶
func (x *ClientConfig) GetBackendToken() string
func (*ClientConfig) GetBackendTokenSpecifier ¶
func (x *ClientConfig) GetBackendTokenSpecifier() isClientConfig_BackendTokenSpecifier
func (*ClientConfig) GetInstanceName ¶
func (x *ClientConfig) GetInstanceName() string
func (*ClientConfig) GetMaxCacheSize ¶
func (x *ClientConfig) GetMaxCacheSize() *wrapperspb.UInt32Value
func (*ClientConfig) GetServiceName ¶
func (x *ClientConfig) GetServiceName() string
func (*ClientConfig) HasBackendToken ¶
func (x *ClientConfig) HasBackendToken() bool
func (*ClientConfig) HasBackendTokenSpecifier ¶
func (x *ClientConfig) HasBackendTokenSpecifier() bool
func (*ClientConfig) HasMaxCacheSize ¶
func (x *ClientConfig) HasMaxCacheSize() bool
func (*ClientConfig) ProtoMessage ¶
func (*ClientConfig) ProtoMessage()
func (*ClientConfig) ProtoReflect ¶
func (x *ClientConfig) ProtoReflect() protoreflect.Message
func (*ClientConfig) Reset ¶
func (x *ClientConfig) Reset()
func (*ClientConfig) SetBackendToken ¶
func (x *ClientConfig) SetBackendToken(v string)
func (*ClientConfig) SetInstanceName ¶
func (x *ClientConfig) SetInstanceName(v string)
func (*ClientConfig) SetMaxCacheSize ¶
func (x *ClientConfig) SetMaxCacheSize(v *wrapperspb.UInt32Value)
func (*ClientConfig) SetServiceName ¶
func (x *ClientConfig) SetServiceName(v string)
func (*ClientConfig) String ¶
func (x *ClientConfig) String() string
func (*ClientConfig) WhichBackendTokenSpecifier ¶
func (x *ClientConfig) WhichBackendTokenSpecifier() case_ClientConfig_BackendTokenSpecifier
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 ClientConfig_builder ¶
type ClientConfig_builder 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 // 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 // Fields of oneof BackendTokenSpecifier: // Inline authentication token string. BackendToken *string // -- end of BackendTokenSpecifier // 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 *wrapperspb.UInt32Value // contains filtered or unexported fields }
func (ClientConfig_builder) Build ¶
func (b0 ClientConfig_builder) Build() *ClientConfig
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"` // 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.DatadogConfig.collector_cluster>` above. CollectorHostname string `protobuf:"bytes,3,opt,name=collector_hostname,json=collectorHostname,proto3" json:"collector_hostname,omitempty"` // contains filtered or unexported fields }
Configuration for the Datadog tracer. [#extension: envoy.tracers.datadog]
func (*DatadogConfig) GetCollectorCluster ¶
func (x *DatadogConfig) GetCollectorCluster() string
func (*DatadogConfig) GetCollectorHostname ¶
func (x *DatadogConfig) GetCollectorHostname() 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) SetCollectorCluster ¶
func (x *DatadogConfig) SetCollectorCluster(v string)
func (*DatadogConfig) SetCollectorHostname ¶
func (x *DatadogConfig) SetCollectorHostname(v string)
func (*DatadogConfig) SetServiceName ¶
func (x *DatadogConfig) SetServiceName(v string)
func (*DatadogConfig) String ¶
func (x *DatadogConfig) String() string
type DatadogConfig_builder ¶
type DatadogConfig_builder struct { // The cluster to use for submitting traces to the Datadog agent. CollectorCluster string // The name used for the service when traces are generated by envoy. ServiceName string // 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.DatadogConfig.collector_cluster>` above. CollectorHostname string // contains filtered or unexported fields }
func (DatadogConfig_builder) Build ¶
func (b0 DatadogConfig_builder) Build() *DatadogConfig
type DynamicOtConfig ¶
type DynamicOtConfig struct { // Dynamic library implementing the `OpenTracing API // <https://github.com/opentracing/opentracing-cpp>`_. // // Deprecated: Marked as deprecated in envoy/config/trace/v3/dynamic_ot.proto. 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. // // Deprecated: Marked as deprecated in envoy/config/trace/v3/dynamic_ot.proto. Config *structpb.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) ClearConfig
deprecated
func (x *DynamicOtConfig) ClearConfig()
Deprecated: Marked as deprecated in envoy/config/trace/v3/dynamic_ot.proto.
func (*DynamicOtConfig) GetConfig
deprecated
func (x *DynamicOtConfig) GetConfig() *structpb.Struct
Deprecated: Marked as deprecated in envoy/config/trace/v3/dynamic_ot.proto.
func (*DynamicOtConfig) GetLibrary
deprecated
func (x *DynamicOtConfig) GetLibrary() string
Deprecated: Marked as deprecated in envoy/config/trace/v3/dynamic_ot.proto.
func (*DynamicOtConfig) HasConfig
deprecated
func (x *DynamicOtConfig) HasConfig() bool
Deprecated: Marked as deprecated in envoy/config/trace/v3/dynamic_ot.proto.
func (*DynamicOtConfig) ProtoMessage ¶
func (*DynamicOtConfig) ProtoMessage()
func (*DynamicOtConfig) ProtoReflect ¶
func (x *DynamicOtConfig) ProtoReflect() protoreflect.Message
func (*DynamicOtConfig) Reset ¶
func (x *DynamicOtConfig) Reset()
func (*DynamicOtConfig) SetConfig
deprecated
func (x *DynamicOtConfig) SetConfig(v *structpb.Struct)
Deprecated: Marked as deprecated in envoy/config/trace/v3/dynamic_ot.proto.
func (*DynamicOtConfig) SetLibrary
deprecated
func (x *DynamicOtConfig) SetLibrary(v string)
Deprecated: Marked as deprecated in envoy/config/trace/v3/dynamic_ot.proto.
func (*DynamicOtConfig) String ¶
func (x *DynamicOtConfig) String() string
type DynamicOtConfig_builder ¶
type DynamicOtConfig_builder struct { // Dynamic library implementing the `OpenTracing API // <https://github.com/opentracing/opentracing-cpp>`_. // // Deprecated: Marked as deprecated in envoy/config/trace/v3/dynamic_ot.proto. Library string // The configuration to use when creating a tracer from the given dynamic // library. // // Deprecated: Marked as deprecated in envoy/config/trace/v3/dynamic_ot.proto. Config *structpb.Struct // contains filtered or unexported fields }
func (DynamicOtConfig_builder) Build ¶
func (b0 DynamicOtConfig_builder) Build() *DynamicOtConfig
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. // // Deprecated: Marked as deprecated in envoy/config/trace/v3/lightstep.proto. AccessTokenFile string `protobuf:"bytes,2,opt,name=access_token_file,json=accessTokenFile,proto3" json:"access_token_file,omitempty"` // Access token to the `LightStep <https://lightstep.com/>`_ API. AccessToken *v3.DataSource `protobuf:"bytes,4,opt,name=access_token,json=accessToken,proto3" json:"access_token,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] [#not-implemented-hide:]
func (*LightstepConfig) ClearAccessToken ¶
func (x *LightstepConfig) ClearAccessToken()
func (*LightstepConfig) GetAccessToken ¶
func (x *LightstepConfig) GetAccessToken() *v3.DataSource
func (*LightstepConfig) GetAccessTokenFile
deprecated
func (x *LightstepConfig) GetAccessTokenFile() string
Deprecated: Marked as deprecated in envoy/config/trace/v3/lightstep.proto.
func (*LightstepConfig) GetCollectorCluster ¶
func (x *LightstepConfig) GetCollectorCluster() string
func (*LightstepConfig) GetPropagationModes ¶
func (x *LightstepConfig) GetPropagationModes() []LightstepConfig_PropagationMode
func (*LightstepConfig) HasAccessToken ¶
func (x *LightstepConfig) HasAccessToken() bool
func (*LightstepConfig) ProtoMessage ¶
func (*LightstepConfig) ProtoMessage()
func (*LightstepConfig) ProtoReflect ¶
func (x *LightstepConfig) ProtoReflect() protoreflect.Message
func (*LightstepConfig) Reset ¶
func (x *LightstepConfig) Reset()
func (*LightstepConfig) SetAccessToken ¶
func (x *LightstepConfig) SetAccessToken(v *v3.DataSource)
func (*LightstepConfig) SetAccessTokenFile
deprecated
func (x *LightstepConfig) SetAccessTokenFile(v string)
Deprecated: Marked as deprecated in envoy/config/trace/v3/lightstep.proto.
func (*LightstepConfig) SetCollectorCluster ¶
func (x *LightstepConfig) SetCollectorCluster(v string)
func (*LightstepConfig) SetPropagationModes ¶
func (x *LightstepConfig) SetPropagationModes(v []LightstepConfig_PropagationMode)
func (*LightstepConfig) String ¶
func (x *LightstepConfig) String() string
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) 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 LightstepConfig_builder ¶
type LightstepConfig_builder struct { // The cluster manager cluster that hosts the LightStep collectors. CollectorCluster string // File containing the access token to the `LightStep // <https://lightstep.com/>`_ API. // // Deprecated: Marked as deprecated in envoy/config/trace/v3/lightstep.proto. AccessTokenFile string // Access token to the `LightStep <https://lightstep.com/>`_ API. AccessToken *v3.DataSource // Propagation modes to use by LightStep's tracer. PropagationModes []LightstepConfig_PropagationMode // contains filtered or unexported fields }
func (LightstepConfig_builder) Build ¶
func (b0 LightstepConfig_builder) Build() *LightstepConfig
type OpenCensusConfig ¶
type OpenCensusConfig struct { // Configures tracing, e.g. the sampler, max number of annotations, etc. // // Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto. 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. // // Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto. StdoutExporterEnabled bool `` /* 127-byte string literal not displayed */ // Enables the Stackdriver exporter if set to true. The project_id must also // be set. // // Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto. StackdriverExporterEnabled bool `` /* 142-byte string literal not displayed */ // The Cloud project_id to use for Stackdriver tracing. // // Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto. 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 // // Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto. 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. // // Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto. 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: Marked as deprecated in envoy/config/trace/v3/opencensus.proto. 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: Marked as deprecated in envoy/config/trace/v3/opencensus.proto. 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. // // Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto. 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] // // Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto. 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. // // Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto. 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. // // Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto. IncomingTraceContext []OpenCensusConfig_TraceContext `` /* 188-byte string literal not displayed */ // List of outgoing trace context headers we will produce. // // Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto. 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) ClearOcagentGrpcService
deprecated
func (x *OpenCensusConfig) ClearOcagentGrpcService()
Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto.
func (*OpenCensusConfig) ClearStackdriverGrpcService
deprecated
func (x *OpenCensusConfig) ClearStackdriverGrpcService()
Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto.
func (*OpenCensusConfig) ClearTraceConfig
deprecated
func (x *OpenCensusConfig) ClearTraceConfig()
Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto.
func (*OpenCensusConfig) GetIncomingTraceContext
deprecated
func (x *OpenCensusConfig) GetIncomingTraceContext() []OpenCensusConfig_TraceContext
Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto.
func (*OpenCensusConfig) GetOcagentAddress
deprecated
func (x *OpenCensusConfig) GetOcagentAddress() string
Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto.
func (*OpenCensusConfig) GetOcagentExporterEnabled
deprecated
func (x *OpenCensusConfig) GetOcagentExporterEnabled() bool
Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto.
func (*OpenCensusConfig) GetOcagentGrpcService
deprecated
func (x *OpenCensusConfig) GetOcagentGrpcService() *v3.GrpcService
Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto.
func (*OpenCensusConfig) GetOutgoingTraceContext
deprecated
func (x *OpenCensusConfig) GetOutgoingTraceContext() []OpenCensusConfig_TraceContext
Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto.
func (*OpenCensusConfig) GetStackdriverAddress
deprecated
func (x *OpenCensusConfig) GetStackdriverAddress() string
Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto.
func (*OpenCensusConfig) GetStackdriverExporterEnabled
deprecated
func (x *OpenCensusConfig) GetStackdriverExporterEnabled() bool
Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto.
func (*OpenCensusConfig) GetStackdriverGrpcService
deprecated
func (x *OpenCensusConfig) GetStackdriverGrpcService() *v3.GrpcService
Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto.
func (*OpenCensusConfig) GetStackdriverProjectId
deprecated
func (x *OpenCensusConfig) GetStackdriverProjectId() string
Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto.
func (*OpenCensusConfig) GetStdoutExporterEnabled
deprecated
func (x *OpenCensusConfig) GetStdoutExporterEnabled() bool
Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto.
func (*OpenCensusConfig) GetTraceConfig
deprecated
func (x *OpenCensusConfig) GetTraceConfig() *v1.TraceConfig
Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto.
func (*OpenCensusConfig) GetZipkinExporterEnabled
deprecated
func (x *OpenCensusConfig) GetZipkinExporterEnabled() bool
Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto.
func (*OpenCensusConfig) GetZipkinUrl
deprecated
func (x *OpenCensusConfig) GetZipkinUrl() string
Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto.
func (*OpenCensusConfig) HasOcagentGrpcService
deprecated
func (x *OpenCensusConfig) HasOcagentGrpcService() bool
Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto.
func (*OpenCensusConfig) HasStackdriverGrpcService
deprecated
func (x *OpenCensusConfig) HasStackdriverGrpcService() bool
Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto.
func (*OpenCensusConfig) HasTraceConfig
deprecated
func (x *OpenCensusConfig) HasTraceConfig() bool
Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto.
func (*OpenCensusConfig) ProtoMessage ¶
func (*OpenCensusConfig) ProtoMessage()
func (*OpenCensusConfig) ProtoReflect ¶
func (x *OpenCensusConfig) ProtoReflect() protoreflect.Message
func (*OpenCensusConfig) Reset ¶
func (x *OpenCensusConfig) Reset()
func (*OpenCensusConfig) SetIncomingTraceContext
deprecated
func (x *OpenCensusConfig) SetIncomingTraceContext(v []OpenCensusConfig_TraceContext)
Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto.
func (*OpenCensusConfig) SetOcagentAddress
deprecated
func (x *OpenCensusConfig) SetOcagentAddress(v string)
Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto.
func (*OpenCensusConfig) SetOcagentExporterEnabled
deprecated
func (x *OpenCensusConfig) SetOcagentExporterEnabled(v bool)
Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto.
func (*OpenCensusConfig) SetOcagentGrpcService
deprecated
func (x *OpenCensusConfig) SetOcagentGrpcService(v *v3.GrpcService)
Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto.
func (*OpenCensusConfig) SetOutgoingTraceContext
deprecated
func (x *OpenCensusConfig) SetOutgoingTraceContext(v []OpenCensusConfig_TraceContext)
Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto.
func (*OpenCensusConfig) SetStackdriverAddress
deprecated
func (x *OpenCensusConfig) SetStackdriverAddress(v string)
Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto.
func (*OpenCensusConfig) SetStackdriverExporterEnabled
deprecated
func (x *OpenCensusConfig) SetStackdriverExporterEnabled(v bool)
Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto.
func (*OpenCensusConfig) SetStackdriverGrpcService
deprecated
func (x *OpenCensusConfig) SetStackdriverGrpcService(v *v3.GrpcService)
Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto.
func (*OpenCensusConfig) SetStackdriverProjectId
deprecated
func (x *OpenCensusConfig) SetStackdriverProjectId(v string)
Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto.
func (*OpenCensusConfig) SetStdoutExporterEnabled
deprecated
func (x *OpenCensusConfig) SetStdoutExporterEnabled(v bool)
Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto.
func (*OpenCensusConfig) SetTraceConfig
deprecated
func (x *OpenCensusConfig) SetTraceConfig(v *v1.TraceConfig)
Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto.
func (*OpenCensusConfig) SetZipkinExporterEnabled
deprecated
func (x *OpenCensusConfig) SetZipkinExporterEnabled(v bool)
Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto.
func (*OpenCensusConfig) SetZipkinUrl
deprecated
func (x *OpenCensusConfig) SetZipkinUrl(v string)
Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto.
func (*OpenCensusConfig) String ¶
func (x *OpenCensusConfig) String() string
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) 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 OpenCensusConfig_builder ¶
type OpenCensusConfig_builder struct { // Configures tracing, e.g. the sampler, max number of annotations, etc. // // Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto. TraceConfig *v1.TraceConfig // Enables the stdout exporter if set to true. This is intended for debugging // purposes. // // Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto. StdoutExporterEnabled bool // Enables the Stackdriver exporter if set to true. The project_id must also // be set. // // Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto. StackdriverExporterEnabled bool // The Cloud project_id to use for Stackdriver tracing. // // Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto. StackdriverProjectId string // (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 // // Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto. StackdriverAddress string // (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. // // Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto. StackdriverGrpcService *v3.GrpcService // 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: Marked as deprecated in envoy/config/trace/v3/opencensus.proto. ZipkinExporterEnabled bool // 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: Marked as deprecated in envoy/config/trace/v3/opencensus.proto. ZipkinUrl string // Enables the OpenCensus Agent exporter if set to true. The ocagent_address or // ocagent_grpc_service must also be set. // // Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto. OcagentExporterEnabled bool // 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] // // Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto. OcagentAddress string // (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. // // Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto. OcagentGrpcService *v3.GrpcService // List of incoming trace context headers we will accept. First one found // wins. // // Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto. IncomingTraceContext []OpenCensusConfig_TraceContext // List of outgoing trace context headers we will produce. // // Deprecated: Marked as deprecated in envoy/config/trace/v3/opencensus.proto. OutgoingTraceContext []OpenCensusConfig_TraceContext // contains filtered or unexported fields }
func (OpenCensusConfig_builder) Build ¶
func (b0 OpenCensusConfig_builder) Build() *OpenCensusConfig
type OpenTelemetryConfig ¶
type OpenTelemetryConfig struct { // The upstream gRPC cluster that will receive OTLP traces. // Note that the tracer drops traces if the server does not read data fast enough. // This field can be left empty to disable reporting traces to the gRPC service. // Only one of “grpc_service“, “http_service“ may be used. GrpcService *v3.GrpcService `protobuf:"bytes,1,opt,name=grpc_service,json=grpcService,proto3" json:"grpc_service,omitempty"` // The upstream HTTP cluster that will receive OTLP traces. // This field can be left empty to disable reporting traces to the HTTP service. // Only one of “grpc_service“, “http_service“ may be used. // // .. note:: // // Note: The “request_headers_to_add“ property in the OTLP HTTP exporter service // does not support the :ref:`format specifier <config_access_log_format>` as used for // :ref:`HTTP access logging <config_access_log>`. // The values configured are added as HTTP headers on the OTLP export request // without any formatting applied. HttpService *v3.HttpService `protobuf:"bytes,3,opt,name=http_service,json=httpService,proto3" json:"http_service,omitempty"` // The name for the service. This will be populated in the ResourceSpan Resource attributes. // If it is not provided, it will default to "unknown_service:envoy". ServiceName string `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` // An ordered list of resource detectors // [#extension-category: envoy.tracers.opentelemetry.resource_detectors] ResourceDetectors []*v3.TypedExtensionConfig `protobuf:"bytes,4,rep,name=resource_detectors,json=resourceDetectors,proto3" json:"resource_detectors,omitempty"` // Specifies the sampler to be used by the OpenTelemetry tracer. // The configured sampler implements the Sampler interface defined by the OpenTelemetry specification. // This field can be left empty. In this case, the default Envoy sampling decision is used. // // See: `OpenTelemetry sampler specification <https://opentelemetry.io/docs/specs/otel/trace/sdk/#sampler>`_ // [#extension-category: envoy.tracers.opentelemetry.samplers] Sampler *v3.TypedExtensionConfig `protobuf:"bytes,5,opt,name=sampler,proto3" json:"sampler,omitempty"` // contains filtered or unexported fields }
Configuration for the OpenTelemetry tracer.
[#extension: envoy.tracers.opentelemetry]
[#next-free-field: 6]
func (*OpenTelemetryConfig) ClearGrpcService ¶
func (x *OpenTelemetryConfig) ClearGrpcService()
func (*OpenTelemetryConfig) ClearHttpService ¶
func (x *OpenTelemetryConfig) ClearHttpService()
func (*OpenTelemetryConfig) ClearSampler ¶
func (x *OpenTelemetryConfig) ClearSampler()
func (*OpenTelemetryConfig) GetGrpcService ¶
func (x *OpenTelemetryConfig) GetGrpcService() *v3.GrpcService
func (*OpenTelemetryConfig) GetHttpService ¶
func (x *OpenTelemetryConfig) GetHttpService() *v3.HttpService
func (*OpenTelemetryConfig) GetResourceDetectors ¶
func (x *OpenTelemetryConfig) GetResourceDetectors() []*v3.TypedExtensionConfig
func (*OpenTelemetryConfig) GetSampler ¶
func (x *OpenTelemetryConfig) GetSampler() *v3.TypedExtensionConfig
func (*OpenTelemetryConfig) GetServiceName ¶
func (x *OpenTelemetryConfig) GetServiceName() string
func (*OpenTelemetryConfig) HasGrpcService ¶
func (x *OpenTelemetryConfig) HasGrpcService() bool
func (*OpenTelemetryConfig) HasHttpService ¶
func (x *OpenTelemetryConfig) HasHttpService() bool
func (*OpenTelemetryConfig) HasSampler ¶
func (x *OpenTelemetryConfig) HasSampler() bool
func (*OpenTelemetryConfig) ProtoMessage ¶
func (*OpenTelemetryConfig) ProtoMessage()
func (*OpenTelemetryConfig) ProtoReflect ¶
func (x *OpenTelemetryConfig) ProtoReflect() protoreflect.Message
func (*OpenTelemetryConfig) Reset ¶
func (x *OpenTelemetryConfig) Reset()
func (*OpenTelemetryConfig) SetGrpcService ¶
func (x *OpenTelemetryConfig) SetGrpcService(v *v3.GrpcService)
func (*OpenTelemetryConfig) SetHttpService ¶
func (x *OpenTelemetryConfig) SetHttpService(v *v3.HttpService)
func (*OpenTelemetryConfig) SetResourceDetectors ¶
func (x *OpenTelemetryConfig) SetResourceDetectors(v []*v3.TypedExtensionConfig)
func (*OpenTelemetryConfig) SetSampler ¶
func (x *OpenTelemetryConfig) SetSampler(v *v3.TypedExtensionConfig)
func (*OpenTelemetryConfig) SetServiceName ¶
func (x *OpenTelemetryConfig) SetServiceName(v string)
func (*OpenTelemetryConfig) String ¶
func (x *OpenTelemetryConfig) String() string
type OpenTelemetryConfig_builder ¶
type OpenTelemetryConfig_builder struct { // The upstream gRPC cluster that will receive OTLP traces. // Note that the tracer drops traces if the server does not read data fast enough. // This field can be left empty to disable reporting traces to the gRPC service. // Only one of “grpc_service“, “http_service“ may be used. GrpcService *v3.GrpcService // The upstream HTTP cluster that will receive OTLP traces. // This field can be left empty to disable reporting traces to the HTTP service. // Only one of “grpc_service“, “http_service“ may be used. // // .. note:: // // Note: The “request_headers_to_add“ property in the OTLP HTTP exporter service // does not support the :ref:`format specifier <config_access_log_format>` as used for // :ref:`HTTP access logging <config_access_log>`. // The values configured are added as HTTP headers on the OTLP export request // without any formatting applied. HttpService *v3.HttpService // The name for the service. This will be populated in the ResourceSpan Resource attributes. // If it is not provided, it will default to "unknown_service:envoy". ServiceName string // An ordered list of resource detectors // [#extension-category: envoy.tracers.opentelemetry.resource_detectors] ResourceDetectors []*v3.TypedExtensionConfig // Specifies the sampler to be used by the OpenTelemetry tracer. // The configured sampler implements the Sampler interface defined by the OpenTelemetry specification. // This field can be left empty. In this case, the default Envoy sampling decision is used. // // See: `OpenTelemetry sampler specification <https://opentelemetry.io/docs/specs/otel/trace/sdk/#sampler>`_ // [#extension-category: envoy.tracers.opentelemetry.samplers] Sampler *v3.TypedExtensionConfig // contains filtered or unexported fields }
func (OpenTelemetryConfig_builder) Build ¶
func (b0 OpenTelemetryConfig_builder) Build() *OpenTelemetryConfig
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 tracing, then :ref:`spawn_upstream_span <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.spawn_upstream_span>` in the tracing config 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) ClearClientConfig ¶
func (x *SkyWalkingConfig) ClearClientConfig()
func (*SkyWalkingConfig) ClearGrpcService ¶
func (x *SkyWalkingConfig) ClearGrpcService()
func (*SkyWalkingConfig) GetClientConfig ¶
func (x *SkyWalkingConfig) GetClientConfig() *ClientConfig
func (*SkyWalkingConfig) GetGrpcService ¶
func (x *SkyWalkingConfig) GetGrpcService() *v3.GrpcService
func (*SkyWalkingConfig) HasClientConfig ¶
func (x *SkyWalkingConfig) HasClientConfig() bool
func (*SkyWalkingConfig) HasGrpcService ¶
func (x *SkyWalkingConfig) HasGrpcService() bool
func (*SkyWalkingConfig) ProtoMessage ¶
func (*SkyWalkingConfig) ProtoMessage()
func (*SkyWalkingConfig) ProtoReflect ¶
func (x *SkyWalkingConfig) ProtoReflect() protoreflect.Message
func (*SkyWalkingConfig) Reset ¶
func (x *SkyWalkingConfig) Reset()
func (*SkyWalkingConfig) SetClientConfig ¶
func (x *SkyWalkingConfig) SetClientConfig(v *ClientConfig)
func (*SkyWalkingConfig) SetGrpcService ¶
func (x *SkyWalkingConfig) SetGrpcService(v *v3.GrpcService)
func (*SkyWalkingConfig) String ¶
func (x *SkyWalkingConfig) String() string
type SkyWalkingConfig_builder ¶
type SkyWalkingConfig_builder struct { // SkyWalking collector service. GrpcService *v3.GrpcService ClientConfig *ClientConfig // contains filtered or unexported fields }
func (SkyWalkingConfig_builder) Build ¶
func (b0 SkyWalkingConfig_builder) Build() *SkyWalkingConfig
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) ClearGrpcService ¶
func (x *TraceServiceConfig) ClearGrpcService()
func (*TraceServiceConfig) GetGrpcService ¶
func (x *TraceServiceConfig) GetGrpcService() *v3.GrpcService
func (*TraceServiceConfig) HasGrpcService ¶
func (x *TraceServiceConfig) HasGrpcService() bool
func (*TraceServiceConfig) ProtoMessage ¶
func (*TraceServiceConfig) ProtoMessage()
func (*TraceServiceConfig) ProtoReflect ¶
func (x *TraceServiceConfig) ProtoReflect() protoreflect.Message
func (*TraceServiceConfig) Reset ¶
func (x *TraceServiceConfig) Reset()
func (*TraceServiceConfig) SetGrpcService ¶
func (x *TraceServiceConfig) SetGrpcService(v *v3.GrpcService)
func (*TraceServiceConfig) String ¶
func (x *TraceServiceConfig) String() string
type TraceServiceConfig_builder ¶
type TraceServiceConfig_builder struct { // The upstream gRPC cluster that hosts the metrics service. GrpcService *v3.GrpcService // contains filtered or unexported fields }
func (TraceServiceConfig_builder) Build ¶
func (b0 TraceServiceConfig_builder) Build() *TraceServiceConfig
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) GetHttp ¶
func (x *Tracing) GetHttp() *Tracing_Http
func (*Tracing) ProtoReflect ¶
func (x *Tracing) ProtoReflect() protoreflect.Message
func (*Tracing) SetHttp ¶
func (x *Tracing) SetHttp(v *Tracing_Http)
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 valid to be assigned 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) ClearConfigType ¶
func (x *Tracing_Http) ClearConfigType()
func (*Tracing_Http) ClearTypedConfig ¶
func (x *Tracing_Http) ClearTypedConfig()
func (*Tracing_Http) GetConfigType ¶
func (x *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() *anypb.Any
func (*Tracing_Http) HasConfigType ¶
func (x *Tracing_Http) HasConfigType() bool
func (*Tracing_Http) HasTypedConfig ¶
func (x *Tracing_Http) HasTypedConfig() bool
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) SetName ¶
func (x *Tracing_Http) SetName(v string)
func (*Tracing_Http) SetTypedConfig ¶
func (x *Tracing_Http) SetTypedConfig(v *anypb.Any)
func (*Tracing_Http) String ¶
func (x *Tracing_Http) String() string
func (*Tracing_Http) WhichConfigType ¶
func (x *Tracing_Http) WhichConfigType() case_Tracing_Http_ConfigType
type Tracing_Http_TypedConfig ¶
type Tracing_Http_builder ¶
type Tracing_Http_builder 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 // Fields of oneof ConfigType: TypedConfig *anypb.Any // contains filtered or unexported fields }
func (Tracing_Http_builder) Build ¶
func (b0 Tracing_Http_builder) Build() *Tracing_Http
type Tracing_builder ¶
type Tracing_builder struct { // Provides configuration for the HTTP tracer. Http *Tracing_Http // contains filtered or unexported fields }
func (Tracing_builder) Build ¶
func (b0 Tracing_builder) Build() *Tracing
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) ClearDaemonEndpoint ¶
func (x *XRayConfig) ClearDaemonEndpoint()
func (*XRayConfig) ClearSamplingRuleManifest ¶
func (x *XRayConfig) ClearSamplingRuleManifest()
func (*XRayConfig) ClearSegmentFields ¶
func (x *XRayConfig) ClearSegmentFields()
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) HasDaemonEndpoint ¶
func (x *XRayConfig) HasDaemonEndpoint() bool
func (*XRayConfig) HasSamplingRuleManifest ¶
func (x *XRayConfig) HasSamplingRuleManifest() bool
func (*XRayConfig) HasSegmentFields ¶
func (x *XRayConfig) HasSegmentFields() bool
func (*XRayConfig) ProtoMessage ¶
func (*XRayConfig) ProtoMessage()
func (*XRayConfig) ProtoReflect ¶
func (x *XRayConfig) ProtoReflect() protoreflect.Message
func (*XRayConfig) Reset ¶
func (x *XRayConfig) Reset()
func (*XRayConfig) SetDaemonEndpoint ¶
func (x *XRayConfig) SetDaemonEndpoint(v *v3.SocketAddress)
func (*XRayConfig) SetSamplingRuleManifest ¶
func (x *XRayConfig) SetSamplingRuleManifest(v *v3.DataSource)
func (*XRayConfig) SetSegmentFields ¶
func (x *XRayConfig) SetSegmentFields(v *XRayConfig_SegmentFields)
func (*XRayConfig) SetSegmentName ¶
func (x *XRayConfig) SetSegmentName(v string)
func (*XRayConfig) String ¶
func (x *XRayConfig) String() string
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 *structpb.Struct `protobuf:"bytes,2,opt,name=aws,proto3" json:"aws,omitempty"` // contains filtered or unexported fields }
func (*XRayConfig_SegmentFields) ClearAws ¶
func (x *XRayConfig_SegmentFields) ClearAws()
func (*XRayConfig_SegmentFields) GetAws ¶
func (x *XRayConfig_SegmentFields) GetAws() *structpb.Struct
func (*XRayConfig_SegmentFields) GetOrigin ¶
func (x *XRayConfig_SegmentFields) GetOrigin() string
func (*XRayConfig_SegmentFields) HasAws ¶
func (x *XRayConfig_SegmentFields) HasAws() bool
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) SetAws ¶
func (x *XRayConfig_SegmentFields) SetAws(v *structpb.Struct)
func (*XRayConfig_SegmentFields) SetOrigin ¶
func (x *XRayConfig_SegmentFields) SetOrigin(v string)
func (*XRayConfig_SegmentFields) String ¶
func (x *XRayConfig_SegmentFields) String() string
type XRayConfig_SegmentFields_builder ¶
type XRayConfig_SegmentFields_builder struct { // The type of AWS resource, e.g. "AWS::AppMesh::Proxy". Origin string // 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 *structpb.Struct // contains filtered or unexported fields }
func (XRayConfig_SegmentFields_builder) Build ¶
func (b0 XRayConfig_SegmentFields_builder) Build() *XRayConfig_SegmentFields
type XRayConfig_builder ¶
type XRayConfig_builder 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 // The name of the X-Ray segment. SegmentName string // 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 // 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 // contains filtered or unexported fields }
func (XRayConfig_builder) Build ¶
func (b0 XRayConfig_builder) Build() *XRayConfig
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. 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 *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=shared_span_context,json=sharedSpanContext,proto3" json:"shared_span_context,omitempty"` // Determines the selected collector endpoint version. 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"` // If this is set to true, then Envoy will be treated as an independent hop in trace chain. A complete span pair will be created for a single // request. Server span will be created for the downstream request and client span will be created for the related upstream request. // This should be set to true in the following cases: // // * The Envoy Proxy is used as gateway or ingress. // * The Envoy Proxy is used as sidecar but inbound traffic capturing or outbound traffic capturing is disabled. // * Any case that the :ref:`start_child_span of router <envoy_v3_api_field_extensions.filters.http.router.v3.Router.start_child_span>` is set to true. // // .. attention:: // // If this is set to true, then the // :ref:`start_child_span of router <envoy_v3_api_field_extensions.filters.http.router.v3.Router.start_child_span>` // SHOULD be set to true also to ensure the correctness of trace chain. SplitSpansForRequest bool `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
Configuration for the Zipkin tracer. [#extension: envoy.tracers.zipkin] [#next-free-field: 8]
func (*ZipkinConfig) ClearSharedSpanContext ¶
func (x *ZipkinConfig) ClearSharedSpanContext()
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() *wrapperspb.BoolValue
func (*ZipkinConfig) GetSplitSpansForRequest ¶
func (x *ZipkinConfig) GetSplitSpansForRequest() bool
func (*ZipkinConfig) GetTraceId_128Bit ¶
func (x *ZipkinConfig) GetTraceId_128Bit() bool
func (*ZipkinConfig) HasSharedSpanContext ¶
func (x *ZipkinConfig) HasSharedSpanContext() 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) SetCollectorCluster ¶
func (x *ZipkinConfig) SetCollectorCluster(v string)
func (*ZipkinConfig) SetCollectorEndpoint ¶
func (x *ZipkinConfig) SetCollectorEndpoint(v string)
func (*ZipkinConfig) SetCollectorEndpointVersion ¶
func (x *ZipkinConfig) SetCollectorEndpointVersion(v ZipkinConfig_CollectorEndpointVersion)
func (*ZipkinConfig) SetCollectorHostname ¶
func (x *ZipkinConfig) SetCollectorHostname(v string)
func (*ZipkinConfig) SetSharedSpanContext ¶
func (x *ZipkinConfig) SetSharedSpanContext(v *wrapperspb.BoolValue)
func (*ZipkinConfig) SetSplitSpansForRequest ¶
func (x *ZipkinConfig) SetSplitSpansForRequest(v bool)
func (*ZipkinConfig) SetTraceId_128Bit ¶
func (x *ZipkinConfig) SetTraceId_128Bit(v bool)
func (*ZipkinConfig) String ¶
func (x *ZipkinConfig) String() string
type ZipkinConfig_CollectorEndpointVersion ¶
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: Marked as deprecated in envoy/config/trace/v3/zipkin.proto. ZipkinConfig_DEPRECATED_AND_UNAVAILABLE_DO_NOT_USE 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) Enum ¶
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
type ZipkinConfig_builder ¶
type ZipkinConfig_builder struct { // The cluster manager cluster that hosts the Zipkin collectors. CollectorCluster string // The API endpoint of the Zipkin service where the spans will be sent. When // using a standard Zipkin installation. CollectorEndpoint string // 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 // The default value is true. SharedSpanContext *wrapperspb.BoolValue // Determines the selected collector endpoint version. CollectorEndpointVersion ZipkinConfig_CollectorEndpointVersion // 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 // If this is set to true, then Envoy will be treated as an independent hop in trace chain. A complete span pair will be created for a single // request. Server span will be created for the downstream request and client span will be created for the related upstream request. // This should be set to true in the following cases: // // * The Envoy Proxy is used as gateway or ingress. // * The Envoy Proxy is used as sidecar but inbound traffic capturing or outbound traffic capturing is disabled. // * Any case that the :ref:`start_child_span of router <envoy_v3_api_field_extensions.filters.http.router.v3.Router.start_child_span>` is set to true. // // .. attention:: // // If this is set to true, then the // :ref:`start_child_span of router <envoy_v3_api_field_extensions.filters.http.router.v3.Router.start_child_span>` // SHOULD be set to true also to ensure the correctness of trace chain. SplitSpansForRequest bool // contains filtered or unexported fields }
func (ZipkinConfig_builder) Build ¶
func (b0 ZipkinConfig_builder) Build() *ZipkinConfig