tracing

package
v1.3.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2020 License: Apache-2.0 Imports: 13 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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 []string `` /* 128-byte string literal not displayed */
	// Optional. If true, Envoy will include logs for streaming events. Default: false.
	Verbose bool `protobuf:"varint,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"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Contains settings for configuring Envoy's tracing capabilities at the listener level. See here for additional information on Envoy's tracing capabilities: https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/observability/tracing.html See here for additional information about configuring tracing with Gloo: https://gloo.solo.io/user_guides/setup_options/observability/#tracing

func (*ListenerTracingSettings) Descriptor

func (*ListenerTracingSettings) Descriptor() ([]byte, []int)

func (*ListenerTracingSettings) Equal

func (this *ListenerTracingSettings) Equal(that interface{}) bool

func (*ListenerTracingSettings) GetRequestHeadersForTags

func (m *ListenerTracingSettings) GetRequestHeadersForTags() []string

func (*ListenerTracingSettings) GetTracePercentages

func (m *ListenerTracingSettings) GetTracePercentages() *TracePercentages

func (*ListenerTracingSettings) GetVerbose

func (m *ListenerTracingSettings) GetVerbose() bool

func (*ListenerTracingSettings) Hash added in v1.2.13

func (m *ListenerTracingSettings) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*ListenerTracingSettings) ProtoMessage

func (*ListenerTracingSettings) ProtoMessage()

func (*ListenerTracingSettings) Reset

func (m *ListenerTracingSettings) Reset()

func (*ListenerTracingSettings) String

func (m *ListenerTracingSettings) String() string

func (*ListenerTracingSettings) XXX_DiscardUnknown

func (m *ListenerTracingSettings) XXX_DiscardUnknown()

func (*ListenerTracingSettings) XXX_Marshal

func (m *ListenerTracingSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListenerTracingSettings) XXX_Merge

func (m *ListenerTracingSettings) XXX_Merge(src proto.Message)

func (*ListenerTracingSettings) XXX_Size

func (m *ListenerTracingSettings) XXX_Size() int

func (*ListenerTracingSettings) XXX_Unmarshal

func (m *ListenerTracingSettings) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Contains settings for configuring Envoy's tracing capabilities at the route level. Note: must also specify ListenerTracingSettings for the associated listener. See here for additional information on Envoy's tracing capabilities: https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/observability/tracing.html See here for additional information about configuring tracing with Gloo: https://gloo.solo.io/user_guides/setup_options/observability/#tracing

func (*RouteTracingSettings) Descriptor

func (*RouteTracingSettings) Descriptor() ([]byte, []int)

func (*RouteTracingSettings) Equal

func (this *RouteTracingSettings) Equal(that interface{}) bool

func (*RouteTracingSettings) GetRouteDescriptor

func (m *RouteTracingSettings) GetRouteDescriptor() string

func (*RouteTracingSettings) GetTracePercentages

func (m *RouteTracingSettings) GetTracePercentages() *TracePercentages

func (*RouteTracingSettings) Hash added in v1.2.13

func (m *RouteTracingSettings) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*RouteTracingSettings) ProtoMessage

func (*RouteTracingSettings) ProtoMessage()

func (*RouteTracingSettings) Reset

func (m *RouteTracingSettings) Reset()

func (*RouteTracingSettings) String

func (m *RouteTracingSettings) String() string

func (*RouteTracingSettings) XXX_DiscardUnknown

func (m *RouteTracingSettings) XXX_DiscardUnknown()

func (*RouteTracingSettings) XXX_Marshal

func (m *RouteTracingSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RouteTracingSettings) XXX_Merge

func (m *RouteTracingSettings) XXX_Merge(src proto.Message)

func (*RouteTracingSettings) XXX_Size

func (m *RouteTracingSettings) XXX_Size() int

func (*RouteTracingSettings) XXX_Unmarshal

func (m *RouteTracingSettings) XXX_Unmarshal(b []byte) error

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 *types.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 *types.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 *types.FloatValue `` /* 132-byte string literal not displayed */
	XXX_NoUnkeyedLiteral    struct{}          `json:"-"`
	XXX_unrecognized        []byte            `json:"-"`
	XXX_sizecache           int32             `json:"-"`
}

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) Descriptor

func (*TracePercentages) Descriptor() ([]byte, []int)

func (*TracePercentages) Equal

func (this *TracePercentages) Equal(that interface{}) bool

func (*TracePercentages) GetClientSamplePercentage

func (m *TracePercentages) GetClientSamplePercentage() *types.FloatValue

func (*TracePercentages) GetOverallSamplePercentage

func (m *TracePercentages) GetOverallSamplePercentage() *types.FloatValue

func (*TracePercentages) GetRandomSamplePercentage

func (m *TracePercentages) GetRandomSamplePercentage() *types.FloatValue

func (*TracePercentages) Hash added in v1.2.13

func (m *TracePercentages) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*TracePercentages) ProtoMessage

func (*TracePercentages) ProtoMessage()

func (*TracePercentages) Reset

func (m *TracePercentages) Reset()

func (*TracePercentages) String

func (m *TracePercentages) String() string

func (*TracePercentages) XXX_DiscardUnknown

func (m *TracePercentages) XXX_DiscardUnknown()

func (*TracePercentages) XXX_Marshal

func (m *TracePercentages) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TracePercentages) XXX_Merge

func (m *TracePercentages) XXX_Merge(src proto.Message)

func (*TracePercentages) XXX_Size

func (m *TracePercentages) XXX_Size() int

func (*TracePercentages) XXX_Unmarshal

func (m *TracePercentages) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL