Documentation ¶
Index ¶
- Variables
- type Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetEndpoint() string
- func (x *Config) GetEnv() string
- func (x *Config) GetServiceName() string
- func (x *Config) GetTimeout() *durationpb.Duration
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
- type Tracer
Constants ¶
This section is empty.
Variables ¶
View Source
var File_pkg_component_trace_trace_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` ServiceName string `protobuf:"bytes,2,opt,name=serviceName,proto3" json:"serviceName,omitempty"` Env string `protobuf:"bytes,3,opt,name=env,proto3" json:"env,omitempty"` Timeout *durationpb.Duration `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty"` // contains filtered or unexported fields }
func (*Config) Descriptor
deprecated
func (*Config) GetEndpoint ¶
func (*Config) GetServiceName ¶
func (*Config) GetTimeout ¶
func (x *Config) GetTimeout() *durationpb.Duration
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
type Tracer ¶
type Tracer struct {
// contains filtered or unexported fields
}
func (*Tracer) TracerProvider ¶
func (t *Tracer) TracerProvider() *sdktrace.TracerProvider
Click to show internal directories.
Click to hide internal directories.