go-control-plane: github.com/envoyproxy/go-control-plane/envoy/config/trace/v2 Index | Files

package envoy_config_trace_v2

import "github.com/envoyproxy/go-control-plane/envoy/config/trace/v2"

Index

Package Files

datadog.pb.go datadog.pb.validate.go dynamic_ot.pb.go dynamic_ot.pb.validate.go http_tracer.pb.go http_tracer.pb.validate.go lightstep.pb.go lightstep.pb.validate.go opencensus.pb.go opencensus.pb.validate.go service.pb.go service.pb.validate.go trace.pb.go trace.pb.validate.go zipkin.pb.go zipkin.pb.validate.go

Variables

var (
    LightstepConfig_PropagationMode_name = map[int32]string{
        0:  "ENVOY",
        1:  "LIGHTSTEP",
        2:  "B3",
        3:  "TRACE_CONTEXT",
    }
    LightstepConfig_PropagationMode_value = map[string]int32{
        "ENVOY":         0,
        "LIGHTSTEP":     1,
        "B3":            2,
        "TRACE_CONTEXT": 3,
    }
)

Enum value maps for LightstepConfig_PropagationMode.

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 (
    ZipkinConfig_CollectorEndpointVersion_name = map[int32]string{
        0:  "HTTP_JSON_V1",
        1:  "HTTP_JSON",
        2:  "HTTP_PROTO",
        3:  "GRPC",
    }
    ZipkinConfig_CollectorEndpointVersion_value = map[string]int32{
        "HTTP_JSON_V1": 0,
        "HTTP_JSON":    1,
        "HTTP_PROTO":   2,
        "GRPC":         3,
    }
)

Enum value maps for ZipkinConfig_CollectorEndpointVersion.

var File_envoy_config_trace_v2_datadog_proto protoreflect.FileDescriptor
var File_envoy_config_trace_v2_dynamic_ot_proto protoreflect.FileDescriptor
var File_envoy_config_trace_v2_http_tracer_proto protoreflect.FileDescriptor
var File_envoy_config_trace_v2_lightstep_proto protoreflect.FileDescriptor
var File_envoy_config_trace_v2_opencensus_proto protoreflect.FileDescriptor
var File_envoy_config_trace_v2_service_proto protoreflect.FileDescriptor
var File_envoy_config_trace_v2_trace_proto protoreflect.FileDescriptor
var File_envoy_config_trace_v2_zipkin_proto protoreflect.FileDescriptor

type DatadogConfig Uses

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"`
    // contains filtered or unexported fields
}

