go-control-plane: github.com/envoyproxy/go-control-plane/envoy/extensions/tracers/datadog/v4alpha Index | Files

package envoy_extensions_tracers_datadog_v4alpha

import "github.com/envoyproxy/go-control-plane/envoy/extensions/tracers/datadog/v4alpha"


Package Files

datadog.pb.go datadog.pb.validate.go


var File_envoy_extensions_tracers_datadog_v4alpha_datadog_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.

Package envoy_extensions_tracers_datadog_v4alpha imports 18 packages (graph) and is imported by 6 packages. Updated 2021-01-08. Refresh now. Tools for package owners.