Documentation
¶
Index ¶
- Variables
- type DatadogConfig
- func (m *DatadogConfig) Clone() proto.Message
- func (*DatadogConfig) Descriptor() ([]byte, []int)deprecated
- func (m *DatadogConfig) Equal(that interface{}) bool
- func (x *DatadogConfig) GetClusterName() string
- func (m *DatadogConfig) GetCollectorCluster() isDatadogConfig_CollectorCluster
- func (x *DatadogConfig) GetCollectorUpstreamRef() *core.ResourceRef
- func (x *DatadogConfig) GetServiceName() *wrappers.StringValue
- func (m *DatadogConfig) Hash(hasher hash.Hash64) (uint64, error)
- func (*DatadogConfig) ProtoMessage()
- func (x *DatadogConfig) ProtoReflect() protoreflect.Message
- func (x *DatadogConfig) Reset()
- func (x *DatadogConfig) String() string
- type DatadogConfig_ClusterName
- type DatadogConfig_CollectorUpstreamRef
- type OpenTelemetryConfig
- func (m *OpenTelemetryConfig) Clone() proto.Message
- func (*OpenTelemetryConfig) Descriptor() ([]byte, []int)deprecated
- func (m *OpenTelemetryConfig) Equal(that interface{}) bool
- func (x *OpenTelemetryConfig) GetClusterName() string
- func (m *OpenTelemetryConfig) GetCollectorCluster() isOpenTelemetryConfig_CollectorCluster
- func (x *OpenTelemetryConfig) GetCollectorUpstreamRef() *core.ResourceRef
- func (m *OpenTelemetryConfig) Hash(hasher hash.Hash64) (uint64, error)
- func (*OpenTelemetryConfig) ProtoMessage()
- func (x *OpenTelemetryConfig) ProtoReflect() protoreflect.Message
- func (x *OpenTelemetryConfig) Reset()
- func (x *OpenTelemetryConfig) String() string
- type OpenTelemetryConfig_ClusterName
- type OpenTelemetryConfig_CollectorUpstreamRef
- type ZipkinConfig
- func (m *ZipkinConfig) Clone() proto.Message
- func (*ZipkinConfig) Descriptor() ([]byte, []int)deprecated
- func (m *ZipkinConfig) Equal(that interface{}) bool
- func (x *ZipkinConfig) GetClusterName() string
- func (m *ZipkinConfig) GetCollectorCluster() isZipkinConfig_CollectorCluster
- func (x *ZipkinConfig) GetCollectorEndpoint() string
- func (x *ZipkinConfig) GetCollectorEndpointVersion() ZipkinConfig_CollectorEndpointVersion
- func (x *ZipkinConfig) GetCollectorUpstreamRef() *core.ResourceRef
- func (x *ZipkinConfig) GetSharedSpanContext() *wrappers.BoolValue
- func (x *ZipkinConfig) GetTraceId_128Bit() *wrappers.BoolValue
- func (m *ZipkinConfig) Hash(hasher hash.Hash64) (uint64, error)
- func (*ZipkinConfig) ProtoMessage()
- func (x *ZipkinConfig) ProtoReflect() protoreflect.Message
- func (x *ZipkinConfig) Reset()
- func (x *ZipkinConfig) String() string
- type ZipkinConfig_ClusterName
- 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
- type ZipkinConfig_CollectorUpstreamRef
Constants ¶
This section is empty.
Variables ¶
var ( ZipkinConfig_CollectorEndpointVersion_name = map[int32]string{ 0: "DEPRECATED_AND_UNAVAILABLE_DO_NOT_USE", 1: "HTTP_JSON", 2: "HTTP_PROTO", } ZipkinConfig_CollectorEndpointVersion_value = map[string]int32{ "DEPRECATED_AND_UNAVAILABLE_DO_NOT_USE": 0, "HTTP_JSON": 1, "HTTP_PROTO": 2, } )
Enum value maps for ZipkinConfig_CollectorEndpointVersion.
var File_github_com_solo_io_gloo_projects_gloo_api_external_envoy_config_trace_v3_datadog_proto protoreflect.FileDescriptor
var File_github_com_solo_io_gloo_projects_gloo_api_external_envoy_config_trace_v3_opentelemetry_proto protoreflect.FileDescriptor
var File_github_com_solo_io_gloo_projects_gloo_api_external_envoy_config_trace_v3_zipkin_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DatadogConfig ¶
type DatadogConfig struct { // The cluster to use for submitting traces to the Datadog agent. // // Types that are assignable to CollectorCluster: // *DatadogConfig_CollectorUpstreamRef // *DatadogConfig_ClusterName CollectorCluster isDatadogConfig_CollectorCluster `protobuf_oneof:"collector_cluster"` // The name used for the service when traces are generated by envoy. ServiceName *wrappers.StringValue `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) Clone ¶ added in v1.8.24
func (m *DatadogConfig) Clone() proto.Message
Clone function
func (*DatadogConfig) Descriptor
deprecated
func (*DatadogConfig) Descriptor() ([]byte, []int)
Deprecated: Use DatadogConfig.ProtoReflect.Descriptor instead.
func (*DatadogConfig) GetClusterName ¶
func (x *DatadogConfig) GetClusterName() string
func (*DatadogConfig) GetCollectorCluster ¶
func (m *DatadogConfig) GetCollectorCluster() isDatadogConfig_CollectorCluster
func (*DatadogConfig) GetCollectorUpstreamRef ¶
func (x *DatadogConfig) GetCollectorUpstreamRef() *core.ResourceRef
func (*DatadogConfig) GetServiceName ¶
func (x *DatadogConfig) GetServiceName() *wrappers.StringValue
func (*DatadogConfig) Hash ¶
func (m *DatadogConfig) Hash(hasher hash.Hash64) (uint64, error)
Hash function
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
type DatadogConfig_ClusterName ¶
type DatadogConfig_ClusterName struct { // The name of the cluster to use for submitting traces to the Datadog agent. Note that the // cluster must be defined in the :ref:`Bootstrap static cluster // resources <envoy_api_field_config.bootstrap.v3.Bootstrap.StaticResources.clusters>`. ClusterName string `protobuf:"bytes,3,opt,name=cluster_name,json=clusterName,proto3,oneof"` }
type DatadogConfig_CollectorUpstreamRef ¶
type DatadogConfig_CollectorUpstreamRef struct { // The upstream to use for submitting traces to the Datadog agent. CollectorUpstreamRef *core.ResourceRef `protobuf:"bytes,1,opt,name=collector_upstream_ref,json=collectorUpstreamRef,proto3,oneof"` }
type OpenTelemetryConfig ¶ added in v1.12.36
type OpenTelemetryConfig struct { // The cluster to use for submitting traces to the OpenTelemetry agent. // // Types that are assignable to CollectorCluster: // *OpenTelemetryConfig_CollectorUpstreamRef // *OpenTelemetryConfig_ClusterName CollectorCluster isOpenTelemetryConfig_CollectorCluster `protobuf_oneof:"collector_cluster"` // contains filtered or unexported fields }
Configuration for the OpenTelemetry tracer. [#extension: envoy.tracers.opentelemetry]
func (*OpenTelemetryConfig) Clone ¶ added in v1.12.36
func (m *OpenTelemetryConfig) Clone() proto.Message
Clone function
func (*OpenTelemetryConfig) Descriptor
deprecated
added in
v1.12.36
func (*OpenTelemetryConfig) Descriptor() ([]byte, []int)
Deprecated: Use OpenTelemetryConfig.ProtoReflect.Descriptor instead.
func (*OpenTelemetryConfig) Equal ¶ added in v1.12.36
func (m *OpenTelemetryConfig) Equal(that interface{}) bool
Equal function
func (*OpenTelemetryConfig) GetClusterName ¶ added in v1.12.36
func (x *OpenTelemetryConfig) GetClusterName() string
func (*OpenTelemetryConfig) GetCollectorCluster ¶ added in v1.12.36
func (m *OpenTelemetryConfig) GetCollectorCluster() isOpenTelemetryConfig_CollectorCluster
func (*OpenTelemetryConfig) GetCollectorUpstreamRef ¶ added in v1.12.36
func (x *OpenTelemetryConfig) GetCollectorUpstreamRef() *core.ResourceRef
func (*OpenTelemetryConfig) Hash ¶ added in v1.12.36
func (m *OpenTelemetryConfig) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*OpenTelemetryConfig) ProtoMessage ¶ added in v1.12.36
func (*OpenTelemetryConfig) ProtoMessage()
func (*OpenTelemetryConfig) ProtoReflect ¶ added in v1.12.36
func (x *OpenTelemetryConfig) ProtoReflect() protoreflect.Message
func (*OpenTelemetryConfig) Reset ¶ added in v1.12.36
func (x *OpenTelemetryConfig) Reset()
func (*OpenTelemetryConfig) String ¶ added in v1.12.36
func (x *OpenTelemetryConfig) String() string
type OpenTelemetryConfig_ClusterName ¶ added in v1.12.36
type OpenTelemetryConfig_ClusterName struct { // The name of the Envoy cluster to use for submitting traces to the // OpenTelemetry agent ClusterName string `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3,oneof"` }
type OpenTelemetryConfig_CollectorUpstreamRef ¶ added in v1.12.36
type OpenTelemetryConfig_CollectorUpstreamRef struct { // The upstream to use for submitting traces to the OpenTelemetry agent. CollectorUpstreamRef *core.ResourceRef `protobuf:"bytes,1,opt,name=collector_upstream_ref,json=collectorUpstreamRef,proto3,oneof"` }
type ZipkinConfig ¶
type ZipkinConfig struct { // The cluster that hosts the Zipkin collectors. // // Types that are assignable to CollectorCluster: // *ZipkinConfig_CollectorUpstreamRef // *ZipkinConfig_ClusterName CollectorCluster isZipkinConfig_CollectorCluster `protobuf_oneof:"collector_cluster"` // 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 *wrappers.BoolValue `protobuf:"bytes,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 `` /* 209-byte string literal not displayed */ // contains filtered or unexported fields }
Configuration for the Zipkin tracer. [#extension: envoy.tracers.zipkin] [#next-free-field: 6]
func (*ZipkinConfig) Clone ¶ added in v1.8.24
func (m *ZipkinConfig) Clone() proto.Message
Clone function
func (*ZipkinConfig) Descriptor
deprecated
func (*ZipkinConfig) Descriptor() ([]byte, []int)
Deprecated: Use ZipkinConfig.ProtoReflect.Descriptor instead.
func (*ZipkinConfig) GetClusterName ¶
func (x *ZipkinConfig) GetClusterName() string
func (*ZipkinConfig) GetCollectorCluster ¶
func (m *ZipkinConfig) GetCollectorCluster() isZipkinConfig_CollectorCluster
func (*ZipkinConfig) GetCollectorEndpoint ¶
func (x *ZipkinConfig) GetCollectorEndpoint() string
func (*ZipkinConfig) GetCollectorEndpointVersion ¶
func (x *ZipkinConfig) GetCollectorEndpointVersion() ZipkinConfig_CollectorEndpointVersion
func (*ZipkinConfig) GetCollectorUpstreamRef ¶
func (x *ZipkinConfig) GetCollectorUpstreamRef() *core.ResourceRef
func (*ZipkinConfig) GetSharedSpanContext ¶
func (x *ZipkinConfig) GetSharedSpanContext() *wrappers.BoolValue
func (*ZipkinConfig) GetTraceId_128Bit ¶
func (x *ZipkinConfig) GetTraceId_128Bit() *wrappers.BoolValue
func (*ZipkinConfig) Hash ¶
func (m *ZipkinConfig) Hash(hasher hash.Hash64) (uint64, error)
Hash function
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
type ZipkinConfig_ClusterName ¶
type ZipkinConfig_ClusterName struct { // The name of the cluster that hosts the Zipkin collectors. Note that the // Zipkin cluster must be defined in the :ref:`Bootstrap static cluster // resources <envoy_api_field_config.bootstrap.v3.Bootstrap.StaticResources.clusters>`. ClusterName string `protobuf:"bytes,6,opt,name=cluster_name,json=clusterName,proto3,oneof"` }
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: Do not use. 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 )
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
type ZipkinConfig_CollectorUpstreamRef ¶
type ZipkinConfig_CollectorUpstreamRef struct { // The upstream that hosts the Zipkin collectors. CollectorUpstreamRef *core.ResourceRef `protobuf:"bytes,1,opt,name=collector_upstream_ref,json=collectorUpstreamRef,proto3,oneof"` }