Configuration for the Datadog tracer. [#extension: envoy.tracers.datadog]

func (*DatadogConfig) Descriptor Uses

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

Deprecated: Use DatadogConfig.ProtoReflect.Descriptor instead.

func (*DatadogConfig) GetCollectorCluster Uses

func (x *DatadogConfig) GetCollectorCluster() string

func (*DatadogConfig) GetServiceName Uses

func (x *DatadogConfig) GetServiceName() string

func (*DatadogConfig) ProtoMessage Uses

func (*DatadogConfig) ProtoMessage()

func (*DatadogConfig) ProtoReflect Uses

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

func (*DatadogConfig) Reset Uses

func (x *DatadogConfig) Reset()

func (*DatadogConfig) String Uses

func (x *DatadogConfig) String() string

func (*DatadogConfig) Validate Uses

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.

type DatadogConfigValidationError Uses

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 Uses

func (e DatadogConfigValidationError) Cause() error

Cause function returns cause value.

func (DatadogConfigValidationError) Error Uses

func (e DatadogConfigValidationError) Error() string

Error satisfies the builtin error interface

func (DatadogConfigValidationError) ErrorName Uses

func (e DatadogConfigValidationError) ErrorName() string

ErrorName returns error name.

func (DatadogConfigValidationError) Field Uses

func (e DatadogConfigValidationError) Field() string

Field function returns field value.

func (DatadogConfigValidationError) Key Uses

func (e DatadogConfigValidationError) Key() bool

Key function returns key value.

func (DatadogConfigValidationError) Reason Uses

func (e DatadogConfigValidationError) Reason() string

Reason function returns reason value.

type DynamicOtConfig Uses

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 *_struct.Struct `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
    // contains filtered or unexported fields
}

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>`_. [#extension: envoy.tracers.dynamic_ot]

func (*DynamicOtConfig) Descriptor Uses

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

Deprecated: Use DynamicOtConfig.ProtoReflect.Descriptor instead.

func (*DynamicOtConfig) GetConfig Uses

func (x *DynamicOtConfig) GetConfig() *_struct.Struct

func (*DynamicOtConfig) GetLibrary Uses

func (x *DynamicOtConfig) GetLibrary() string

func (*DynamicOtConfig) ProtoMessage Uses

func (*DynamicOtConfig) ProtoMessage()

func (*DynamicOtConfig) ProtoReflect Uses

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

func (*DynamicOtConfig) Reset Uses

func (x *DynamicOtConfig) Reset()

func (*DynamicOtConfig) String Uses

func (x *DynamicOtConfig) String() string

func (*DynamicOtConfig) Validate Uses

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.

type DynamicOtConfigValidationError Uses

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 Uses

func (e DynamicOtConfigValidationError) Cause() error

Cause function returns cause value.

func (DynamicOtConfigValidationError) Error Uses

func (e DynamicOtConfigValidationError) Error() string

Error satisfies the builtin error interface

func (DynamicOtConfigValidationError) ErrorName Uses

func (e DynamicOtConfigValidationError) ErrorName() string

ErrorName returns error name.

func (DynamicOtConfigValidationError) Field Uses

func (e DynamicOtConfigValidationError) Field() string

Field function returns field value.

func (DynamicOtConfigValidationError) Key Uses

func (e DynamicOtConfigValidationError) Key() bool

Key function returns key value.

func (DynamicOtConfigValidationError) Reason Uses

func (e DynamicOtConfigValidationError) Reason() string

Reason function returns reason value.

type LightstepConfig Uses

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"`
    // Propagation modes to use by LightStep's tracer.
    PropagationModes []LightstepConfig_PropagationMode `protobuf:"varint,3,rep,packed,name=propagation_modes,json=propagationModes,proto3,enum=envoy.config.trace.v2.LightstepConfig_PropagationMode" json:"propagation_modes,omitempty"`
    // contains filtered or unexported fields
}

Configuration for the LightStep tracer. [#extension: envoy.tracers.lightstep]

func (*LightstepConfig) Descriptor Uses

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

Deprecated: Use LightstepConfig.ProtoReflect.Descriptor instead.

func (*LightstepConfig) GetAccessTokenFile Uses

func (x *LightstepConfig) GetAccessTokenFile() string

func (*LightstepConfig) GetCollectorCluster Uses

func (x *LightstepConfig) GetCollectorCluster() string

func (*LightstepConfig) GetPropagationModes Uses

func (x *LightstepConfig) GetPropagationModes() []LightstepConfig_PropagationMode

func (*LightstepConfig) ProtoMessage Uses

func (*LightstepConfig) ProtoMessage()

func (*LightstepConfig) ProtoReflect Uses

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

func (*LightstepConfig) Reset Uses

func (x *LightstepConfig) Reset()

func (*LightstepConfig) String Uses

func (x *LightstepConfig) String() string

func (*LightstepConfig) Validate Uses

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.

type LightstepConfigValidationError Uses

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 Uses

func (e LightstepConfigValidationError) Cause() error

Cause function returns cause value.

func (LightstepConfigValidationError) Error Uses

func (e LightstepConfigValidationError) Error() string

Error satisfies the builtin error interface

func (LightstepConfigValidationError) ErrorName Uses

func (e LightstepConfigValidationError) ErrorName() string

ErrorName returns error name.

func (LightstepConfigValidationError) Field Uses

func (e LightstepConfigValidationError) Field() string

Field function returns field value.

func (LightstepConfigValidationError) Key Uses

func (e LightstepConfigValidationError) Key() bool

Key function returns key value.

func (LightstepConfigValidationError) Reason Uses

func (e LightstepConfigValidationError) Reason() string

Reason function returns reason value.

type LightstepConfig_PropagationMode Uses

type LightstepConfig_PropagationMode int32

Available propagation modes

const (
    // Propagate trace context in the single header x-ot-span-context.
    LightstepConfig_ENVOY LightstepConfig_PropagationMode = 0
    // Propagate trace context using LightStep's native format.
    LightstepConfig_LIGHTSTEP LightstepConfig_PropagationMode = 1
    // Propagate trace context using the b3 format.
    LightstepConfig_B3 LightstepConfig_PropagationMode = 2
    // Propagation trace context using the w3 trace-context standard.
    LightstepConfig_TRACE_CONTEXT LightstepConfig_PropagationMode = 3
)

func (LightstepConfig_PropagationMode) Descriptor Uses

func (LightstepConfig_PropagationMode) Descriptor() protoreflect.EnumDescriptor

func (LightstepConfig_PropagationMode) Enum Uses

func (x LightstepConfig_PropagationMode) Enum() *LightstepConfig_PropagationMode

func (LightstepConfig_PropagationMode) EnumDescriptor Uses

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

Deprecated: Use LightstepConfig_PropagationMode.Descriptor instead.

func (LightstepConfig_PropagationMode) Number Uses

func (x LightstepConfig_PropagationMode) Number() protoreflect.EnumNumber

func (LightstepConfig_PropagationMode) String Uses

func (x LightstepConfig_PropagationMode) String() string

func (LightstepConfig_PropagationMode) Type Uses

func (LightstepConfig_PropagationMode) Type() protoreflect.EnumType

type OpenCensusConfig Uses

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 `protobuf:"varint,2,opt,name=stdout_exporter_enabled,json=stdoutExporterEnabled,proto3" json:"stdout_exporter_enabled,omitempty"`
    // Enables the Stackdriver exporter if set to true. The project_id must also
    // be set.
    StackdriverExporterEnabled bool `protobuf:"varint,3,opt,name=stackdriver_exporter_enabled,json=stackdriverExporterEnabled,proto3" json:"stackdriver_exporter_enabled,omitempty"`
    // 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"`
    // (optional) The gRPC server that hosts Stackdriver tracing service. Only
    // Google gRPC is supported. If :ref:`target_uri <envoy_v3_api_field_config.core.v3.GrpcService.GoogleGrpc.target_uri>`
    // is not provided, the default production Stackdriver address will be used.
    StackdriverGrpcService *core.GrpcService `protobuf:"bytes,13,opt,name=stackdriver_grpc_service,json=stackdriverGrpcService,proto3" json:"stackdriver_grpc_service,omitempty"`
    // Enables the Zipkin exporter if set to true. The url and service name must
    // also be set.
    ZipkinExporterEnabled bool `protobuf:"varint,5,opt,name=zipkin_exporter_enabled,json=zipkinExporterEnabled,proto3" json:"zipkin_exporter_enabled,omitempty"`
    // 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 ocagent_address or
    // ocagent_grpc_service must also be set.
    OcagentExporterEnabled bool `protobuf:"varint,11,opt,name=ocagent_exporter_enabled,json=ocagentExporterEnabled,proto3" json:"ocagent_exporter_enabled,omitempty"`
    // The address of the OpenCensus Agent, if its exporter is enabled, in gRPC
    // format: https://github.com/grpc/grpc/blob/master/doc/naming.md
    // [#comment:TODO: deprecate this field]
    OcagentAddress string `protobuf:"bytes,12,opt,name=ocagent_address,json=ocagentAddress,proto3" json:"ocagent_address,omitempty"`
    // (optional) The gRPC server hosted by the OpenCensus Agent. Only Google gRPC is supported.
    // This is only used if the ocagent_address is left empty.
    OcagentGrpcService *core.GrpcService `protobuf:"bytes,14,opt,name=ocagent_grpc_service,json=ocagentGrpcService,proto3" json:"ocagent_grpc_service,omitempty"`
    // List of incoming trace context headers we will accept. First one found
    // wins.
    IncomingTraceContext []OpenCensusConfig_TraceContext `protobuf:"varint,8,rep,packed,name=incoming_trace_context,json=incomingTraceContext,proto3,enum=envoy.config.trace.v2.OpenCensusConfig_TraceContext" json:"incoming_trace_context,omitempty"`
    // List of outgoing trace context headers we will produce.
    OutgoingTraceContext []OpenCensusConfig_TraceContext `protobuf:"varint,9,rep,packed,name=outgoing_trace_context,json=outgoingTraceContext,proto3,enum=envoy.config.trace.v2.OpenCensusConfig_TraceContext" json:"outgoing_trace_context,omitempty"`
    // contains filtered or unexported fields
}

Configuration for the OpenCensus tracer. [#next-free-field: 15] [#extension: envoy.tracers.opencensus]

func (*OpenCensusConfig) Descriptor Uses

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

Deprecated: Use OpenCensusConfig.ProtoReflect.Descriptor instead.

func (*OpenCensusConfig) GetIncomingTraceContext Uses

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

func (*OpenCensusConfig) GetOcagentAddress Uses

func (x *OpenCensusConfig) GetOcagentAddress() string

func (*OpenCensusConfig) GetOcagentExporterEnabled Uses

func (x *OpenCensusConfig) GetOcagentExporterEnabled() bool

func (*OpenCensusConfig) GetOcagentGrpcService Uses

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

func (*OpenCensusConfig) GetOutgoingTraceContext Uses

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

func (*OpenCensusConfig) GetStackdriverAddress Uses

func (x *OpenCensusConfig) GetStackdriverAddress() string

func (*OpenCensusConfig) GetStackdriverExporterEnabled Uses

func (x *OpenCensusConfig) GetStackdriverExporterEnabled() bool

func (*OpenCensusConfig) GetStackdriverGrpcService Uses

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

func (*OpenCensusConfig) GetStackdriverProjectId Uses

func (x *OpenCensusConfig) GetStackdriverProjectId() string

func (*OpenCensusConfig) GetStdoutExporterEnabled Uses

func (x *OpenCensusConfig) GetStdoutExporterEnabled() bool

func (*OpenCensusConfig) GetTraceConfig Uses

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

func (*OpenCensusConfig) GetZipkinExporterEnabled Uses

func (x *OpenCensusConfig) GetZipkinExporterEnabled() bool

func (*OpenCensusConfig) GetZipkinUrl Uses

func (x *OpenCensusConfig) GetZipkinUrl() string

func (*OpenCensusConfig) ProtoMessage Uses

func (*OpenCensusConfig) ProtoMessage()

func (*OpenCensusConfig) ProtoReflect Uses

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

func (*OpenCensusConfig) Reset Uses

func (x *OpenCensusConfig) Reset()

func (*OpenCensusConfig) String Uses

func (x *OpenCensusConfig) String() string

func (*OpenCensusConfig) Validate Uses

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 Uses

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 Uses

func (e OpenCensusConfigValidationError) Cause() error

Cause function returns cause value.

func (OpenCensusConfigValidationError) Error Uses

func (e OpenCensusConfigValidationError) Error() string

Error satisfies the builtin error interface

func (OpenCensusConfigValidationError) ErrorName Uses

func (e OpenCensusConfigValidationError) ErrorName() string

ErrorName returns error name.

func (OpenCensusConfigValidationError) Field Uses

func (e OpenCensusConfigValidationError) Field() string

Field function returns field value.

func (OpenCensusConfigValidationError) Key Uses

func (e OpenCensusConfigValidationError) Key() bool

Key function returns key value.

func (OpenCensusConfigValidationError) Reason Uses

func (e OpenCensusConfigValidationError) Reason() string

Reason function returns reason value.

type OpenCensusConfig_TraceContext Uses

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) Descriptor Uses

func (OpenCensusConfig_TraceContext) Descriptor() protoreflect.EnumDescriptor

func (OpenCensusConfig_TraceContext) Enum Uses

func (x OpenCensusConfig_TraceContext) Enum() *OpenCensusConfig_TraceContext

func (OpenCensusConfig_TraceContext) EnumDescriptor Uses

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

Deprecated: Use OpenCensusConfig_TraceContext.Descriptor instead.

func (OpenCensusConfig_TraceContext) Number Uses

func (x OpenCensusConfig_TraceContext) Number() protoreflect.EnumNumber

func (OpenCensusConfig_TraceContext) String Uses

func (x OpenCensusConfig_TraceContext) String() string

func (OpenCensusConfig_TraceContext) Type Uses

func (OpenCensusConfig_TraceContext) Type() protoreflect.EnumType

type TraceServiceConfig Uses

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"`
    // contains filtered or unexported fields
}

Configuration structure.

func (*TraceServiceConfig) Descriptor Uses

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

Deprecated: Use TraceServiceConfig.ProtoReflect.Descriptor instead.

func (*TraceServiceConfig) GetGrpcService Uses

func (x *TraceServiceConfig) GetGrpcService() *core.GrpcService

func (*TraceServiceConfig) ProtoMessage Uses

func (*TraceServiceConfig) ProtoMessage()

func (*TraceServiceConfig) ProtoReflect Uses

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

func (*TraceServiceConfig) Reset Uses

func (x *TraceServiceConfig) Reset()

func (*TraceServiceConfig) String Uses

func (x *TraceServiceConfig) String() string

func (*TraceServiceConfig) Validate Uses

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.

type TraceServiceConfigValidationError Uses

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 Uses

func (e TraceServiceConfigValidationError) Cause() error

Cause function returns cause value.

func (TraceServiceConfigValidationError) Error Uses

func (e TraceServiceConfigValidationError) Error() string

Error satisfies the builtin error interface

func (TraceServiceConfigValidationError) ErrorName Uses

func (e TraceServiceConfigValidationError) ErrorName() string

ErrorName returns error name.

func (TraceServiceConfigValidationError) Field Uses

func (e TraceServiceConfigValidationError) Field() string

