envoy_extensions_tracers_skywalking_v4alpha

package
v2.5.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_tracers_skywalking_v4alpha_skywalking_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 assignable 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 *wrappers.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) Descriptor deprecated

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

Deprecated: Use ClientConfig.ProtoReflect.Descriptor instead.

func (*ClientConfig) GetBackendToken

func (x *ClientConfig) GetBackendToken() string

func (*ClientConfig) GetBackendTokenSpecifier

func (m *ClientConfig) GetBackendTokenSpecifier() isClientConfig_BackendTokenSpecifier

func (*ClientConfig) GetInstanceName

func (x *ClientConfig) GetInstanceName() string

func (*ClientConfig) GetMaxCacheSize

func (x *ClientConfig) GetMaxCacheSize() *wrappers.UInt32Value

func (*ClientConfig) GetServiceName

func (x *ClientConfig) GetServiceName() string

func (*ClientConfig) ProtoMessage

func (*ClientConfig) ProtoMessage()

func (*ClientConfig) ProtoReflect

func (x *ClientConfig) ProtoReflect() protoreflect.Message

func (*ClientConfig) Reset

func (x *ClientConfig) Reset()

func (*ClientConfig) String

func (x *ClientConfig) String() string

func (*ClientConfig) Validate

func (m *ClientConfig) Validate() error

Validate checks the field values on ClientConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ClientConfigValidationError

type ClientConfigValidationError struct {
	// contains filtered or unexported fields
}

ClientConfigValidationError is the validation error returned by ClientConfig.Validate if the designated constraints aren't met.

func (ClientConfigValidationError) Cause

Cause function returns cause value.

func (ClientConfigValidationError) Error

Error satisfies the builtin error interface

func (ClientConfigValidationError) ErrorName

func (e ClientConfigValidationError) ErrorName() string

ErrorName returns error name.

func (ClientConfigValidationError) Field

Field function returns field value.

func (ClientConfigValidationError) Key

Key function returns key value.

func (ClientConfigValidationError) Reason

Reason function returns reason value.

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 SkyWalkingConfig

type SkyWalkingConfig struct {

	// SkyWalking collector service.
	GrpcService  *v4alpha.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 http tracer, then :ref:`start_child_span <envoy_v3_api_field_extensions.filters.http.router.v3.Router.start_child_span>` in the router 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) Descriptor deprecated

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

Deprecated: Use SkyWalkingConfig.ProtoReflect.Descriptor instead.

func (*SkyWalkingConfig) GetClientConfig

func (x *SkyWalkingConfig) GetClientConfig() *ClientConfig

func (*SkyWalkingConfig) GetGrpcService

func (x *SkyWalkingConfig) GetGrpcService() *v4alpha.GrpcService

func (*SkyWalkingConfig) ProtoMessage

func (*SkyWalkingConfig) ProtoMessage()

func (*SkyWalkingConfig) ProtoReflect

func (x *SkyWalkingConfig) ProtoReflect() protoreflect.Message

func (*SkyWalkingConfig) Reset

func (x *SkyWalkingConfig) Reset()

func (*SkyWalkingConfig) String

func (x *SkyWalkingConfig) String() string

func (*SkyWalkingConfig) Validate

func (m *SkyWalkingConfig) Validate() error

Validate checks the field values on SkyWalkingConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type SkyWalkingConfigValidationError

type SkyWalkingConfigValidationError struct {
	// contains filtered or unexported fields
}

SkyWalkingConfigValidationError is the validation error returned by SkyWalkingConfig.Validate if the designated constraints aren't met.

func (SkyWalkingConfigValidationError) Cause

Cause function returns cause value.

func (SkyWalkingConfigValidationError) Error

Error satisfies the builtin error interface

func (SkyWalkingConfigValidationError) ErrorName

ErrorName returns error name.

func (SkyWalkingConfigValidationError) Field

Field function returns field value.

func (SkyWalkingConfigValidationError) Key

Key function returns key value.

func (SkyWalkingConfigValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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