v3

package
v1.6.0-beta18 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ZipkinConfig_CollectorEndpointVersion_name = map[int32]string{
	0: "DEPRECATED_AND_UNAVAILABLE_DO_NOT_USE",
	1: "HTTP_JSON",
	2: "HTTP_PROTO",
}
View Source
var ZipkinConfig_CollectorEndpointVersion_value = map[string]int32{
	"DEPRECATED_AND_UNAVAILABLE_DO_NOT_USE": 0,
	"HTTP_JSON":                             1,
	"HTTP_PROTO":                            2,
}

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 valid to be assigned 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          string   `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Configuration for the Datadog tracer. [#extension: envoy.tracers.datadog]

func (*DatadogConfig) Descriptor

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

func (*DatadogConfig) Equal

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

func (*DatadogConfig) GetClusterName

func (m *DatadogConfig) GetClusterName() string

func (*DatadogConfig) GetCollectorCluster

func (m *DatadogConfig) GetCollectorCluster() isDatadogConfig_CollectorCluster

func (*DatadogConfig) GetCollectorUpstreamRef

func (m *DatadogConfig) GetCollectorUpstreamRef() *core.ResourceRef

func (*DatadogConfig) GetServiceName

func (m *DatadogConfig) GetServiceName() string

func (*DatadogConfig) ProtoMessage

func (*DatadogConfig) ProtoMessage()

func (*DatadogConfig) Reset

func (m *DatadogConfig) Reset()

func (*DatadogConfig) String

func (m *DatadogConfig) String() string

func (*DatadogConfig) XXX_DiscardUnknown

func (m *DatadogConfig) XXX_DiscardUnknown()

func (*DatadogConfig) XXX_Marshal

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

func (*DatadogConfig) XXX_Merge

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

func (*DatadogConfig) XXX_OneofWrappers

func (*DatadogConfig) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*DatadogConfig) XXX_Size

func (m *DatadogConfig) XXX_Size() int

func (*DatadogConfig) XXX_Unmarshal

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

type DatadogConfig_ClusterName

type DatadogConfig_ClusterName struct {
	ClusterName string `protobuf:"bytes,3,opt,name=cluster_name,json=clusterName,proto3,oneof" json:"cluster_name,omitempty"`
}

func (*DatadogConfig_ClusterName) Equal

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

type DatadogConfig_CollectorUpstreamRef

type DatadogConfig_CollectorUpstreamRef struct {
	CollectorUpstreamRef *core.ResourceRef `` /* 129-byte string literal not displayed */
}

func (*DatadogConfig_CollectorUpstreamRef) Equal

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

type Tracing

type Tracing struct {
	// Provides configuration for the HTTP tracer.
	Http                 *Tracing_Http `protobuf:"bytes,1,opt,name=http,proto3" json:"http,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

The tracing configuration specifies settings for an HTTP tracer provider used by Envoy.

Envoy may support other tracers in the future, but right now the HTTP tracer is the only one supported.

.. attention::

Use of this message type has been deprecated in favor of direct use of
:ref:`Tracing.Http <envoy_api_msg_config.trace.v3.Tracing.Http>`.

func (*Tracing) Descriptor

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

func (*Tracing) Equal

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

func (*Tracing) GetHttp

func (m *Tracing) GetHttp() *Tracing_Http

func (*Tracing) ProtoMessage

func (*Tracing) ProtoMessage()

func (*Tracing) Reset

func (m *Tracing) Reset()

func (*Tracing) String

func (m *Tracing) String() string

func (*Tracing) XXX_DiscardUnknown

func (m *Tracing) XXX_DiscardUnknown()

func (*Tracing) XXX_Marshal

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

func (*Tracing) XXX_Merge

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

func (*Tracing) XXX_Size

func (m *Tracing) XXX_Size() int

func (*Tracing) XXX_Unmarshal

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

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. Built-in trace drivers:
	//
	// - *envoy.tracers.lightstep*
	// - *envoy.tracers.zipkin*
	// - *envoy.tracers.dynamic_ot*
	// - *envoy.tracers.datadog*
	// - *envoy.tracers.opencensus*
	// - *envoy.tracers.xray*
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Trace driver specific configuration which depends on the driver being instantiated.
	// See the trace drivers for examples:
	//
	// - :ref:`LightstepConfig <envoy_api_msg_config.trace.v3.LightstepConfig>`
	// - :ref:`ZipkinConfig <envoy_api_msg_config.trace.v3.ZipkinConfig>`
	// - :ref:`DynamicOtConfig <envoy_api_msg_config.trace.v3.DynamicOtConfig>`
	// - :ref:`DatadogConfig <envoy_api_msg_config.trace.v3.DatadogConfig>`
	// - :ref:`OpenCensusConfig <envoy_api_msg_config.trace.v3.OpenCensusConfig>`
	// - :ref:`AWS X-Ray <envoy_api_msg_config.trace.v3.XRayConfig>`
	//
	// Types that are valid to be assigned to ConfigType:
	//	*Tracing_Http_TypedConfig
	ConfigType           isTracing_Http_ConfigType `protobuf_oneof:"config_type"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

Configuration for an HTTP tracer provider used by Envoy.

The configuration is defined by the :ref:`HttpConnectionManager.Tracing <envoy_api_msg_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing>` :ref:`provider <envoy_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.provider>` field.

func (*Tracing_Http) Descriptor

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

func (*Tracing_Http) Equal

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

func (*Tracing_Http) GetConfigType

func (m *Tracing_Http) GetConfigType() isTracing_Http_ConfigType

func (*Tracing_Http) GetName

func (m *Tracing_Http) GetName() string

func (*Tracing_Http) GetTypedConfig

func (m *Tracing_Http) GetTypedConfig() *types.Any

func (*Tracing_Http) ProtoMessage

func (*Tracing_Http) ProtoMessage()

func (*Tracing_Http) Reset

func (m *Tracing_Http) Reset()

func (*Tracing_Http) String

func (m *Tracing_Http) String() string

func (*Tracing_Http) XXX_DiscardUnknown

func (m *Tracing_Http) XXX_DiscardUnknown()

func (*Tracing_Http) XXX_Marshal

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

func (*Tracing_Http) XXX_Merge

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

func (*Tracing_Http) XXX_OneofWrappers

func (*Tracing_Http) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Tracing_Http) XXX_Size

func (m *Tracing_Http) XXX_Size() int

func (*Tracing_Http) XXX_Unmarshal

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

type Tracing_Http_TypedConfig

type Tracing_Http_TypedConfig struct {
	TypedConfig *types.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof" json:"typed_config,omitempty"`
}

