envoy_extensions_tracers_opencensus_v4alpha

package
v0.9.8 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	OpenCensusConfig_TraceContext_name = map[int32]string{
		0: "NONE",
		1: "TRACE_CONTEXT",
		2: "GRPC_TRACE_BIN",
		3: "CLOUD_TRACE_CONTEXT",
		4: "B3",
	}
	OpenCensusConfig_TraceContext_value = map[string]int32{
		"NONE":                0,
		"TRACE_CONTEXT":       1,
		"GRPC_TRACE_BIN":      2,
		"CLOUD_TRACE_CONTEXT": 3,
		"B3":                  4,
	}
)

Enum value maps for OpenCensusConfig_TraceContext.

View Source
var File_envoy_extensions_tracers_opencensus_v4alpha_opencensus_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type OpenCensusConfig

type OpenCensusConfig struct {
	TraceConfig                *v1.TraceConfig                 `protobuf:"bytes,1,opt,name=trace_config,json=traceConfig,proto3" json:"trace_config,omitempty"`
	StdoutExporterEnabled      bool                            `` /* 127-byte string literal not displayed */
	StackdriverExporterEnabled bool                            `` /* 142-byte string literal not displayed */
	StackdriverProjectId       string                          `protobuf:"bytes,4,opt,name=stackdriver_project_id,json=stackdriverProjectId,proto3" json:"stackdriver_project_id,omitempty"`
	StackdriverAddress         string                          `protobuf:"bytes,10,opt,name=stackdriver_address,json=stackdriverAddress,proto3" json:"stackdriver_address,omitempty"`
	StackdriverGrpcService     *v4alpha.GrpcService            `` /* 130-byte string literal not displayed */
	ZipkinExporterEnabled      bool                            `` /* 127-byte string literal not displayed */
	ZipkinUrl                  string                          `protobuf:"bytes,6,opt,name=zipkin_url,json=zipkinUrl,proto3" json:"zipkin_url,omitempty"`
	OcagentExporterEnabled     bool                            `` /* 131-byte string literal not displayed */
	OcagentAddress             string                          `protobuf:"bytes,12,opt,name=ocagent_address,json=ocagentAddress,proto3" json:"ocagent_address,omitempty"`
	OcagentGrpcService         *v4alpha.GrpcService            `protobuf:"bytes,14,opt,name=ocagent_grpc_service,json=ocagentGrpcService,proto3" json:"ocagent_grpc_service,omitempty"`
	IncomingTraceContext       []OpenCensusConfig_TraceContext `` /* 210-byte string literal not displayed */
	OutgoingTraceContext       []OpenCensusConfig_TraceContext `` /* 210-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*OpenCensusConfig) Descriptor deprecated

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

Deprecated: Use OpenCensusConfig.ProtoReflect.Descriptor instead.

func (*OpenCensusConfig) GetIncomingTraceContext

func (x *OpenCensusConfig) GetIncomingTraceContext() []OpenCensusConfig_TraceContext

func (*OpenCensusConfig) GetOcagentAddress

func (x *OpenCensusConfig) GetOcagentAddress() string

func (*OpenCensusConfig) GetOcagentExporterEnabled

func (x *OpenCensusConfig) GetOcagentExporterEnabled() bool

func (*OpenCensusConfig) GetOcagentGrpcService

func (x *OpenCensusConfig) GetOcagentGrpcService() *v4alpha.GrpcService

func (*OpenCensusConfig) GetOutgoingTraceContext

func (x *OpenCensusConfig) GetOutgoingTraceContext() []OpenCensusConfig_TraceContext

func (*OpenCensusConfig) GetStackdriverAddress

func (x *OpenCensusConfig) GetStackdriverAddress() string

func (*OpenCensusConfig) GetStackdriverExporterEnabled

func (x *OpenCensusConfig) GetStackdriverExporterEnabled() bool

func (*OpenCensusConfig) GetStackdriverGrpcService

func (x *OpenCensusConfig) GetStackdriverGrpcService() *v4alpha.GrpcService

func (*OpenCensusConfig) GetStackdriverProjectId

func (x *OpenCensusConfig) GetStackdriverProjectId() string

func (*OpenCensusConfig) GetStdoutExporterEnabled

func (x *OpenCensusConfig) GetStdoutExporterEnabled() bool

func (*OpenCensusConfig) GetTraceConfig

func (x *OpenCensusConfig) GetTraceConfig() *v1.TraceConfig

func (*OpenCensusConfig) GetZipkinExporterEnabled

func (x *OpenCensusConfig) GetZipkinExporterEnabled() bool

func (*OpenCensusConfig) GetZipkinUrl

func (x *OpenCensusConfig) GetZipkinUrl() string

func (*OpenCensusConfig) ProtoMessage

func (*OpenCensusConfig) ProtoMessage()

func (*OpenCensusConfig) ProtoReflect added in v0.9.7

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

func (*OpenCensusConfig) Reset

func (x *OpenCensusConfig) Reset()

func (*OpenCensusConfig) String

func (x *OpenCensusConfig) String() string

func (*OpenCensusConfig) Validate

func (m *OpenCensusConfig) Validate() error

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

type OpenCensusConfigValidationError

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

OpenCensusConfigValidationError is the validation error returned by OpenCensusConfig.Validate if the designated constraints aren't met.

func (OpenCensusConfigValidationError) Cause

Cause function returns cause value.

func (OpenCensusConfigValidationError) Error

Error satisfies the builtin error interface

func (OpenCensusConfigValidationError) ErrorName

ErrorName returns error name.

func (OpenCensusConfigValidationError) Field

Field function returns field value.

func (OpenCensusConfigValidationError) Key

Key function returns key value.

func (OpenCensusConfigValidationError) Reason

Reason function returns reason value.

type OpenCensusConfig_TraceContext

type OpenCensusConfig_TraceContext int32
const (
	OpenCensusConfig_NONE                OpenCensusConfig_TraceContext = 0
	OpenCensusConfig_TRACE_CONTEXT       OpenCensusConfig_TraceContext = 1
	OpenCensusConfig_GRPC_TRACE_BIN      OpenCensusConfig_TraceContext = 2
	OpenCensusConfig_CLOUD_TRACE_CONTEXT OpenCensusConfig_TraceContext = 3
	OpenCensusConfig_B3                  OpenCensusConfig_TraceContext = 4
)

func (OpenCensusConfig_TraceContext) Descriptor added in v0.9.7

func (OpenCensusConfig_TraceContext) Enum added in v0.9.7

func (OpenCensusConfig_TraceContext) EnumDescriptor deprecated

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

Deprecated: Use OpenCensusConfig_TraceContext.Descriptor instead.

func (OpenCensusConfig_TraceContext) Number added in v0.9.7

func (OpenCensusConfig_TraceContext) String

func (OpenCensusConfig_TraceContext) Type added in v0.9.7

Jump to

Keyboard shortcuts

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