Documentation ¶
Index ¶
- Variables
- type DatadogConfig
- func (*DatadogConfig) Descriptor() ([]byte, []int)
- func (m *DatadogConfig) GetCollectorCluster() string
- func (m *DatadogConfig) GetServiceName() string
- func (m *DatadogConfig) Marshal() (dAtA []byte, err error)
- func (m *DatadogConfig) MarshalTo(dAtA []byte) (int, error)
- func (*DatadogConfig) ProtoMessage()
- func (m *DatadogConfig) Reset()
- func (m *DatadogConfig) Size() (n int)
- func (m *DatadogConfig) String() string
- func (m *DatadogConfig) Unmarshal(dAtA []byte) error
- func (m *DatadogConfig) Validate() error
- func (m *DatadogConfig) XXX_DiscardUnknown()
- func (m *DatadogConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DatadogConfig) XXX_Merge(src proto.Message)
- func (m *DatadogConfig) XXX_Size() int
- func (m *DatadogConfig) XXX_Unmarshal(b []byte) error
- type DatadogConfigValidationError
- func (e DatadogConfigValidationError) Cause() error
- func (e DatadogConfigValidationError) Error() string
- func (e DatadogConfigValidationError) ErrorName() string
- func (e DatadogConfigValidationError) Field() string
- func (e DatadogConfigValidationError) Key() bool
- func (e DatadogConfigValidationError) Reason() string
- type DynamicOtConfig
- func (*DynamicOtConfig) Descriptor() ([]byte, []int)
- func (m *DynamicOtConfig) GetConfig() *types.Struct
- func (m *DynamicOtConfig) GetLibrary() string
- func (m *DynamicOtConfig) Marshal() (dAtA []byte, err error)
- func (m *DynamicOtConfig) MarshalTo(dAtA []byte) (int, error)
- func (*DynamicOtConfig) ProtoMessage()
- func (m *DynamicOtConfig) Reset()
- func (m *DynamicOtConfig) Size() (n int)
- func (m *DynamicOtConfig) String() string
- func (m *DynamicOtConfig) Unmarshal(dAtA []byte) error
- func (m *DynamicOtConfig) Validate() error
- func (m *DynamicOtConfig) XXX_DiscardUnknown()
- func (m *DynamicOtConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DynamicOtConfig) XXX_Merge(src proto.Message)
- func (m *DynamicOtConfig) XXX_Size() int
- func (m *DynamicOtConfig) XXX_Unmarshal(b []byte) error
- type DynamicOtConfigValidationError
- func (e DynamicOtConfigValidationError) Cause() error
- func (e DynamicOtConfigValidationError) Error() string
- func (e DynamicOtConfigValidationError) ErrorName() string
- func (e DynamicOtConfigValidationError) Field() string
- func (e DynamicOtConfigValidationError) Key() bool
- func (e DynamicOtConfigValidationError) Reason() string
- type LightstepConfig
- func (*LightstepConfig) Descriptor() ([]byte, []int)
- func (m *LightstepConfig) GetAccessTokenFile() string
- func (m *LightstepConfig) GetCollectorCluster() string
- func (m *LightstepConfig) Marshal() (dAtA []byte, err error)
- func (m *LightstepConfig) MarshalTo(dAtA []byte) (int, error)
- func (*LightstepConfig) ProtoMessage()
- func (m *LightstepConfig) Reset()
- func (m *LightstepConfig) Size() (n int)
- func (m *LightstepConfig) String() string
- func (m *LightstepConfig) Unmarshal(dAtA []byte) error
- func (m *LightstepConfig) Validate() error
- func (m *LightstepConfig) XXX_DiscardUnknown()
- func (m *LightstepConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LightstepConfig) XXX_Merge(src proto.Message)
- func (m *LightstepConfig) XXX_Size() int
- func (m *LightstepConfig) XXX_Unmarshal(b []byte) error
- type LightstepConfigValidationError
- func (e LightstepConfigValidationError) Cause() error
- func (e LightstepConfigValidationError) Error() string
- func (e LightstepConfigValidationError) ErrorName() string
- func (e LightstepConfigValidationError) Field() string
- func (e LightstepConfigValidationError) Key() bool
- func (e LightstepConfigValidationError) Reason() string
- type OpenCensusConfig
- func (*OpenCensusConfig) Descriptor() ([]byte, []int)
- func (m *OpenCensusConfig) GetIncomingTraceContext() []OpenCensusConfig_TraceContext
- func (m *OpenCensusConfig) GetOutgoingTraceContext() []OpenCensusConfig_TraceContext
- func (m *OpenCensusConfig) GetStackdriverExporterEnabled() bool
- func (m *OpenCensusConfig) GetStackdriverProjectId() string
- func (m *OpenCensusConfig) GetStdoutExporterEnabled() bool
- func (m *OpenCensusConfig) GetTraceConfig() *v1.TraceConfig
- func (m *OpenCensusConfig) GetZipkinExporterEnabled() bool
- func (m *OpenCensusConfig) GetZipkinServiceName() string
- func (m *OpenCensusConfig) GetZipkinUrl() string
- func (m *OpenCensusConfig) Marshal() (dAtA []byte, err error)
- func (m *OpenCensusConfig) MarshalTo(dAtA []byte) (int, error)
- func (*OpenCensusConfig) ProtoMessage()
- func (m *OpenCensusConfig) Reset()
- func (m *OpenCensusConfig) Size() (n int)
- func (m *OpenCensusConfig) String() string
- func (m *OpenCensusConfig) Unmarshal(dAtA []byte) error
- func (m *OpenCensusConfig) Validate() error
- func (m *OpenCensusConfig) XXX_DiscardUnknown()
- func (m *OpenCensusConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OpenCensusConfig) XXX_Merge(src proto.Message)
- func (m *OpenCensusConfig) XXX_Size() int
- func (m *OpenCensusConfig) XXX_Unmarshal(b []byte) 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
- type TraceServiceConfig
- func (*TraceServiceConfig) Descriptor() ([]byte, []int)
- func (m *TraceServiceConfig) GetGrpcService() *core.GrpcService
- func (m *TraceServiceConfig) Marshal() (dAtA []byte, err error)
- func (m *TraceServiceConfig) MarshalTo(dAtA []byte) (int, error)
- func (*TraceServiceConfig) ProtoMessage()
- func (m *TraceServiceConfig) Reset()
- func (m *TraceServiceConfig) Size() (n int)
- func (m *TraceServiceConfig) String() string
- func (m *TraceServiceConfig) Unmarshal(dAtA []byte) error
- func (m *TraceServiceConfig) Validate() error
- func (m *TraceServiceConfig) XXX_DiscardUnknown()
- func (m *TraceServiceConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TraceServiceConfig) XXX_Merge(src proto.Message)
- func (m *TraceServiceConfig) XXX_Size() int
- func (m *TraceServiceConfig) XXX_Unmarshal(b []byte) error
- type TraceServiceConfigValidationError
- func (e TraceServiceConfigValidationError) Cause() error
- func (e TraceServiceConfigValidationError) Error() string
- func (e TraceServiceConfigValidationError) ErrorName() string
- func (e TraceServiceConfigValidationError) Field() string
- func (e TraceServiceConfigValidationError) Key() bool
- func (e TraceServiceConfigValidationError) Reason() string
- type Tracing
- func (*Tracing) Descriptor() ([]byte, []int)
- func (m *Tracing) GetHttp() *Tracing_Http
- func (m *Tracing) Marshal() (dAtA []byte, err error)
- func (m *Tracing) MarshalTo(dAtA []byte) (int, error)
- func (*Tracing) ProtoMessage()
- func (m *Tracing) Reset()
- func (m *Tracing) Size() (n int)
- func (m *Tracing) String() string
- func (m *Tracing) Unmarshal(dAtA []byte) error
- func (m *Tracing) Validate() error
- func (m *Tracing) XXX_DiscardUnknown()
- func (m *Tracing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Tracing) XXX_Merge(src proto.Message)
- func (m *Tracing) XXX_Size() int
- func (m *Tracing) XXX_Unmarshal(b []byte) error
- type TracingValidationError
- type Tracing_Http
- func (*Tracing_Http) Descriptor() ([]byte, []int)
- func (m *Tracing_Http) GetConfig() *types.Struct
- func (m *Tracing_Http) GetConfigType() isTracing_Http_ConfigType
- func (m *Tracing_Http) GetName() string
- func (m *Tracing_Http) GetTypedConfig() *types.Any
- func (m *Tracing_Http) Marshal() (dAtA []byte, err error)
- func (m *Tracing_Http) MarshalTo(dAtA []byte) (int, error)
- func (*Tracing_Http) ProtoMessage()
- func (m *Tracing_Http) Reset()
- func (m *Tracing_Http) Size() (n int)
- func (m *Tracing_Http) String() string
- func (m *Tracing_Http) Unmarshal(dAtA []byte) error
- func (m *Tracing_Http) Validate() error
- func (m *Tracing_Http) XXX_DiscardUnknown()
- func (m *Tracing_Http) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Tracing_Http) XXX_Merge(src proto.Message)
- func (*Tracing_Http) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Tracing_Http) XXX_Size() int
- func (m *Tracing_Http) XXX_Unmarshal(b []byte) error
- type Tracing_HttpValidationError
- func (e Tracing_HttpValidationError) Cause() error
- func (e Tracing_HttpValidationError) Error() string
- func (e Tracing_HttpValidationError) ErrorName() string
- func (e Tracing_HttpValidationError) Field() string
- func (e Tracing_HttpValidationError) Key() bool
- func (e Tracing_HttpValidationError) Reason() string
- type Tracing_Http_Config
- type Tracing_Http_TypedConfig
- type ZipkinConfig
- func (*ZipkinConfig) Descriptor() ([]byte, []int)
- func (m *ZipkinConfig) GetCollectorCluster() string
- func (m *ZipkinConfig) GetCollectorEndpoint() string
- func (m *ZipkinConfig) GetSharedSpanContext() *types.BoolValue
- func (m *ZipkinConfig) GetTraceId_128Bit() bool
- func (m *ZipkinConfig) Marshal() (dAtA []byte, err error)
- func (m *ZipkinConfig) MarshalTo(dAtA []byte) (int, error)
- func (*ZipkinConfig) ProtoMessage()
- func (m *ZipkinConfig) Reset()
- func (m *ZipkinConfig) Size() (n int)
- func (m *ZipkinConfig) String() string
- func (m *ZipkinConfig) Unmarshal(dAtA []byte) error
- func (m *ZipkinConfig) Validate() error
- func (m *ZipkinConfig) XXX_DiscardUnknown()
- func (m *ZipkinConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ZipkinConfig) XXX_Merge(src proto.Message)
- func (m *ZipkinConfig) XXX_Size() int
- func (m *ZipkinConfig) XXX_Unmarshal(b []byte) error
- type ZipkinConfigValidationError
- func (e ZipkinConfigValidationError) Cause() error
- func (e ZipkinConfigValidationError) Error() string
- func (e ZipkinConfigValidationError) ErrorName() string
- func (e ZipkinConfigValidationError) Field() string
- func (e ZipkinConfigValidationError) Key() bool
- func (e ZipkinConfigValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthTrace = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTrace = fmt.Errorf("proto: integer overflow") )
var OpenCensusConfig_TraceContext_name = map[int32]string{
0: "trace_context",
1: "grpc_trace_bin",
2: "cloud_trace_context",
}
var OpenCensusConfig_TraceContext_value = map[string]int32{
"trace_context": 0,
"grpc_trace_bin": 1,
"cloud_trace_context": 2,
}
Functions ¶
This section is empty.
Types ¶
type DatadogConfig ¶
type DatadogConfig struct { // The cluster to use for submitting traces to the Datadog agent. CollectorCluster string `protobuf:"bytes,1,opt,name=collector_cluster,json=collectorCluster,proto3" json:"collector_cluster,omitempty"` // 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.
func (*DatadogConfig) Descriptor ¶
func (*DatadogConfig) Descriptor() ([]byte, []int)
func (*DatadogConfig) GetCollectorCluster ¶
func (m *DatadogConfig) GetCollectorCluster() string
func (*DatadogConfig) GetServiceName ¶
func (m *DatadogConfig) GetServiceName() string
func (*DatadogConfig) Marshal ¶
func (m *DatadogConfig) Marshal() (dAtA []byte, err error)
func (*DatadogConfig) ProtoMessage ¶
func (*DatadogConfig) ProtoMessage()
func (*DatadogConfig) Reset ¶
func (m *DatadogConfig) Reset()
func (*DatadogConfig) Size ¶
func (m *DatadogConfig) Size() (n int)
func (*DatadogConfig) String ¶
func (m *DatadogConfig) String() string
func (*DatadogConfig) Unmarshal ¶
func (m *DatadogConfig) Unmarshal(dAtA []byte) error
func (*DatadogConfig) Validate ¶
func (m *DatadogConfig) Validate() error
Validate checks the field values on DatadogConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
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_Size ¶
func (m *DatadogConfig) XXX_Size() int
func (*DatadogConfig) XXX_Unmarshal ¶
func (m *DatadogConfig) XXX_Unmarshal(b []byte) error
type DatadogConfigValidationError ¶
type DatadogConfigValidationError struct {
// contains filtered or unexported fields
}
DatadogConfigValidationError is the validation error returned by DatadogConfig.Validate if the designated constraints aren't met.
func (DatadogConfigValidationError) Cause ¶
func (e DatadogConfigValidationError) Cause() error
Cause function returns cause value.
func (DatadogConfigValidationError) Error ¶
func (e DatadogConfigValidationError) Error() string
Error satisfies the builtin error interface
func (DatadogConfigValidationError) ErrorName ¶
func (e DatadogConfigValidationError) ErrorName() string
ErrorName returns error name.
func (DatadogConfigValidationError) Field ¶
func (e DatadogConfigValidationError) Field() string
Field function returns field value.
func (DatadogConfigValidationError) Key ¶
func (e DatadogConfigValidationError) Key() bool
Key function returns key value.
func (DatadogConfigValidationError) Reason ¶
func (e DatadogConfigValidationError) Reason() string
Reason function returns reason value.
type DynamicOtConfig ¶
type DynamicOtConfig struct { // Dynamic library implementing the `OpenTracing API // <https://github.com/opentracing/opentracing-cpp>`_. Library string `protobuf:"bytes,1,opt,name=library,proto3" json:"library,omitempty"` // The configuration to use when creating a tracer from the given dynamic // library. Config *types.Struct `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DynamicOtConfig is used to dynamically load a tracer from a shared library that implements the `OpenTracing dynamic loading API <https://github.com/opentracing/opentracing-cpp>`_.
func (*DynamicOtConfig) Descriptor ¶
func (*DynamicOtConfig) Descriptor() ([]byte, []int)
func (*DynamicOtConfig) GetConfig ¶
func (m *DynamicOtConfig) GetConfig() *types.Struct
func (*DynamicOtConfig) GetLibrary ¶
func (m *DynamicOtConfig) GetLibrary() string
func (*DynamicOtConfig) Marshal ¶
func (m *DynamicOtConfig) Marshal() (dAtA []byte, err error)
func (*DynamicOtConfig) ProtoMessage ¶
func (*DynamicOtConfig) ProtoMessage()
func (*DynamicOtConfig) Reset ¶
func (m *DynamicOtConfig) Reset()
func (*DynamicOtConfig) Size ¶
func (m *DynamicOtConfig) Size() (n int)
func (*DynamicOtConfig) String ¶
func (m *DynamicOtConfig) String() string
func (*DynamicOtConfig) Unmarshal ¶
func (m *DynamicOtConfig) Unmarshal(dAtA []byte) error
func (*DynamicOtConfig) Validate ¶
func (m *DynamicOtConfig) Validate() error
Validate checks the field values on DynamicOtConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*DynamicOtConfig) XXX_DiscardUnknown ¶
func (m *DynamicOtConfig) XXX_DiscardUnknown()
func (*DynamicOtConfig) XXX_Marshal ¶
func (m *DynamicOtConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DynamicOtConfig) XXX_Merge ¶
func (m *DynamicOtConfig) XXX_Merge(src proto.Message)
func (*DynamicOtConfig) XXX_Size ¶
func (m *DynamicOtConfig) XXX_Size() int
func (*DynamicOtConfig) XXX_Unmarshal ¶
func (m *DynamicOtConfig) XXX_Unmarshal(b []byte) error
type DynamicOtConfigValidationError ¶
type DynamicOtConfigValidationError struct {
// contains filtered or unexported fields
}
DynamicOtConfigValidationError is the validation error returned by DynamicOtConfig.Validate if the designated constraints aren't met.
func (DynamicOtConfigValidationError) Cause ¶
func (e DynamicOtConfigValidationError) Cause() error
Cause function returns cause value.
func (DynamicOtConfigValidationError) Error ¶
func (e DynamicOtConfigValidationError) Error() string
Error satisfies the builtin error interface
func (DynamicOtConfigValidationError) ErrorName ¶
func (e DynamicOtConfigValidationError) ErrorName() string
ErrorName returns error name.
func (DynamicOtConfigValidationError) Field ¶
func (e DynamicOtConfigValidationError) Field() string
Field function returns field value.
func (DynamicOtConfigValidationError) Key ¶
func (e DynamicOtConfigValidationError) Key() bool
Key function returns key value.
func (DynamicOtConfigValidationError) Reason ¶
func (e DynamicOtConfigValidationError) Reason() string
Reason function returns reason value.
type LightstepConfig ¶
type LightstepConfig struct { // The cluster manager cluster that hosts the LightStep collectors. CollectorCluster string `protobuf:"bytes,1,opt,name=collector_cluster,json=collectorCluster,proto3" json:"collector_cluster,omitempty"` // File containing the access token to the `LightStep // <https://lightstep.com/>`_ API. AccessTokenFile string `protobuf:"bytes,2,opt,name=access_token_file,json=accessTokenFile,proto3" json:"access_token_file,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Configuration for the LightStep tracer.
func (*LightstepConfig) Descriptor ¶
func (*LightstepConfig) Descriptor() ([]byte, []int)
func (*LightstepConfig) GetAccessTokenFile ¶
func (m *LightstepConfig) GetAccessTokenFile() string
func (*LightstepConfig) GetCollectorCluster ¶
func (m *LightstepConfig) GetCollectorCluster() string
func (*LightstepConfig) Marshal ¶
func (m *LightstepConfig) Marshal() (dAtA []byte, err error)
func (*LightstepConfig) ProtoMessage ¶
func (*LightstepConfig) ProtoMessage()
func (*LightstepConfig) Reset ¶
func (m *LightstepConfig) Reset()
func (*LightstepConfig) Size ¶
func (m *LightstepConfig) Size() (n int)
func (*LightstepConfig) String ¶
func (m *LightstepConfig) String() string
func (*LightstepConfig) Unmarshal ¶
func (m *LightstepConfig) Unmarshal(dAtA []byte) error
func (*LightstepConfig) Validate ¶
func (m *LightstepConfig) Validate() error
Validate checks the field values on LightstepConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*LightstepConfig) XXX_DiscardUnknown ¶
func (m *LightstepConfig) XXX_DiscardUnknown()
func (*LightstepConfig) XXX_Marshal ¶
func (m *LightstepConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LightstepConfig) XXX_Merge ¶
func (m *LightstepConfig) XXX_Merge(src proto.Message)
func (*LightstepConfig) XXX_Size ¶
func (m *LightstepConfig) XXX_Size() int
func (*LightstepConfig) XXX_Unmarshal ¶
func (m *LightstepConfig) XXX_Unmarshal(b []byte) error
type LightstepConfigValidationError ¶
type LightstepConfigValidationError struct {
// contains filtered or unexported fields
}
LightstepConfigValidationError is the validation error returned by LightstepConfig.Validate if the designated constraints aren't met.
func (LightstepConfigValidationError) Cause ¶
func (e LightstepConfigValidationError) Cause() error
Cause function returns cause value.
func (LightstepConfigValidationError) Error ¶
func (e LightstepConfigValidationError) Error() string
Error satisfies the builtin error interface
func (LightstepConfigValidationError) ErrorName ¶
func (e LightstepConfigValidationError) ErrorName() string
ErrorName returns error name.
func (LightstepConfigValidationError) Field ¶
func (e LightstepConfigValidationError) Field() string
Field function returns field value.
func (LightstepConfigValidationError) Key ¶
func (e LightstepConfigValidationError) Key() bool
Key function returns key value.
func (LightstepConfigValidationError) Reason ¶
func (e LightstepConfigValidationError) Reason() string
Reason function returns reason value.
type OpenCensusConfig ¶ added in v0.73.0
type OpenCensusConfig struct { // Configures tracing, e.g. the sampler, max number of annotations, etc. TraceConfig *v1.TraceConfig `protobuf:"bytes,1,opt,name=trace_config,json=traceConfig,proto3" json:"trace_config,omitempty"` // Enables the stdout exporter if set to true. This is intended for debugging // purposes. StdoutExporterEnabled bool `` /* 127-byte string literal not displayed */ // Enables the Stackdriver exporter if set to true. The project_id must also // be set. StackdriverExporterEnabled bool `` /* 142-byte string literal not displayed */ // The Cloud project_id to use for Stackdriver tracing. StackdriverProjectId string `protobuf:"bytes,4,opt,name=stackdriver_project_id,json=stackdriverProjectId,proto3" json:"stackdriver_project_id,omitempty"` // Enables the Zipkin exporter if set to true. The url and service name must // also be set. ZipkinExporterEnabled bool `` /* 127-byte string literal not displayed */ // The URL to Zipkin, e.g. "http://127.0.0.1:9411/api/v2/spans" ZipkinUrl string `protobuf:"bytes,6,opt,name=zipkin_url,json=zipkinUrl,proto3" json:"zipkin_url,omitempty"` // The Zipkin service name. ZipkinServiceName string `protobuf:"bytes,7,opt,name=zipkin_service_name,json=zipkinServiceName,proto3" json:"zipkin_service_name,omitempty"` // List of incoming trace context headers we will accept. First one found // wins. IncomingTraceContext []OpenCensusConfig_TraceContext `` /* 188-byte string literal not displayed */ // List of outgoing trace context headers we will produce. OutgoingTraceContext []OpenCensusConfig_TraceContext `` /* 188-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Configuration for the OpenCensus tracer. [#proto-status: experimental]
func (*OpenCensusConfig) Descriptor ¶ added in v0.73.0
func (*OpenCensusConfig) Descriptor() ([]byte, []int)
func (*OpenCensusConfig) GetIncomingTraceContext ¶ added in v0.73.0
func (m *OpenCensusConfig) GetIncomingTraceContext() []OpenCensusConfig_TraceContext
func (*OpenCensusConfig) GetOutgoingTraceContext ¶ added in v0.73.0
func (m *OpenCensusConfig) GetOutgoingTraceContext() []OpenCensusConfig_TraceContext
func (*OpenCensusConfig) GetStackdriverExporterEnabled ¶ added in v0.73.0
func (m *OpenCensusConfig) GetStackdriverExporterEnabled() bool
func (*OpenCensusConfig) GetStackdriverProjectId ¶ added in v0.73.0
func (m *OpenCensusConfig) GetStackdriverProjectId() string
func (*OpenCensusConfig) GetStdoutExporterEnabled ¶ added in v0.73.0
func (m *OpenCensusConfig) GetStdoutExporterEnabled() bool
func (*OpenCensusConfig) GetTraceConfig ¶ added in v0.73.0
func (m *OpenCensusConfig) GetTraceConfig() *v1.TraceConfig
func (*OpenCensusConfig) GetZipkinExporterEnabled ¶ added in v0.73.0
func (m *OpenCensusConfig) GetZipkinExporterEnabled() bool
func (*OpenCensusConfig) GetZipkinServiceName ¶ added in v0.73.0
func (m *OpenCensusConfig) GetZipkinServiceName() string
func (*OpenCensusConfig) GetZipkinUrl ¶ added in v0.73.0
func (m *OpenCensusConfig) GetZipkinUrl() string
func (*OpenCensusConfig) Marshal ¶ added in v0.73.0
func (m *OpenCensusConfig) Marshal() (dAtA []byte, err error)
func (*OpenCensusConfig) MarshalTo ¶ added in v0.73.0
func (m *OpenCensusConfig) MarshalTo(dAtA []byte) (int, error)
func (*OpenCensusConfig) ProtoMessage ¶ added in v0.73.0
func (*OpenCensusConfig) ProtoMessage()
func (*OpenCensusConfig) Reset ¶ added in v0.73.0
func (m *OpenCensusConfig) Reset()
func (*OpenCensusConfig) Size ¶ added in v0.73.0
func (m *OpenCensusConfig) Size() (n int)
func (*OpenCensusConfig) String ¶ added in v0.73.0
func (m *OpenCensusConfig) String() string
func (*OpenCensusConfig) Unmarshal ¶ added in v0.73.0
func (m *OpenCensusConfig) Unmarshal(dAtA []byte) error
func (*OpenCensusConfig) Validate ¶ added in v0.73.0
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.
func (*OpenCensusConfig) XXX_DiscardUnknown ¶ added in v0.73.0
func (m *OpenCensusConfig) XXX_DiscardUnknown()
func (*OpenCensusConfig) XXX_Marshal ¶ added in v0.73.0
func (m *OpenCensusConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OpenCensusConfig) XXX_Merge ¶ added in v0.73.0
func (m *OpenCensusConfig) XXX_Merge(src proto.Message)
func (*OpenCensusConfig) XXX_Size ¶ added in v0.73.0
func (m *OpenCensusConfig) XXX_Size() int
func (*OpenCensusConfig) XXX_Unmarshal ¶ added in v0.73.0
func (m *OpenCensusConfig) XXX_Unmarshal(b []byte) error
type OpenCensusConfigValidationError ¶ added in v0.73.0
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 ¶ added in v0.73.0
func (e OpenCensusConfigValidationError) Cause() error
Cause function returns cause value.
func (OpenCensusConfigValidationError) Error ¶ added in v0.73.0
func (e OpenCensusConfigValidationError) Error() string
Error satisfies the builtin error interface
func (OpenCensusConfigValidationError) ErrorName ¶ added in v0.73.0
func (e OpenCensusConfigValidationError) ErrorName() string
ErrorName returns error name.
func (OpenCensusConfigValidationError) Field ¶ added in v0.73.0
func (e OpenCensusConfigValidationError) Field() string
Field function returns field value.
func (OpenCensusConfigValidationError) Key ¶ added in v0.73.0
func (e OpenCensusConfigValidationError) Key() bool
Key function returns key value.
func (OpenCensusConfigValidationError) Reason ¶ added in v0.73.0
func (e OpenCensusConfigValidationError) Reason() string
Reason function returns reason value.
type OpenCensusConfig_TraceContext ¶ added in v0.73.0
type OpenCensusConfig_TraceContext int32
const ( // W3C Trace-Context format "traceparent:" header. OpenCensusConfig_trace_context OpenCensusConfig_TraceContext = 0 // Binary "grpc-trace-bin:" header. OpenCensusConfig_grpc_trace_bin OpenCensusConfig_TraceContext = 1 // "X-Cloud-Trace-Context:" header. OpenCensusConfig_cloud_trace_context OpenCensusConfig_TraceContext = 2 )
func (OpenCensusConfig_TraceContext) EnumDescriptor ¶ added in v0.73.0
func (OpenCensusConfig_TraceContext) EnumDescriptor() ([]byte, []int)
func (OpenCensusConfig_TraceContext) String ¶ added in v0.73.0
func (x OpenCensusConfig_TraceContext) String() string
type TraceServiceConfig ¶
type TraceServiceConfig struct { // The upstream gRPC cluster that hosts the metrics service. GrpcService *core.GrpcService `protobuf:"bytes,1,opt,name=grpc_service,json=grpcService,proto3" json:"grpc_service,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Configuration structure.
func (*TraceServiceConfig) Descriptor ¶
func (*TraceServiceConfig) Descriptor() ([]byte, []int)
func (*TraceServiceConfig) GetGrpcService ¶
func (m *TraceServiceConfig) GetGrpcService() *core.GrpcService
func (*TraceServiceConfig) Marshal ¶
func (m *TraceServiceConfig) Marshal() (dAtA []byte, err error)
func (*TraceServiceConfig) MarshalTo ¶
func (m *TraceServiceConfig) MarshalTo(dAtA []byte) (int, error)
func (*TraceServiceConfig) ProtoMessage ¶
func (*TraceServiceConfig) ProtoMessage()
func (*TraceServiceConfig) Reset ¶
func (m *TraceServiceConfig) Reset()
func (*TraceServiceConfig) Size ¶
func (m *TraceServiceConfig) Size() (n int)
func (*TraceServiceConfig) String ¶
func (m *TraceServiceConfig) String() string
func (*TraceServiceConfig) Unmarshal ¶
func (m *TraceServiceConfig) Unmarshal(dAtA []byte) error
func (*TraceServiceConfig) Validate ¶
func (m *TraceServiceConfig) Validate() error
Validate checks the field values on TraceServiceConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*TraceServiceConfig) XXX_DiscardUnknown ¶
func (m *TraceServiceConfig) XXX_DiscardUnknown()
func (*TraceServiceConfig) XXX_Marshal ¶
func (m *TraceServiceConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TraceServiceConfig) XXX_Merge ¶
func (m *TraceServiceConfig) XXX_Merge(src proto.Message)
func (*TraceServiceConfig) XXX_Size ¶
func (m *TraceServiceConfig) XXX_Size() int
func (*TraceServiceConfig) XXX_Unmarshal ¶
func (m *TraceServiceConfig) XXX_Unmarshal(b []byte) error
type TraceServiceConfigValidationError ¶
type TraceServiceConfigValidationError struct {
// contains filtered or unexported fields
}
TraceServiceConfigValidationError is the validation error returned by TraceServiceConfig.Validate if the designated constraints aren't met.
func (TraceServiceConfigValidationError) Cause ¶
func (e TraceServiceConfigValidationError) Cause() error
Cause function returns cause value.
func (TraceServiceConfigValidationError) Error ¶
func (e TraceServiceConfigValidationError) Error() string
Error satisfies the builtin error interface
func (TraceServiceConfigValidationError) ErrorName ¶
func (e TraceServiceConfigValidationError) ErrorName() string
ErrorName returns error name.
func (TraceServiceConfigValidationError) Field ¶
func (e TraceServiceConfigValidationError) Field() string
Field function returns field value.
func (TraceServiceConfigValidationError) Key ¶
func (e TraceServiceConfigValidationError) Key() bool
Key function returns key value.
func (TraceServiceConfigValidationError) Reason ¶
func (e TraceServiceConfigValidationError) Reason() string
Reason function returns reason value.
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 global settings for the HTTP tracer used by Envoy. The configuration is defined by the :ref:`Bootstrap <envoy_api_msg_config.bootstrap.v2.Bootstrap>` :ref:`tracing <envoy_api_field_config.bootstrap.v2.Bootstrap.tracing>` field. Envoy may support other tracers in the future, but right now the HTTP tracer is the only one supported.
func (*Tracing) Descriptor ¶
func (*Tracing) GetHttp ¶
func (m *Tracing) GetHttp() *Tracing_Http
func (*Tracing) ProtoMessage ¶
func (*Tracing) ProtoMessage()
func (*Tracing) Validate ¶
Validate checks the field values on Tracing with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Tracing) XXX_DiscardUnknown ¶
func (m *Tracing) XXX_DiscardUnknown()
func (*Tracing) XXX_Marshal ¶
func (*Tracing) XXX_Unmarshal ¶
type TracingValidationError ¶
type TracingValidationError struct {
// contains filtered or unexported fields
}
TracingValidationError is the validation error returned by Tracing.Validate if the designated constraints aren't met.
func (TracingValidationError) Cause ¶
func (e TracingValidationError) Cause() error
Cause function returns cause value.
func (TracingValidationError) Error ¶
func (e TracingValidationError) Error() string
Error satisfies the builtin error interface
func (TracingValidationError) ErrorName ¶
func (e TracingValidationError) ErrorName() string
ErrorName returns error name.
func (TracingValidationError) Field ¶
func (e TracingValidationError) Field() string
Field function returns field value.
func (TracingValidationError) Key ¶
func (e TracingValidationError) Key() bool
Key function returns key value.
func (TracingValidationError) Reason ¶
func (e TracingValidationError) Reason() string
Reason function returns reason value.
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.lightstep* // - *envoy.zipkin* // - *envoy.dynamic.ot* // - *envoy.tracers.datadog* // - *envoy.tracers.opencensus* 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.v2.LightstepConfig>` // - :ref:`ZipkinConfig <envoy_api_msg_config.trace.v2.ZipkinConfig>` // - :ref:`DynamicOtConfig <envoy_api_msg_config.trace.v2.DynamicOtConfig>` // - :ref:`DatadogConfig <envoy_api_msg_config.trace.v2.DatadogConfig>` // - :ref:`OpenCensusConfig <envoy_api_msg_config.trace.v2.OpenCensusConfig>` // // Types that are valid to be assigned to ConfigType: // *Tracing_Http_Config // *Tracing_Http_TypedConfig ConfigType isTracing_Http_ConfigType `protobuf_oneof:"config_type"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Tracing_Http) Descriptor ¶
func (*Tracing_Http) Descriptor() ([]byte, []int)
func (*Tracing_Http) GetConfig ¶
func (m *Tracing_Http) GetConfig() *types.Struct
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) Marshal ¶
func (m *Tracing_Http) Marshal() (dAtA []byte, err error)
func (*Tracing_Http) ProtoMessage ¶
func (*Tracing_Http) ProtoMessage()
func (*Tracing_Http) Reset ¶
func (m *Tracing_Http) Reset()
func (*Tracing_Http) Size ¶
func (m *Tracing_Http) Size() (n int)
func (*Tracing_Http) String ¶
func (m *Tracing_Http) String() string
func (*Tracing_Http) Unmarshal ¶
func (m *Tracing_Http) Unmarshal(dAtA []byte) error
func (*Tracing_Http) Validate ¶
func (m *Tracing_Http) Validate() error
Validate checks the field values on Tracing_Http with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
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_OneofFuncs ¶
func (*Tracing_Http) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs 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_HttpValidationError ¶
type Tracing_HttpValidationError struct {
// contains filtered or unexported fields
}
Tracing_HttpValidationError is the validation error returned by Tracing_Http.Validate if the designated constraints aren't met.
func (Tracing_HttpValidationError) Cause ¶
func (e Tracing_HttpValidationError) Cause() error
Cause function returns cause value.
func (Tracing_HttpValidationError) Error ¶
func (e Tracing_HttpValidationError) Error() string
Error satisfies the builtin error interface
func (Tracing_HttpValidationError) ErrorName ¶
func (e Tracing_HttpValidationError) ErrorName() string
ErrorName returns error name.
func (Tracing_HttpValidationError) Field ¶
func (e Tracing_HttpValidationError) Field() string
Field function returns field value.
func (Tracing_HttpValidationError) Key ¶
func (e Tracing_HttpValidationError) Key() bool
Key function returns key value.
func (Tracing_HttpValidationError) Reason ¶
func (e Tracing_HttpValidationError) Reason() string
Reason function returns reason value.
type Tracing_Http_Config ¶
type Tracing_Http_Config struct {
Config *types.Struct `protobuf:"bytes,2,opt,name=config,proto3,oneof"`
}
func (*Tracing_Http_Config) MarshalTo ¶
func (m *Tracing_Http_Config) MarshalTo(dAtA []byte) (int, error)
func (*Tracing_Http_Config) Size ¶
func (m *Tracing_Http_Config) Size() (n int)
type Tracing_Http_TypedConfig ¶
type Tracing_Http_TypedConfig struct {
TypedConfig *types.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof"`
}
func (*Tracing_Http_TypedConfig) MarshalTo ¶
func (m *Tracing_Http_TypedConfig) MarshalTo(dAtA []byte) (int, error)
func (*Tracing_Http_TypedConfig) Size ¶
func (m *Tracing_Http_TypedConfig) Size() (n int)
type ZipkinConfig ¶
type ZipkinConfig struct { // The cluster manager cluster that hosts the Zipkin collectors. Note that the // Zipkin cluster must be defined in the :ref:`Bootstrap static cluster // resources <envoy_api_field_config.bootstrap.v2.Bootstrap.StaticResources.clusters>`. CollectorCluster string `protobuf:"bytes,1,opt,name=collector_cluster,json=collectorCluster,proto3" json:"collector_cluster,omitempty"` // 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 shared the same span id. // The default value is true. XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ZipkinConfig) Descriptor ¶
func (*ZipkinConfig) Descriptor() ([]byte, []int)
func (*ZipkinConfig) GetCollectorCluster ¶
func (m *ZipkinConfig) GetCollectorCluster() string
func (*ZipkinConfig) GetCollectorEndpoint ¶
func (m *ZipkinConfig) GetCollectorEndpoint() string
func (*ZipkinConfig) GetSharedSpanContext ¶
func (m *ZipkinConfig) GetSharedSpanContext() *types.BoolValue
func (*ZipkinConfig) GetTraceId_128Bit ¶
func (m *ZipkinConfig) GetTraceId_128Bit() bool
func (*ZipkinConfig) Marshal ¶
func (m *ZipkinConfig) Marshal() (dAtA []byte, err error)
func (*ZipkinConfig) ProtoMessage ¶
func (*ZipkinConfig) ProtoMessage()
func (*ZipkinConfig) Reset ¶
func (m *ZipkinConfig) Reset()
func (*ZipkinConfig) Size ¶
func (m *ZipkinConfig) Size() (n int)
func (*ZipkinConfig) String ¶
func (m *ZipkinConfig) String() string
func (*ZipkinConfig) Unmarshal ¶
func (m *ZipkinConfig) Unmarshal(dAtA []byte) error
func (*ZipkinConfig) Validate ¶
func (m *ZipkinConfig) Validate() error
Validate checks the field values on ZipkinConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
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_Size ¶
func (m *ZipkinConfig) XXX_Size() int
func (*ZipkinConfig) XXX_Unmarshal ¶
func (m *ZipkinConfig) XXX_Unmarshal(b []byte) error
type ZipkinConfigValidationError ¶
type ZipkinConfigValidationError struct {
// contains filtered or unexported fields
}
ZipkinConfigValidationError is the validation error returned by ZipkinConfig.Validate if the designated constraints aren't met.
func (ZipkinConfigValidationError) Cause ¶
func (e ZipkinConfigValidationError) Cause() error
Cause function returns cause value.
func (ZipkinConfigValidationError) Error ¶
func (e ZipkinConfigValidationError) Error() string
Error satisfies the builtin error interface
func (ZipkinConfigValidationError) ErrorName ¶
func (e ZipkinConfigValidationError) ErrorName() string
ErrorName returns error name.
func (ZipkinConfigValidationError) Field ¶
func (e ZipkinConfigValidationError) Field() string
Field function returns field value.
func (ZipkinConfigValidationError) Key ¶
func (e ZipkinConfigValidationError) Key() bool
Key function returns key value.
func (ZipkinConfigValidationError) Reason ¶
func (e ZipkinConfigValidationError) Reason() string
Reason function returns reason value.