v1

package
v0.0.0-...-b5b7d89 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_gateway_middleware_tracing_v1_tracing_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Tracing

type Tracing struct {

	// report endpoint url
	HttpEndpoint string `protobuf:"bytes,1,opt,name=http_endpoint,json=httpEndpoint,proto3" json:"http_endpoint,omitempty"`
	// sample ratio
	SampleRatio *float32 `protobuf:"fixed32,2,opt,name=sample_ratio,json=sampleRatio,proto3,oneof" json:"sample_ratio,omitempty"`
	// report timeout
	Timeout *durationpb.Duration `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// ssl
	Insecure *bool `protobuf:"varint,5,opt,name=insecure,proto3,oneof" json:"insecure,omitempty"`
	// contains filtered or unexported fields
}

Tracing middleware config.

func (*Tracing) Descriptor deprecated

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

Deprecated: Use Tracing.ProtoReflect.Descriptor instead.

func (*Tracing) GetHttpEndpoint

func (x *Tracing) GetHttpEndpoint() string

func (*Tracing) GetInsecure

func (x *Tracing) GetInsecure() bool

func (*Tracing) GetSampleRatio

func (x *Tracing) GetSampleRatio() float32

func (*Tracing) GetTimeout

func (x *Tracing) GetTimeout() *durationpb.Duration

func (*Tracing) ProtoMessage

func (*Tracing) ProtoMessage()

func (*Tracing) ProtoReflect

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

func (*Tracing) Reset

func (x *Tracing) Reset()

func (*Tracing) String

func (x *Tracing) String() string

Jump to

Keyboard shortcuts

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