Field function returns field value.

func (TraceServiceConfigValidationError) Key Uses

func (e TraceServiceConfigValidationError) Key() bool

Key function returns key value.

func (TraceServiceConfigValidationError) Reason Uses

func (e TraceServiceConfigValidationError) Reason() string

Reason function returns reason value.

type Tracing Uses

type Tracing struct {

    // Provides configuration for the HTTP tracer.
    Http *Tracing_Http `protobuf:"bytes,1,opt,name=http,proto3" json:"http,omitempty"`
    // contains filtered or unexported fields
}

The tracing configuration specifies settings for an HTTP tracer provider used by Envoy.

Envoy may support other tracers in the future, but right now the HTTP tracer is the only one supported.

.. attention::

Use of this message type has been deprecated in favor of direct use of
:ref:`Tracing.Http <envoy_api_msg_config.trace.v2.Tracing.Http>`.

func (*Tracing) Descriptor Uses

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

Deprecated: Use Tracing.ProtoReflect.Descriptor instead.

func (*Tracing) GetHttp Uses

func (x *Tracing) GetHttp() *Tracing_Http

func (*Tracing) ProtoMessage Uses

func (*Tracing) ProtoMessage()

func (*Tracing) ProtoReflect Uses

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

func (*Tracing) Reset Uses

func (x *Tracing) Reset()

func (*Tracing) String Uses

func (x *Tracing) String() string

func (*Tracing) Validate Uses

func (m *Tracing) Validate() error

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.

type TracingValidationError Uses

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 Uses

func (e TracingValidationError) Cause() error

Cause function returns cause value.

func (TracingValidationError) Error Uses

func (e TracingValidationError) Error() string

Error satisfies the builtin error interface

func (TracingValidationError) ErrorName Uses

func (e TracingValidationError) ErrorName() string

ErrorName returns error name.

func (TracingValidationError) Field Uses

func (e TracingValidationError) Field() string

Field function returns field value.

func (TracingValidationError) Key Uses

func (e TracingValidationError) Key() bool

Key function returns key value.

func (TracingValidationError) Reason Uses

func (e TracingValidationError) Reason() string

Reason function returns reason value.

type Tracing_Http Uses

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.tracers.lightstep*
    // - *envoy.tracers.zipkin*
    // - *envoy.tracers.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>`
    // - :ref:`AWS X-Ray <envoy_api_msg_config.trace.v2alpha.XRayConfig>`
    //
    // Types that are assignable to ConfigType:
    //	*Tracing_Http_Config
    //	*Tracing_Http_TypedConfig
    ConfigType isTracing_Http_ConfigType `protobuf_oneof:"config_type"`
    // contains filtered or unexported fields
}

Configuration for an HTTP tracer provider used by Envoy.

The configuration is defined by the :ref:`HttpConnectionManager.Tracing <envoy_api_msg_config.filter.network.http_connection_manager.v2.HttpConnectionManager.Tracing>` :ref:`provider <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.Tracing.provider>` field.

func (*Tracing_Http) Descriptor Uses

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

Deprecated: Use Tracing_Http.ProtoReflect.Descriptor instead.

func (*Tracing_Http) GetConfig Uses

func (x *Tracing_Http) GetConfig() *_struct.Struct

Deprecated: Do not use.

func (*Tracing_Http) GetConfigType Uses

func (m *Tracing_Http) GetConfigType() isTracing_Http_ConfigType

func (*Tracing_Http) GetName Uses

func (x *Tracing_Http) GetName() string

func (*Tracing_Http) GetTypedConfig Uses

func (x *Tracing_Http) GetTypedConfig() *any.Any

func (*Tracing_Http) ProtoMessage Uses

func (*Tracing_Http) ProtoMessage()

func (*Tracing_Http) ProtoReflect Uses

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

func (*Tracing_Http) Reset Uses

func (x *Tracing_Http) Reset()

func (*Tracing_Http) String Uses

func (x *Tracing_Http) String() string

func (*Tracing_Http) Validate Uses

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.

type Tracing_HttpValidationError Uses

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 Uses

func (e Tracing_HttpValidationError) Cause() error

Cause function returns cause value.

func (Tracing_HttpValidationError) Error Uses

func (e Tracing_HttpValidationError) Error() string

Error satisfies the builtin error interface

func (Tracing_HttpValidationError) ErrorName Uses

func (e Tracing_HttpValidationError) ErrorName() string

ErrorName returns error name.

func (Tracing_HttpValidationError) Field Uses

func (e Tracing_HttpValidationError) Field() string

Field function returns field value.

func (Tracing_HttpValidationError) Key Uses

func (e Tracing_HttpValidationError) Key() bool

Key function returns key value.

func (Tracing_HttpValidationError) Reason Uses

func (e Tracing_HttpValidationError) Reason() string

Reason function returns reason value.

type Tracing_Http_Config Uses

type Tracing_Http_Config struct {
    // Deprecated: Do not use.
    Config *_struct.Struct `protobuf:"bytes,2,opt,name=config,proto3,oneof"`
}

type Tracing_Http_TypedConfig Uses

type Tracing_Http_TypedConfig struct {
    TypedConfig *any.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof"`
}