func (*Tracing_Http_TypedConfig) Equal

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

type ZipkinConfig

type ZipkinConfig struct {
	// The cluster that hosts the Zipkin collectors.
	//
	// Types that are valid to be assigned 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 bool `protobuf:"varint,3,opt,name=trace_id_128bit,json=traceId128bit,proto3" json:"trace_id_128bit,omitempty"`
	// Determines whether client and server spans will share the same span context.
	// The default value is true.
	SharedSpanContext *types.BoolValue `protobuf:"bytes,4,opt,name=shared_span_context,json=sharedSpanContext,proto3" json:"shared_span_context,omitempty"`
	// Determines the selected collector endpoint version. By default, the “HTTP_JSON_V1“ will be
	// used.
	CollectorEndpointVersion ZipkinConfig_CollectorEndpointVersion `` /* 201-byte string literal not displayed */
	XXX_NoUnkeyedLiteral     struct{}                              `json:"-"`
	XXX_unrecognized         []byte                                `json:"-"`
	XXX_sizecache            int32                                 `json:"-"`
}

Configuration for the Zipkin tracer. [#extension: envoy.tracers.zipkin] [#next-free-field: 6]

func (*ZipkinConfig) Descriptor

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

func (*ZipkinConfig) Equal

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

func (*ZipkinConfig) GetClusterName

func (m *ZipkinConfig) GetClusterName() string

func (*ZipkinConfig) GetCollectorCluster

func (m *ZipkinConfig) GetCollectorCluster() isZipkinConfig_CollectorCluster

func (*ZipkinConfig) GetCollectorEndpoint

func (m *ZipkinConfig) GetCollectorEndpoint() string

func (*ZipkinConfig) GetCollectorEndpointVersion

func (m *ZipkinConfig) GetCollectorEndpointVersion() ZipkinConfig_CollectorEndpointVersion

func (*ZipkinConfig) GetCollectorUpstreamRef

func (m *ZipkinConfig) GetCollectorUpstreamRef() *core.ResourceRef

func (*ZipkinConfig) GetSharedSpanContext

func (m *ZipkinConfig) GetSharedSpanContext() *types.BoolValue

func (*ZipkinConfig) GetTraceId_128Bit

func (m *ZipkinConfig) GetTraceId_128Bit() bool

func (*ZipkinConfig) ProtoMessage

func (*ZipkinConfig) ProtoMessage()

func (*ZipkinConfig) Reset

func (m *ZipkinConfig) Reset()

func (*ZipkinConfig) String

func (m *ZipkinConfig) String() string

func (*ZipkinConfig) XXX_DiscardUnknown

func (m *ZipkinConfig) XXX_DiscardUnknown()

func (*ZipkinConfig) XXX_Marshal

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

func (*ZipkinConfig) XXX_Merge

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

func (*ZipkinConfig) XXX_OneofWrappers

func (*ZipkinConfig) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ZipkinConfig) XXX_Size

func (m *ZipkinConfig) XXX_Size() int

func (*ZipkinConfig) XXX_Unmarshal

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

type ZipkinConfig_ClusterName

type ZipkinConfig_ClusterName struct {
	ClusterName string `protobuf:"bytes,6,opt,name=cluster_name,json=clusterName,proto3,oneof" json:"cluster_name,omitempty"`
}

func (*ZipkinConfig_ClusterName) Equal

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

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.]
	ZipkinConfig_DEPRECATED_AND_UNAVAILABLE_DO_NOT_USE ZipkinConfig_CollectorEndpointVersion = 0 // Deprecated: Do not use.
	// 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) EnumDescriptor

func (ZipkinConfig_CollectorEndpointVersion) EnumDescriptor() ([]byte, []int)

func (ZipkinConfig_CollectorEndpointVersion) String

type ZipkinConfig_CollectorUpstreamRef

type ZipkinConfig_CollectorUpstreamRef struct {
	CollectorUpstreamRef *core.ResourceRef `` /* 129-byte string literal not displayed */
}

func (*ZipkinConfig_CollectorUpstreamRef) Equal

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

Jump to

Keyboard shortcuts

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