Documentation ¶
Index ¶
- Variables
- type OpenCensusConfig
- func (*OpenCensusConfig) Descriptor() ([]byte, []int)deprecated
- func (x *OpenCensusConfig) GetIncomingTraceContext() []OpenCensusConfig_TraceContext
- func (x *OpenCensusConfig) GetOcagentAddress() string
- func (x *OpenCensusConfig) GetOcagentExporterEnabled() bool
- func (x *OpenCensusConfig) GetOcagentGrpcService() *v4alpha.GrpcService
- func (x *OpenCensusConfig) GetOutgoingTraceContext() []OpenCensusConfig_TraceContext
- func (x *OpenCensusConfig) GetStackdriverAddress() string
- func (x *OpenCensusConfig) GetStackdriverExporterEnabled() bool
- func (x *OpenCensusConfig) GetStackdriverGrpcService() *v4alpha.GrpcService
- func (x *OpenCensusConfig) GetStackdriverProjectId() string
- func (x *OpenCensusConfig) GetStdoutExporterEnabled() bool
- func (x *OpenCensusConfig) GetTraceConfig() *v1.TraceConfig
- func (x *OpenCensusConfig) GetZipkinExporterEnabled() bool
- func (x *OpenCensusConfig) GetZipkinUrl() string
- func (*OpenCensusConfig) ProtoMessage()
- func (x *OpenCensusConfig) ProtoReflect() protoreflect.Message
- func (x *OpenCensusConfig) Reset()
- func (x *OpenCensusConfig) String() string
- func (m *OpenCensusConfig) Validate() error
- type OpenCensusConfigValidationError
- func (e OpenCensusConfigValidationError) Cause() error
- func (e OpenCensusConfigValidationError) Error() string
- func (e OpenCensusConfigValidationError) ErrorName() string
- func (e OpenCensusConfigValidationError) Field() string
- func (e OpenCensusConfigValidationError) Key() bool
- func (e OpenCensusConfigValidationError) Reason() string
- type OpenCensusConfig_TraceContext
- func (OpenCensusConfig_TraceContext) Descriptor() protoreflect.EnumDescriptor
- func (x OpenCensusConfig_TraceContext) Enum() *OpenCensusConfig_TraceContext
- func (OpenCensusConfig_TraceContext) EnumDescriptor() ([]byte, []int)deprecated
- func (x OpenCensusConfig_TraceContext) Number() protoreflect.EnumNumber
- func (x OpenCensusConfig_TraceContext) String() string
- func (OpenCensusConfig_TraceContext) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
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.
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 ¶
func (e OpenCensusConfigValidationError) Cause() error
Cause function returns cause value.
func (OpenCensusConfigValidationError) Error ¶
func (e OpenCensusConfigValidationError) Error() string
Error satisfies the builtin error interface
func (OpenCensusConfigValidationError) ErrorName ¶
func (e OpenCensusConfigValidationError) ErrorName() string
ErrorName returns error name.
func (OpenCensusConfigValidationError) Field ¶
func (e OpenCensusConfigValidationError) Field() string
Field function returns field value.
func (OpenCensusConfigValidationError) Key ¶
func (e OpenCensusConfigValidationError) Key() bool
Key function returns key value.
func (OpenCensusConfigValidationError) Reason ¶
func (e OpenCensusConfigValidationError) Reason() string
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) Descriptor() protoreflect.EnumDescriptor
func (OpenCensusConfig_TraceContext) Enum ¶ added in v0.9.7
func (x OpenCensusConfig_TraceContext) Enum() *OpenCensusConfig_TraceContext
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 (x OpenCensusConfig_TraceContext) Number() protoreflect.EnumNumber
func (OpenCensusConfig_TraceContext) String ¶
func (x OpenCensusConfig_TraceContext) String() string
func (OpenCensusConfig_TraceContext) Type ¶ added in v0.9.7
func (OpenCensusConfig_TraceContext) Type() protoreflect.EnumType