type ZipkinConfig Uses

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 share the same span context.
    // The default value is true.
    SharedSpanContext *wrappers.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 `protobuf:"varint,5,opt,name=collector_endpoint_version,json=collectorEndpointVersion,proto3,enum=envoy.config.trace.v2.ZipkinConfig_CollectorEndpointVersion" json:"collector_endpoint_version,omitempty"`
    // contains filtered or unexported fields
}

Configuration for the Zipkin tracer. [#extension: envoy.tracers.zipkin] [#next-free-field: 6]

func (*ZipkinConfig) Descriptor Uses

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

Deprecated: Use ZipkinConfig.ProtoReflect.Descriptor instead.

func (*ZipkinConfig) GetCollectorCluster Uses

func (x *ZipkinConfig) GetCollectorCluster() string

func (*ZipkinConfig) GetCollectorEndpoint Uses

func (x *ZipkinConfig) GetCollectorEndpoint() string

func (*ZipkinConfig) GetCollectorEndpointVersion Uses

func (x *ZipkinConfig) GetCollectorEndpointVersion() ZipkinConfig_CollectorEndpointVersion

func (*ZipkinConfig) GetSharedSpanContext Uses

func (x *ZipkinConfig) GetSharedSpanContext() *wrappers.BoolValue

func (*ZipkinConfig) GetTraceId_128Bit Uses

func (x *ZipkinConfig) GetTraceId_128Bit() bool

func (*ZipkinConfig) ProtoMessage Uses

func (*ZipkinConfig) ProtoMessage()

func (*ZipkinConfig) ProtoReflect Uses

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

func (*ZipkinConfig) Reset Uses

func (x *ZipkinConfig) Reset()

func (*ZipkinConfig) String Uses

func (x *ZipkinConfig) String() string

func (*ZipkinConfig) Validate Uses

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.

type ZipkinConfigValidationError Uses

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 Uses

func (e ZipkinConfigValidationError) Cause() error

Cause function returns cause value.

func (ZipkinConfigValidationError) Error Uses

func (e ZipkinConfigValidationError) Error() string

Error satisfies the builtin error interface

func (ZipkinConfigValidationError) ErrorName Uses

func (e ZipkinConfigValidationError) ErrorName() string

ErrorName returns error name.

func (ZipkinConfigValidationError) Field Uses

func (e ZipkinConfigValidationError) Field() string

Field function returns field value.

func (ZipkinConfigValidationError) Key Uses

func (e ZipkinConfigValidationError) Key() bool

Key function returns key value.

func (ZipkinConfigValidationError) Reason Uses

func (e ZipkinConfigValidationError) Reason() string

Reason function returns reason value.

type ZipkinConfig_CollectorEndpointVersion Uses

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.]
    //
    // Deprecated: Do not use.
    ZipkinConfig_HTTP_JSON_V1 ZipkinConfig_CollectorEndpointVersion = 0
    // 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) Descriptor Uses

func (ZipkinConfig_CollectorEndpointVersion) Descriptor() protoreflect.EnumDescriptor

func (ZipkinConfig_CollectorEndpointVersion) Enum Uses

func (x ZipkinConfig_CollectorEndpointVersion) Enum() *ZipkinConfig_CollectorEndpointVersion

func (ZipkinConfig_CollectorEndpointVersion) EnumDescriptor Uses

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

Deprecated: Use ZipkinConfig_CollectorEndpointVersion.Descriptor instead.

func (ZipkinConfig_CollectorEndpointVersion) Number Uses

func (x ZipkinConfig_CollectorEndpointVersion) Number() protoreflect.EnumNumber

func (ZipkinConfig_CollectorEndpointVersion) String Uses

func (x ZipkinConfig_CollectorEndpointVersion) String() string

func (ZipkinConfig_CollectorEndpointVersion) Type Uses

func (ZipkinConfig_CollectorEndpointVersion) Type() protoreflect.EnumType

Package envoy_config_trace_v2 imports 24 packages (graph) and is imported by 12 packages. Updated 2021-01-08. Refresh now. Tools for package owners.