envoy_extensions_tracers_lightstep_v4alpha

package
v0.9.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
var File_envoy_extensions_tracers_lightstep_v4alpha_lightstep_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

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.
	//
	// Deprecated: Do not use.
	HiddenEnvoyDeprecatedAccessTokenFile string `` /* 177-byte string literal not displayed */
	// Access token to the `LightStep <https://lightstep.com/>`_ API.
	AccessToken *v4alpha.DataSource `protobuf:"bytes,4,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	// Propagation modes to use by LightStep's tracer.
	PropagationModes []LightstepConfig_PropagationMode `` /* 197-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*LightstepConfig) Descriptor deprecated

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

Deprecated: Use LightstepConfig.ProtoReflect.Descriptor instead.

func (*LightstepConfig) GetAccessToken added in v0.9.9

func (x *LightstepConfig) GetAccessToken() *v4alpha.DataSource

func (*LightstepConfig) GetCollectorCluster

func (x *LightstepConfig) GetCollectorCluster() string

func (*LightstepConfig) GetHiddenEnvoyDeprecatedAccessTokenFile deprecated added in v0.9.9

func (x *LightstepConfig) GetHiddenEnvoyDeprecatedAccessTokenFile() string

Deprecated: Do not use.

func (*LightstepConfig) GetPropagationModes

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

func (*LightstepConfig) ProtoMessage

func (*LightstepConfig) ProtoMessage()

func (*LightstepConfig) ProtoReflect

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

func (*LightstepConfig) Reset

func (x *LightstepConfig) Reset()

func (*LightstepConfig) String

func (x *LightstepConfig) String() string

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.

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

Cause function returns cause value.

func (LightstepConfigValidationError) Error

Error satisfies the builtin error interface

func (LightstepConfigValidationError) ErrorName

func (e LightstepConfigValidationError) ErrorName() string

ErrorName returns error name.

func (LightstepConfigValidationError) Field

Field function returns field value.

func (LightstepConfigValidationError) Key

Key function returns key value.

func (LightstepConfigValidationError) Reason

Reason function returns reason value.

type LightstepConfig_PropagationMode

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

func (LightstepConfig_PropagationMode) Enum

func (LightstepConfig_PropagationMode) EnumDescriptor deprecated

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

Deprecated: Use LightstepConfig_PropagationMode.Descriptor instead.

func (LightstepConfig_PropagationMode) Number

func (LightstepConfig_PropagationMode) String

func (LightstepConfig_PropagationMode) Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL