Documentation ¶
Index ¶
- Variables
- type DatadogConfig
- func (*DatadogConfig) Descriptor() ([]byte, []int)
- func (m *DatadogConfig) GetCollectorCluster() string
- func (m *DatadogConfig) GetServiceName() string
- func (*DatadogConfig) ProtoMessage()
- func (m *DatadogConfig) Reset()
- func (m *DatadogConfig) String() string
- 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 DynamicOtConfig
- func (*DynamicOtConfig) Descriptor() ([]byte, []int)
- func (m *DynamicOtConfig) GetConfig() *types.Struct
- func (m *DynamicOtConfig) GetLibrary() string
- func (*DynamicOtConfig) ProtoMessage()
- func (m *DynamicOtConfig) Reset()
- func (m *DynamicOtConfig) String() string
- 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 LightstepConfig
- func (*LightstepConfig) Descriptor() ([]byte, []int)
- func (m *LightstepConfig) GetAccessTokenFile() string
- func (m *LightstepConfig) GetCollectorCluster() string
- func (*LightstepConfig) ProtoMessage()
- func (m *LightstepConfig) Reset()
- func (m *LightstepConfig) String() string
- 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 OpenCensusConfig
- func (*OpenCensusConfig) Descriptor() ([]byte, []int)
- func (m *OpenCensusConfig) GetIncomingTraceContext() []OpenCensusConfig_TraceContext
- func (m *OpenCensusConfig) GetOcagentAddress() string
- func (m *OpenCensusConfig) GetOcagentExporterEnabled() bool
- func (m *OpenCensusConfig) GetOutgoingTraceContext() []OpenCensusConfig_TraceContext
- func (m *OpenCensusConfig) GetStackdriverAddress() string
- 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) GetZipkinUrl() string
- func (*OpenCensusConfig) ProtoMessage()
- func (m *OpenCensusConfig) Reset()
- func (m *OpenCensusConfig) String() string
- 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 OpenCensusConfig_TraceContext
- type TraceServiceConfig
- func (*TraceServiceConfig) Descriptor() ([]byte, []int)
- func (m *TraceServiceConfig) GetGrpcService() *core.GrpcService
- func (*TraceServiceConfig) ProtoMessage()
- func (m *TraceServiceConfig) Reset()
- func (m *TraceServiceConfig) String() string
- 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 Tracing
- func (*Tracing) Descriptor() ([]byte, []int)
- func (m *Tracing) GetHttp() *Tracing_Http
- func (*Tracing) ProtoMessage()
- func (m *Tracing) Reset()
- func (m *Tracing) String() string
- 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 Tracing_Http
- func (*Tracing_Http) Descriptor() ([]byte, []int)
- func (m *Tracing_Http) GetConfig() *types.Structdeprecated
- func (m *Tracing_Http) GetConfigType() isTracing_Http_ConfigType
- func (m *Tracing_Http) GetName() string
- func (m *Tracing_Http) GetTypedConfig() *types.Any
- func (*Tracing_Http) ProtoMessage()
- func (m *Tracing_Http) Reset()
- func (m *Tracing_Http) String() string
- 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_OneofWrappers() []interface{}
- func (m *Tracing_Http) XXX_Size() int
- func (m *Tracing_Http) XXX_Unmarshal(b []byte) error
- type Tracing_Http_Config
- type Tracing_Http_TypedConfig
- type XRayConfig
- func (*XRayConfig) Descriptor() ([]byte, []int)
- func (m *XRayConfig) GetDaemonEndpoint() string
- func (m *XRayConfig) GetSamplingRuleManifest() *core.DataSource
- func (m *XRayConfig) GetSegmentName() string
- func (*XRayConfig) ProtoMessage()
- func (m *XRayConfig) Reset()
- func (m *XRayConfig) String() string
- func (m *XRayConfig) XXX_DiscardUnknown()
- func (m *XRayConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *XRayConfig) XXX_Merge(src proto.Message)
- func (m *XRayConfig) XXX_Size() int
- func (m *XRayConfig) XXX_Unmarshal(b []byte) error
- type ZipkinConfig
- func (*ZipkinConfig) Descriptor() ([]byte, []int)
- func (m *ZipkinConfig) GetCollectorCluster() string
- func (m *ZipkinConfig) GetCollectorEndpoint() string
- func (m *ZipkinConfig) GetCollectorEndpointVersion() ZipkinConfig_CollectorEndpointVersion
- func (m *ZipkinConfig) GetSharedSpanContext() *types.BoolValue
- func (m *ZipkinConfig) GetTraceId_128Bit() bool
- func (*ZipkinConfig) ProtoMessage()
- func (m *ZipkinConfig) Reset()
- func (m *ZipkinConfig) String() string
- 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 ZipkinConfig_CollectorEndpointVersion
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",
}
var OpenCensusConfig_TraceContext_value = map[string]int32{
"NONE": 0,
"TRACE_CONTEXT": 1,
"GRPC_TRACE_BIN": 2,
"CLOUD_TRACE_CONTEXT": 3,
"B3": 4,
}
var ZipkinConfig_CollectorEndpointVersion_name = map[int32]string{
0: "HTTP_JSON_V1",
1: "HTTP_JSON",
2: "HTTP_PROTO",
3: "GRPC",
}
var ZipkinConfig_CollectorEndpointVersion_value = map[string]int32{
"HTTP_JSON_V1": 0,
"HTTP_JSON": 1,
"HTTP_PROTO": 2,
"GRPC": 3,
}
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) 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_Size ¶
func (m *DatadogConfig) XXX_Size() int
func (*DatadogConfig) XXX_Unmarshal ¶
func (m *DatadogConfig) XXX_Unmarshal(b []byte) error
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) ProtoMessage ¶
func (*DynamicOtConfig) ProtoMessage()
func (*DynamicOtConfig) Reset ¶
func (m *DynamicOtConfig) Reset()
func (*DynamicOtConfig) String ¶
func (m *DynamicOtConfig) String() string
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 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) ProtoMessage ¶
func (*LightstepConfig) ProtoMessage()
func (*LightstepConfig) Reset ¶
func (m *LightstepConfig) Reset()
func (*LightstepConfig) String ¶
func (m *LightstepConfig) String() string
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 OpenCensusConfig ¶
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"` // (optional) By default, the Stackdriver exporter will connect to production // Stackdriver. If stackdriver_address is non-empty, it will instead connect // to this address, which is in the gRPC format: // https://github.com/grpc/grpc/blob/master/doc/naming.md StackdriverAddress string `protobuf:"bytes,10,opt,name=stackdriver_address,json=stackdriverAddress,proto3" json:"stackdriver_address,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"` // Enables the OpenCensus Agent exporter if set to true. The address must also // be set. OcagentExporterEnabled bool `` /* 131-byte string literal not displayed */ // The address of the OpenCensus Agent, if its exporter is enabled, in gRPC // format: https://github.com/grpc/grpc/blob/master/doc/naming.md OcagentAddress string `protobuf:"bytes,12,opt,name=ocagent_address,json=ocagentAddress,proto3" json:"ocagent_address,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. [#next-free-field: 13]
func (*OpenCensusConfig) Descriptor ¶
func (*OpenCensusConfig) Descriptor() ([]byte, []int)
func (*OpenCensusConfig) GetIncomingTraceContext ¶
func (m *OpenCensusConfig) GetIncomingTraceContext() []OpenCensusConfig_TraceContext
func (*OpenCensusConfig) GetOcagentAddress ¶
func (m *OpenCensusConfig) GetOcagentAddress() string
func (*OpenCensusConfig) GetOcagentExporterEnabled ¶
func (m *OpenCensusConfig) GetOcagentExporterEnabled() bool
func (*OpenCensusConfig) GetOutgoingTraceContext ¶
func (m *OpenCensusConfig) GetOutgoingTraceContext() []OpenCensusConfig_TraceContext
func (*OpenCensusConfig) GetStackdriverAddress ¶
func (m *OpenCensusConfig) GetStackdriverAddress() string
func (*OpenCensusConfig) GetStackdriverExporterEnabled ¶
func (m *OpenCensusConfig) GetStackdriverExporterEnabled() bool
func (*OpenCensusConfig) GetStackdriverProjectId ¶
func (m *OpenCensusConfig) GetStackdriverProjectId() string
func (*OpenCensusConfig) GetStdoutExporterEnabled ¶
func (m *OpenCensusConfig) GetStdoutExporterEnabled() bool
func (*OpenCensusConfig) GetTraceConfig ¶
func (m *OpenCensusConfig) GetTraceConfig() *v1.TraceConfig
func (*OpenCensusConfig) GetZipkinExporterEnabled ¶
func (m *OpenCensusConfig) GetZipkinExporterEnabled() bool
func (*OpenCensusConfig) GetZipkinUrl ¶
func (m *OpenCensusConfig) GetZipkinUrl() string
func (*OpenCensusConfig) ProtoMessage ¶
func (*OpenCensusConfig) ProtoMessage()
func (*OpenCensusConfig) Reset ¶
func (m *OpenCensusConfig) Reset()
func (*OpenCensusConfig) String ¶
func (m *OpenCensusConfig) String() string
func (*OpenCensusConfig) XXX_DiscardUnknown ¶
func (m *OpenCensusConfig) XXX_DiscardUnknown()
func (*OpenCensusConfig) XXX_Marshal ¶
func (m *OpenCensusConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OpenCensusConfig) XXX_Merge ¶
func (m *OpenCensusConfig) XXX_Merge(src proto.Message)
func (*OpenCensusConfig) XXX_Size ¶
func (m *OpenCensusConfig) XXX_Size() int
func (*OpenCensusConfig) XXX_Unmarshal ¶
func (m *OpenCensusConfig) XXX_Unmarshal(b []byte) error
type OpenCensusConfig_TraceContext ¶
type OpenCensusConfig_TraceContext int32
const ( // No-op default, no trace context is utilized. OpenCensusConfig_NONE OpenCensusConfig_TraceContext = 0 // W3C Trace-Context format "traceparent:" header. OpenCensusConfig_TRACE_CONTEXT OpenCensusConfig_TraceContext = 1 // Binary "grpc-trace-bin:" header. OpenCensusConfig_GRPC_TRACE_BIN OpenCensusConfig_TraceContext = 2 // "X-Cloud-Trace-Context:" header. OpenCensusConfig_CLOUD_TRACE_CONTEXT OpenCensusConfig_TraceContext = 3 // X-B3-* headers. OpenCensusConfig_B3 OpenCensusConfig_TraceContext = 4 )
func (OpenCensusConfig_TraceContext) EnumDescriptor ¶
func (OpenCensusConfig_TraceContext) EnumDescriptor() ([]byte, []int)
func (OpenCensusConfig_TraceContext) String ¶
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) ProtoMessage ¶
func (*TraceServiceConfig) ProtoMessage()
func (*TraceServiceConfig) Reset ¶
func (m *TraceServiceConfig) Reset()
func (*TraceServiceConfig) String ¶
func (m *TraceServiceConfig) String() string
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 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) XXX_DiscardUnknown ¶
func (m *Tracing) XXX_DiscardUnknown()
func (*Tracing) XXX_Marshal ¶
func (*Tracing) XXX_Unmarshal ¶
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* // - *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.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>` // [#comment: TODO(marco) when XRay is implemented, uncomment the following; - :ref:`XRayConfig // <envoy_api_msg_config.trace.v2.XRayConfig>`] // // 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
deprecated
func (m *Tracing_Http) GetConfig() *types.Struct
Deprecated: Do not use.
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_Config ¶
type XRayConfig ¶
type XRayConfig struct { // The endpoint of the X-Ray Daemon where the spans will be sent. Since by default daemon // listens to localhost:2000, so the default value is 127.0.0.1:2000. DaemonEndpoint string `protobuf:"bytes,1,opt,name=daemon_endpoint,json=daemonEndpoint,proto3" json:"daemon_endpoint,omitempty"` // The custom name to name a X-Ray segment. By default will use cluster name. SegmentName string `protobuf:"bytes,2,opt,name=segment_name,json=segmentName,proto3" json:"segment_name,omitempty"` // The location of custom sampling rule json file. SamplingRuleManifest *core.DataSource `protobuf:"bytes,3,opt,name=sampling_rule_manifest,json=samplingRuleManifest,proto3" json:"sampling_rule_manifest,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
[#not-implemented-hide:] Configuration for AWS X-Ray tracer.
func (*XRayConfig) Descriptor ¶
func (*XRayConfig) Descriptor() ([]byte, []int)
func (*XRayConfig) GetDaemonEndpoint ¶
func (m *XRayConfig) GetDaemonEndpoint() string
func (*XRayConfig) GetSamplingRuleManifest ¶
func (m *XRayConfig) GetSamplingRuleManifest() *core.DataSource
func (*XRayConfig) GetSegmentName ¶
func (m *XRayConfig) GetSegmentName() string
func (*XRayConfig) ProtoMessage ¶
func (*XRayConfig) ProtoMessage()
func (*XRayConfig) Reset ¶
func (m *XRayConfig) Reset()
func (*XRayConfig) String ¶
func (m *XRayConfig) String() string
func (*XRayConfig) XXX_DiscardUnknown ¶
func (m *XRayConfig) XXX_DiscardUnknown()
func (*XRayConfig) XXX_Marshal ¶
func (m *XRayConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*XRayConfig) XXX_Merge ¶
func (m *XRayConfig) XXX_Merge(src proto.Message)
func (*XRayConfig) XXX_Size ¶
func (m *XRayConfig) XXX_Size() int
func (*XRayConfig) XXX_Unmarshal ¶
func (m *XRayConfig) XXX_Unmarshal(b []byte) error
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"` // 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. [#next-free-field: 6]
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) GetCollectorEndpointVersion ¶
func (m *ZipkinConfig) GetCollectorEndpointVersion() ZipkinConfig_CollectorEndpointVersion
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_Size ¶
func (m *ZipkinConfig) XXX_Size() int
func (*ZipkinConfig) XXX_Unmarshal ¶
func (m *ZipkinConfig) XXX_Unmarshal(b []byte) error
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_HTTP_JSON_V1 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 // [#not-implemented-hide:] ZipkinConfig_GRPC ZipkinConfig_CollectorEndpointVersion = 3 )
func (ZipkinConfig_CollectorEndpointVersion) EnumDescriptor ¶
func (ZipkinConfig_CollectorEndpointVersion) EnumDescriptor() ([]byte, []int)
func (ZipkinConfig_CollectorEndpointVersion) String ¶
func (x ZipkinConfig_CollectorEndpointVersion) String() string