Documentation ¶
Index ¶
- Variables
- type ListenerTracingSettings
- func (m *ListenerTracingSettings) Clone() proto.Message
- func (*ListenerTracingSettings) Descriptor() ([]byte, []int)deprecated
- func (m *ListenerTracingSettings) Equal(that interface{}) bool
- func (x *ListenerTracingSettings) GetDatadogConfig() *v3.DatadogConfig
- func (x *ListenerTracingSettings) GetEnvironmentVariablesForTags() []*TracingTagEnvironmentVariable
- func (x *ListenerTracingSettings) GetLiteralsForTags() []*TracingTagLiteral
- func (x *ListenerTracingSettings) GetMetadataForTags() []*TracingTagMetadata
- func (x *ListenerTracingSettings) GetOpenCensusConfig() *v3.OpenCensusConfig
- func (x *ListenerTracingSettings) GetOpenTelemetryConfig() *v3.OpenTelemetryConfig
- func (m *ListenerTracingSettings) GetProviderConfig() isListenerTracingSettings_ProviderConfig
- func (x *ListenerTracingSettings) GetRequestHeadersForTags() []*wrapperspb.StringValue
- func (x *ListenerTracingSettings) GetSpawnUpstreamSpan() bool
- func (x *ListenerTracingSettings) GetTracePercentages() *TracePercentages
- func (x *ListenerTracingSettings) GetVerbose() *wrapperspb.BoolValue
- func (x *ListenerTracingSettings) GetZipkinConfig() *v3.ZipkinConfig
- func (m *ListenerTracingSettings) Hash(hasher hash.Hash64) (uint64, error)deprecated
- func (m *ListenerTracingSettings) HashUnique(hasher hash.Hash64) (uint64, error)
- func (*ListenerTracingSettings) ProtoMessage()
- func (x *ListenerTracingSettings) ProtoReflect() protoreflect.Message
- func (x *ListenerTracingSettings) Reset()
- func (x *ListenerTracingSettings) String() string
- type ListenerTracingSettings_DatadogConfig
- type ListenerTracingSettings_OpenCensusConfig
- type ListenerTracingSettings_OpenTelemetryConfig
- type ListenerTracingSettings_ZipkinConfig
- type RouteTracingSettings
- func (m *RouteTracingSettings) Clone() proto.Message
- func (*RouteTracingSettings) Descriptor() ([]byte, []int)deprecated
- func (m *RouteTracingSettings) Equal(that interface{}) bool
- func (x *RouteTracingSettings) GetPropagate() *wrapperspb.BoolValue
- func (x *RouteTracingSettings) GetRouteDescriptor() string
- func (x *RouteTracingSettings) GetTracePercentages() *TracePercentages
- func (m *RouteTracingSettings) Hash(hasher hash.Hash64) (uint64, error)deprecated
- func (m *RouteTracingSettings) HashUnique(hasher hash.Hash64) (uint64, error)
- func (*RouteTracingSettings) ProtoMessage()
- func (x *RouteTracingSettings) ProtoReflect() protoreflect.Message
- func (x *RouteTracingSettings) Reset()
- func (x *RouteTracingSettings) String() string
- type TracePercentages
- func (m *TracePercentages) Clone() proto.Message
- func (*TracePercentages) Descriptor() ([]byte, []int)deprecated
- func (m *TracePercentages) Equal(that interface{}) bool
- func (x *TracePercentages) GetClientSamplePercentage() *wrapperspb.FloatValue
- func (x *TracePercentages) GetOverallSamplePercentage() *wrapperspb.FloatValue
- func (x *TracePercentages) GetRandomSamplePercentage() *wrapperspb.FloatValue
- func (m *TracePercentages) Hash(hasher hash.Hash64) (uint64, error)deprecated
- func (m *TracePercentages) HashUnique(hasher hash.Hash64) (uint64, error)
- func (*TracePercentages) ProtoMessage()
- func (x *TracePercentages) ProtoReflect() protoreflect.Message
- func (x *TracePercentages) Reset()
- func (x *TracePercentages) String() string
- type TracingTagEnvironmentVariable
- func (m *TracingTagEnvironmentVariable) Clone() proto.Message
- func (*TracingTagEnvironmentVariable) Descriptor() ([]byte, []int)deprecated
- func (m *TracingTagEnvironmentVariable) Equal(that interface{}) bool
- func (x *TracingTagEnvironmentVariable) GetDefaultValue() *wrapperspb.StringValue
- func (x *TracingTagEnvironmentVariable) GetName() *wrapperspb.StringValue
- func (x *TracingTagEnvironmentVariable) GetTag() *wrapperspb.StringValue
- func (m *TracingTagEnvironmentVariable) Hash(hasher hash.Hash64) (uint64, error)deprecated
- func (m *TracingTagEnvironmentVariable) HashUnique(hasher hash.Hash64) (uint64, error)
- func (*TracingTagEnvironmentVariable) ProtoMessage()
- func (x *TracingTagEnvironmentVariable) ProtoReflect() protoreflect.Message
- func (x *TracingTagEnvironmentVariable) Reset()
- func (x *TracingTagEnvironmentVariable) String() string
- type TracingTagLiteral
- func (m *TracingTagLiteral) Clone() proto.Message
- func (*TracingTagLiteral) Descriptor() ([]byte, []int)deprecated
- func (m *TracingTagLiteral) Equal(that interface{}) bool
- func (x *TracingTagLiteral) GetTag() *wrapperspb.StringValue
- func (x *TracingTagLiteral) GetValue() *wrapperspb.StringValue
- func (m *TracingTagLiteral) Hash(hasher hash.Hash64) (uint64, error)deprecated
- func (m *TracingTagLiteral) HashUnique(hasher hash.Hash64) (uint64, error)
- func (*TracingTagLiteral) ProtoMessage()
- func (x *TracingTagLiteral) ProtoReflect() protoreflect.Message
- func (x *TracingTagLiteral) Reset()
- func (x *TracingTagLiteral) String() string
- type TracingTagMetadata
- func (m *TracingTagMetadata) Clone() proto.Message
- func (*TracingTagMetadata) Descriptor() ([]byte, []int)deprecated
- func (m *TracingTagMetadata) Equal(that interface{}) bool
- func (x *TracingTagMetadata) GetDefaultValue() string
- func (x *TracingTagMetadata) GetKind() TracingTagMetadata_Kind
- func (x *TracingTagMetadata) GetTag() string
- func (x *TracingTagMetadata) GetValue() *TracingTagMetadata_MetadataValue
- func (m *TracingTagMetadata) Hash(hasher hash.Hash64) (uint64, error)deprecated
- func (m *TracingTagMetadata) HashUnique(hasher hash.Hash64) (uint64, error)
- func (*TracingTagMetadata) ProtoMessage()
- func (x *TracingTagMetadata) ProtoReflect() protoreflect.Message
- func (x *TracingTagMetadata) Reset()
- func (x *TracingTagMetadata) String() string
- type TracingTagMetadata_Kind
- func (TracingTagMetadata_Kind) Descriptor() protoreflect.EnumDescriptor
- func (x TracingTagMetadata_Kind) Enum() *TracingTagMetadata_Kind
- func (TracingTagMetadata_Kind) EnumDescriptor() ([]byte, []int)deprecated
- func (x TracingTagMetadata_Kind) Number() protoreflect.EnumNumber
- func (x TracingTagMetadata_Kind) String() string
- func (TracingTagMetadata_Kind) Type() protoreflect.EnumType
- type TracingTagMetadata_MetadataValue
- func (m *TracingTagMetadata_MetadataValue) Clone() proto.Message
- func (*TracingTagMetadata_MetadataValue) Descriptor() ([]byte, []int)deprecated
- func (m *TracingTagMetadata_MetadataValue) Equal(that interface{}) bool
- func (x *TracingTagMetadata_MetadataValue) GetKey() string
- func (x *TracingTagMetadata_MetadataValue) GetNamespace() string
- func (x *TracingTagMetadata_MetadataValue) GetNestedFieldDelimiter() string
- func (m *TracingTagMetadata_MetadataValue) Hash(hasher hash.Hash64) (uint64, error)deprecated
- func (m *TracingTagMetadata_MetadataValue) HashUnique(hasher hash.Hash64) (uint64, error)
- func (*TracingTagMetadata_MetadataValue) ProtoMessage()
- func (x *TracingTagMetadata_MetadataValue) ProtoReflect() protoreflect.Message
- func (x *TracingTagMetadata_MetadataValue) Reset()
- func (x *TracingTagMetadata_MetadataValue) String() string
Constants ¶
This section is empty.
Variables ¶
var ( TracingTagMetadata_Kind_name = map[int32]string{ 0: "REQUEST", 1: "ENDPOINT", } TracingTagMetadata_Kind_value = map[string]int32{ "REQUEST": 0, "ENDPOINT": 1, } )
Enum value maps for TracingTagMetadata_Kind.
var File_github_com_solo_io_gloo_projects_gloo_api_v1_options_tracing_tracing_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ListenerTracingSettings ¶
type ListenerTracingSettings struct { // Optional. If specified, Envoy will include the headers and header values for any matching request headers. RequestHeadersForTags []*wrapperspb.StringValue `` /* 128-byte string literal not displayed */ // Optional. If true, Envoy will include logs for streaming events. Default: false. Verbose *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=verbose,proto3" json:"verbose,omitempty"` // Requests can produce traces by random sampling or when the `x-client-trace-id` header is provided. // TracePercentages defines the limits for random, forced, and overall tracing percentages. TracePercentages *TracePercentages `protobuf:"bytes,3,opt,name=trace_percentages,json=tracePercentages,proto3" json:"trace_percentages,omitempty"` // Optional. If not specified, no tracing will be performed // ProviderConfig defines the configuration for an external tracing provider. // // Types that are assignable to ProviderConfig: // // *ListenerTracingSettings_ZipkinConfig // *ListenerTracingSettings_DatadogConfig // *ListenerTracingSettings_OpenTelemetryConfig // *ListenerTracingSettings_OpenCensusConfig ProviderConfig isListenerTracingSettings_ProviderConfig `protobuf_oneof:"provider_config"` // Optional. If specified, Envoy will include the environment variables with the given tag as tracing tags. EnvironmentVariablesForTags []*TracingTagEnvironmentVariable `` /* 146-byte string literal not displayed */ // Optional. If specified, Envoy will include the literals with the given tag as tracing tags. LiteralsForTags []*TracingTagLiteral `protobuf:"bytes,7,rep,name=literals_for_tags,json=literalsForTags,proto3" json:"literals_for_tags,omitempty"` // Optional. If specified, Envoy will include tags from the dynamic metadata. MetadataForTags []*TracingTagMetadata `protobuf:"bytes,11,rep,name=metadata_for_tags,json=metadataForTags,proto3" json:"metadata_for_tags,omitempty"` // Optional // Create separate tracing span for each upstream request if true. And if this flag is set to true, the tracing provider will assume that Envoy // will be independent hop in the trace chain and may set span type to client or server based on this flag. SpawnUpstreamSpan bool `protobuf:"varint,10,opt,name=spawn_upstream_span,json=spawnUpstreamSpan,proto3" json:"spawn_upstream_span,omitempty"` // contains filtered or unexported fields }
Contains settings for configuring Envoy's tracing capabilities at the listener level. See [here](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/observability/tracing.html) for additional information on Envoy's tracing capabilities. See [here](https://docs.solo.io/gloo-edge/latest/guides/observability/tracing/) for additional information about configuring tracing with Gloo Edge.
func (*ListenerTracingSettings) Clone ¶ added in v1.8.24
func (m *ListenerTracingSettings) Clone() proto.Message
Clone function
func (*ListenerTracingSettings) Descriptor
deprecated
func (*ListenerTracingSettings) Descriptor() ([]byte, []int)
Deprecated: Use ListenerTracingSettings.ProtoReflect.Descriptor instead.
func (*ListenerTracingSettings) Equal ¶
func (m *ListenerTracingSettings) Equal(that interface{}) bool
Equal function
func (*ListenerTracingSettings) GetDatadogConfig ¶ added in v1.6.0
func (x *ListenerTracingSettings) GetDatadogConfig() *v3.DatadogConfig
func (*ListenerTracingSettings) GetEnvironmentVariablesForTags ¶ added in v1.5.21
func (x *ListenerTracingSettings) GetEnvironmentVariablesForTags() []*TracingTagEnvironmentVariable
func (*ListenerTracingSettings) GetLiteralsForTags ¶ added in v1.5.21
func (x *ListenerTracingSettings) GetLiteralsForTags() []*TracingTagLiteral
func (*ListenerTracingSettings) GetMetadataForTags ¶ added in v1.18.4
func (x *ListenerTracingSettings) GetMetadataForTags() []*TracingTagMetadata
func (*ListenerTracingSettings) GetOpenCensusConfig ¶ added in v1.12.37
func (x *ListenerTracingSettings) GetOpenCensusConfig() *v3.OpenCensusConfig
func (*ListenerTracingSettings) GetOpenTelemetryConfig ¶ added in v1.12.36
func (x *ListenerTracingSettings) GetOpenTelemetryConfig() *v3.OpenTelemetryConfig
func (*ListenerTracingSettings) GetProviderConfig ¶ added in v1.6.0
func (m *ListenerTracingSettings) GetProviderConfig() isListenerTracingSettings_ProviderConfig
func (*ListenerTracingSettings) GetRequestHeadersForTags ¶
func (x *ListenerTracingSettings) GetRequestHeadersForTags() []*wrapperspb.StringValue
func (*ListenerTracingSettings) GetSpawnUpstreamSpan ¶ added in v1.18.4
func (x *ListenerTracingSettings) GetSpawnUpstreamSpan() bool
func (*ListenerTracingSettings) GetTracePercentages ¶
func (x *ListenerTracingSettings) GetTracePercentages() *TracePercentages
func (*ListenerTracingSettings) GetVerbose ¶
func (x *ListenerTracingSettings) GetVerbose() *wrapperspb.BoolValue
func (*ListenerTracingSettings) GetZipkinConfig ¶ added in v1.6.0
func (x *ListenerTracingSettings) GetZipkinConfig() *v3.ZipkinConfig
func (*ListenerTracingSettings) Hash
deprecated
added in
v1.2.13
func (m *ListenerTracingSettings) Hash(hasher hash.Hash64) (uint64, error)
Hash function
Deprecated: due to hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions. Prefer the HashUnique function instead.
func (*ListenerTracingSettings) HashUnique ¶ added in v1.18.0
func (m *ListenerTracingSettings) HashUnique(hasher hash.Hash64) (uint64, error)
HashUnique function generates a hash of the object that is unique to the object by hashing field name and value pairs. Replaces Hash due to original hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions.
func (*ListenerTracingSettings) ProtoMessage ¶
func (*ListenerTracingSettings) ProtoMessage()
func (*ListenerTracingSettings) ProtoReflect ¶ added in v1.6.0
func (x *ListenerTracingSettings) ProtoReflect() protoreflect.Message
func (*ListenerTracingSettings) Reset ¶
func (x *ListenerTracingSettings) Reset()
func (*ListenerTracingSettings) String ¶
func (x *ListenerTracingSettings) String() string
type ListenerTracingSettings_DatadogConfig ¶ added in v1.6.0
type ListenerTracingSettings_DatadogConfig struct {
DatadogConfig *v3.DatadogConfig `protobuf:"bytes,5,opt,name=datadog_config,json=datadogConfig,proto3,oneof"`
}
type ListenerTracingSettings_OpenCensusConfig ¶ added in v1.12.37
type ListenerTracingSettings_OpenCensusConfig struct {
OpenCensusConfig *v3.OpenCensusConfig `protobuf:"bytes,9,opt,name=open_census_config,json=openCensusConfig,proto3,oneof"`
}
type ListenerTracingSettings_OpenTelemetryConfig ¶ added in v1.12.36
type ListenerTracingSettings_OpenTelemetryConfig struct {
OpenTelemetryConfig *v3.OpenTelemetryConfig `protobuf:"bytes,8,opt,name=open_telemetry_config,json=openTelemetryConfig,proto3,oneof"`
}
type ListenerTracingSettings_ZipkinConfig ¶ added in v1.6.0
type ListenerTracingSettings_ZipkinConfig struct {
ZipkinConfig *v3.ZipkinConfig `protobuf:"bytes,4,opt,name=zipkin_config,json=zipkinConfig,proto3,oneof"`
}
type RouteTracingSettings ¶
type RouteTracingSettings struct { // Optional. If set, will be used to identify the route that produced the trace. // Note that this value will be overridden if the "x-envoy-decorator-operation" header is passed. RouteDescriptor string `protobuf:"bytes,1,opt,name=route_descriptor,json=routeDescriptor,proto3" json:"route_descriptor,omitempty"` // Requests can produce traces by random sampling or when the `x-client-trace-id` header is provided. // TracePercentages defines the limits for random, forced, and overall tracing percentages. TracePercentages *TracePercentages `protobuf:"bytes,2,opt,name=trace_percentages,json=tracePercentages,proto3" json:"trace_percentages,omitempty"` // Optional. Default is true, If set to false, the tracing headers will not propagate to the upstream. Propagate *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=propagate,proto3" json:"propagate,omitempty"` // contains filtered or unexported fields }
Contains settings for configuring Envoy's tracing capabilities at the route level. Note: must also specify ListenerTracingSettings for the associated listener. See [here](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/observability/tracing.html) for additional information on Envoy's tracing capabilities. See [here](https://docs.solo.io/gloo-edge/latest/guides/observability/tracing/) for additional information about configuring tracing with Gloo Edge.
func (*RouteTracingSettings) Clone ¶ added in v1.8.24
func (m *RouteTracingSettings) Clone() proto.Message
Clone function
func (*RouteTracingSettings) Descriptor
deprecated
func (*RouteTracingSettings) Descriptor() ([]byte, []int)
Deprecated: Use RouteTracingSettings.ProtoReflect.Descriptor instead.
func (*RouteTracingSettings) Equal ¶
func (m *RouteTracingSettings) Equal(that interface{}) bool
Equal function
func (*RouteTracingSettings) GetPropagate ¶ added in v1.5.13
func (x *RouteTracingSettings) GetPropagate() *wrapperspb.BoolValue
func (*RouteTracingSettings) GetRouteDescriptor ¶
func (x *RouteTracingSettings) GetRouteDescriptor() string
func (*RouteTracingSettings) GetTracePercentages ¶
func (x *RouteTracingSettings) GetTracePercentages() *TracePercentages
func (*RouteTracingSettings) Hash
deprecated
added in
v1.2.13
func (m *RouteTracingSettings) Hash(hasher hash.Hash64) (uint64, error)
Hash function
Deprecated: due to hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions. Prefer the HashUnique function instead.
func (*RouteTracingSettings) HashUnique ¶ added in v1.18.0
func (m *RouteTracingSettings) HashUnique(hasher hash.Hash64) (uint64, error)
HashUnique function generates a hash of the object that is unique to the object by hashing field name and value pairs. Replaces Hash due to original hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions.
func (*RouteTracingSettings) ProtoMessage ¶
func (*RouteTracingSettings) ProtoMessage()
func (*RouteTracingSettings) ProtoReflect ¶ added in v1.6.0
func (x *RouteTracingSettings) ProtoReflect() protoreflect.Message
func (*RouteTracingSettings) Reset ¶
func (x *RouteTracingSettings) Reset()
func (*RouteTracingSettings) String ¶
func (x *RouteTracingSettings) String() string
type TracePercentages ¶
type TracePercentages struct { // Percentage of requests that should produce traces when the `x-client-trace-id` header is provided. // optional, defaults to 100.0 // This should be a value between 0.0 and 100.0, with up to 6 significant digits. ClientSamplePercentage *wrapperspb.FloatValue `` /* 129-byte string literal not displayed */ // Percentage of requests that should produce traces by random sampling. // optional, defaults to 100.0 // This should be a value between 0.0 and 100.0, with up to 6 significant digits. RandomSamplePercentage *wrapperspb.FloatValue `` /* 129-byte string literal not displayed */ // Overall percentage of requests that should produce traces. // optional, defaults to 100.0 // This should be a value between 0.0 and 100.0, with up to 6 significant digits. OverallSamplePercentage *wrapperspb.FloatValue `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
Requests can produce traces by random sampling or when the `x-client-trace-id` header is provided. TracePercentages defines the limits for random, forced, and overall tracing percentages.
func (*TracePercentages) Clone ¶ added in v1.8.24
func (m *TracePercentages) Clone() proto.Message
Clone function
func (*TracePercentages) Descriptor
deprecated
func (*TracePercentages) Descriptor() ([]byte, []int)
Deprecated: Use TracePercentages.ProtoReflect.Descriptor instead.
func (*TracePercentages) Equal ¶
func (m *TracePercentages) Equal(that interface{}) bool
Equal function
func (*TracePercentages) GetClientSamplePercentage ¶
func (x *TracePercentages) GetClientSamplePercentage() *wrapperspb.FloatValue
func (*TracePercentages) GetOverallSamplePercentage ¶
func (x *TracePercentages) GetOverallSamplePercentage() *wrapperspb.FloatValue
func (*TracePercentages) GetRandomSamplePercentage ¶
func (x *TracePercentages) GetRandomSamplePercentage() *wrapperspb.FloatValue
func (*TracePercentages) Hash
deprecated
added in
v1.2.13
func (m *TracePercentages) Hash(hasher hash.Hash64) (uint64, error)
Hash function
Deprecated: due to hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions. Prefer the HashUnique function instead.
func (*TracePercentages) HashUnique ¶ added in v1.18.0
func (m *TracePercentages) HashUnique(hasher hash.Hash64) (uint64, error)
HashUnique function generates a hash of the object that is unique to the object by hashing field name and value pairs. Replaces Hash due to original hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions.
func (*TracePercentages) ProtoMessage ¶
func (*TracePercentages) ProtoMessage()
func (*TracePercentages) ProtoReflect ¶ added in v1.6.0
func (x *TracePercentages) ProtoReflect() protoreflect.Message
func (*TracePercentages) Reset ¶
func (x *TracePercentages) Reset()
func (*TracePercentages) String ¶
func (x *TracePercentages) String() string
type TracingTagEnvironmentVariable ¶ added in v1.5.21
type TracingTagEnvironmentVariable struct { // Used to populate the tag name. Tag *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` // Environment variable name to obtain the value to populate the tag value. Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // When the environment variable is not found, the tag value will be populated with this default value if specified, // otherwise no tag will be populated. DefaultValue *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` // contains filtered or unexported fields }
Requests can produce traces with custom tags. TracingTagEnvironmentVariable defines an environment variable which gets added as custom tag.
func (*TracingTagEnvironmentVariable) Clone ¶ added in v1.8.24
func (m *TracingTagEnvironmentVariable) Clone() proto.Message
Clone function
func (*TracingTagEnvironmentVariable) Descriptor
deprecated
added in
v1.5.21
func (*TracingTagEnvironmentVariable) Descriptor() ([]byte, []int)
Deprecated: Use TracingTagEnvironmentVariable.ProtoReflect.Descriptor instead.
func (*TracingTagEnvironmentVariable) Equal ¶ added in v1.5.21
func (m *TracingTagEnvironmentVariable) Equal(that interface{}) bool
Equal function
func (*TracingTagEnvironmentVariable) GetDefaultValue ¶ added in v1.5.21
func (x *TracingTagEnvironmentVariable) GetDefaultValue() *wrapperspb.StringValue
func (*TracingTagEnvironmentVariable) GetName ¶ added in v1.5.21
func (x *TracingTagEnvironmentVariable) GetName() *wrapperspb.StringValue
func (*TracingTagEnvironmentVariable) GetTag ¶ added in v1.5.21
func (x *TracingTagEnvironmentVariable) GetTag() *wrapperspb.StringValue
func (*TracingTagEnvironmentVariable) Hash
deprecated
added in
v1.5.21
func (m *TracingTagEnvironmentVariable) Hash(hasher hash.Hash64) (uint64, error)
Hash function
Deprecated: due to hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions. Prefer the HashUnique function instead.
func (*TracingTagEnvironmentVariable) HashUnique ¶ added in v1.18.0
func (m *TracingTagEnvironmentVariable) HashUnique(hasher hash.Hash64) (uint64, error)
HashUnique function generates a hash of the object that is unique to the object by hashing field name and value pairs. Replaces Hash due to original hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions.
func (*TracingTagEnvironmentVariable) ProtoMessage ¶ added in v1.5.21
func (*TracingTagEnvironmentVariable) ProtoMessage()
func (*TracingTagEnvironmentVariable) ProtoReflect ¶ added in v1.6.25
func (x *TracingTagEnvironmentVariable) ProtoReflect() protoreflect.Message
func (*TracingTagEnvironmentVariable) Reset ¶ added in v1.5.21
func (x *TracingTagEnvironmentVariable) Reset()
func (*TracingTagEnvironmentVariable) String ¶ added in v1.5.21
func (x *TracingTagEnvironmentVariable) String() string
type TracingTagLiteral ¶ added in v1.5.21
type TracingTagLiteral struct { // Used to populate the tag name. Tag *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` // Static literal value to populate the tag value. Value *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Requests can produce traces with custom tags. TracingTagLiteral defines a literal which gets added as custom tag.
func (*TracingTagLiteral) Clone ¶ added in v1.8.24
func (m *TracingTagLiteral) Clone() proto.Message
Clone function
func (*TracingTagLiteral) Descriptor
deprecated
added in
v1.5.21
func (*TracingTagLiteral) Descriptor() ([]byte, []int)
Deprecated: Use TracingTagLiteral.ProtoReflect.Descriptor instead.
func (*TracingTagLiteral) Equal ¶ added in v1.5.21
func (m *TracingTagLiteral) Equal(that interface{}) bool
Equal function
func (*TracingTagLiteral) GetTag ¶ added in v1.5.21
func (x *TracingTagLiteral) GetTag() *wrapperspb.StringValue
func (*TracingTagLiteral) GetValue ¶ added in v1.5.21
func (x *TracingTagLiteral) GetValue() *wrapperspb.StringValue
func (*TracingTagLiteral) Hash
deprecated
added in
v1.5.21
func (m *TracingTagLiteral) Hash(hasher hash.Hash64) (uint64, error)
Hash function
Deprecated: due to hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions. Prefer the HashUnique function instead.
func (*TracingTagLiteral) HashUnique ¶ added in v1.18.0
func (m *TracingTagLiteral) HashUnique(hasher hash.Hash64) (uint64, error)
HashUnique function generates a hash of the object that is unique to the object by hashing field name and value pairs. Replaces Hash due to original hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions.
func (*TracingTagLiteral) ProtoMessage ¶ added in v1.5.21
func (*TracingTagLiteral) ProtoMessage()
func (*TracingTagLiteral) ProtoReflect ¶ added in v1.6.25
func (x *TracingTagLiteral) ProtoReflect() protoreflect.Message
func (*TracingTagLiteral) Reset ¶ added in v1.5.21
func (x *TracingTagLiteral) Reset()
func (*TracingTagLiteral) String ¶ added in v1.5.21
func (x *TracingTagLiteral) String() string
type TracingTagMetadata ¶ added in v1.18.4
type TracingTagMetadata struct { // Used to populate the tag name. Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` // The kind of metadata to extract the value from Kind TracingTagMetadata_Kind `protobuf:"varint,2,opt,name=kind,proto3,enum=tracing.options.gloo.solo.io.TracingTagMetadata_Kind" json:"kind,omitempty"` // The metadata value to extract the tag value from. Value *TracingTagMetadata_MetadataValue `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // When no valid metadata is found, the tag value would be populated with this default value if specified, otherwise no tag would be populated. DefaultValue string `protobuf:"bytes,4,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` // contains filtered or unexported fields }
Requests can produce traces with custom tags. TracingTagMetadata defines a dynamic metadata tag which gets added as custom tag.
func (*TracingTagMetadata) Clone ¶ added in v1.18.4
func (m *TracingTagMetadata) Clone() proto.Message
Clone function
func (*TracingTagMetadata) Descriptor
deprecated
added in
v1.18.4
func (*TracingTagMetadata) Descriptor() ([]byte, []int)
Deprecated: Use TracingTagMetadata.ProtoReflect.Descriptor instead.
func (*TracingTagMetadata) Equal ¶ added in v1.18.4
func (m *TracingTagMetadata) Equal(that interface{}) bool
Equal function
func (*TracingTagMetadata) GetDefaultValue ¶ added in v1.18.4
func (x *TracingTagMetadata) GetDefaultValue() string
func (*TracingTagMetadata) GetKind ¶ added in v1.18.4
func (x *TracingTagMetadata) GetKind() TracingTagMetadata_Kind
func (*TracingTagMetadata) GetTag ¶ added in v1.18.4
func (x *TracingTagMetadata) GetTag() string
func (*TracingTagMetadata) GetValue ¶ added in v1.18.4
func (x *TracingTagMetadata) GetValue() *TracingTagMetadata_MetadataValue
func (*TracingTagMetadata) Hash
deprecated
added in
v1.18.4
func (m *TracingTagMetadata) Hash(hasher hash.Hash64) (uint64, error)
Hash function
Deprecated: due to hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions. Prefer the HashUnique function instead.
func (*TracingTagMetadata) HashUnique ¶ added in v1.18.4
func (m *TracingTagMetadata) HashUnique(hasher hash.Hash64) (uint64, error)
HashUnique function generates a hash of the object that is unique to the object by hashing field name and value pairs. Replaces Hash due to original hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions.
func (*TracingTagMetadata) ProtoMessage ¶ added in v1.18.4
func (*TracingTagMetadata) ProtoMessage()
func (*TracingTagMetadata) ProtoReflect ¶ added in v1.18.4
func (x *TracingTagMetadata) ProtoReflect() protoreflect.Message
func (*TracingTagMetadata) Reset ¶ added in v1.18.4
func (x *TracingTagMetadata) Reset()
func (*TracingTagMetadata) String ¶ added in v1.18.4
func (x *TracingTagMetadata) String() string
type TracingTagMetadata_Kind ¶ added in v1.18.4
type TracingTagMetadata_Kind int32
const ( // The metadata is extracted from the stream metadata. TracingTagMetadata_REQUEST TracingTagMetadata_Kind = 0 // The metadata is extracted from the endpoint metadata. TracingTagMetadata_ENDPOINT TracingTagMetadata_Kind = 1 )
func (TracingTagMetadata_Kind) Descriptor ¶ added in v1.18.4
func (TracingTagMetadata_Kind) Descriptor() protoreflect.EnumDescriptor
func (TracingTagMetadata_Kind) Enum ¶ added in v1.18.4
func (x TracingTagMetadata_Kind) Enum() *TracingTagMetadata_Kind
func (TracingTagMetadata_Kind) EnumDescriptor
deprecated
added in
v1.18.4
func (TracingTagMetadata_Kind) EnumDescriptor() ([]byte, []int)
Deprecated: Use TracingTagMetadata_Kind.Descriptor instead.
func (TracingTagMetadata_Kind) Number ¶ added in v1.18.4
func (x TracingTagMetadata_Kind) Number() protoreflect.EnumNumber
func (TracingTagMetadata_Kind) String ¶ added in v1.18.4
func (x TracingTagMetadata_Kind) String() string
func (TracingTagMetadata_Kind) Type ¶ added in v1.18.4
func (TracingTagMetadata_Kind) Type() protoreflect.EnumType
type TracingTagMetadata_MetadataValue ¶ added in v1.18.4
type TracingTagMetadata_MetadataValue struct { // The namespace to extract the value from the metadata. // If empty will default to JWT principal namespace. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // The key to extract the value from the metadata. // For example, `principal.iss` or `principal.sub` to extract those claims from the JWT ns Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // The delimiter to use when specifying nested fields. // Default is `.`. // This is commonly set to `.`, allowing for nested fields names of the form // `parent.child.grandchild` NestedFieldDelimiter string `protobuf:"bytes,3,opt,name=nested_field_delimiter,json=nestedFieldDelimiter,proto3" json:"nested_field_delimiter,omitempty"` // contains filtered or unexported fields }
func (*TracingTagMetadata_MetadataValue) Clone ¶ added in v1.18.4
func (m *TracingTagMetadata_MetadataValue) Clone() proto.Message
Clone function
func (*TracingTagMetadata_MetadataValue) Descriptor
deprecated
added in
v1.18.4
func (*TracingTagMetadata_MetadataValue) Descriptor() ([]byte, []int)
Deprecated: Use TracingTagMetadata_MetadataValue.ProtoReflect.Descriptor instead.
func (*TracingTagMetadata_MetadataValue) Equal ¶ added in v1.18.4
func (m *TracingTagMetadata_MetadataValue) Equal(that interface{}) bool
Equal function
func (*TracingTagMetadata_MetadataValue) GetKey ¶ added in v1.18.4
func (x *TracingTagMetadata_MetadataValue) GetKey() string
func (*TracingTagMetadata_MetadataValue) GetNamespace ¶ added in v1.18.4
func (x *TracingTagMetadata_MetadataValue) GetNamespace() string
func (*TracingTagMetadata_MetadataValue) GetNestedFieldDelimiter ¶ added in v1.18.4
func (x *TracingTagMetadata_MetadataValue) GetNestedFieldDelimiter() string
func (*TracingTagMetadata_MetadataValue) Hash
deprecated
added in
v1.18.4
func (m *TracingTagMetadata_MetadataValue) Hash(hasher hash.Hash64) (uint64, error)
Hash function
Deprecated: due to hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions. Prefer the HashUnique function instead.
func (*TracingTagMetadata_MetadataValue) HashUnique ¶ added in v1.18.4
func (m *TracingTagMetadata_MetadataValue) HashUnique(hasher hash.Hash64) (uint64, error)
HashUnique function generates a hash of the object that is unique to the object by hashing field name and value pairs. Replaces Hash due to original hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions.
func (*TracingTagMetadata_MetadataValue) ProtoMessage ¶ added in v1.18.4
func (*TracingTagMetadata_MetadataValue) ProtoMessage()
func (*TracingTagMetadata_MetadataValue) ProtoReflect ¶ added in v1.18.4
func (x *TracingTagMetadata_MetadataValue) ProtoReflect() protoreflect.Message
func (*TracingTagMetadata_MetadataValue) Reset ¶ added in v1.18.4
func (x *TracingTagMetadata_MetadataValue) Reset()
func (*TracingTagMetadata_MetadataValue) String ¶ added in v1.18.4
func (x *TracingTagMetadata_MetadataValue) String() string