Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tracer ¶
type Tracer struct {
// contains filtered or unexported fields
}
func NewTracer ¶
func NewTracer(cfg *TracerConfig) *Tracer
basic tracer implementation of trace.Tracer, just adding some extra configuration
type TracerConfig ¶
type TracerConfig struct {
ServiceName string
Endpoint string
Logger logging.LoggerInterface
}
func NewTracerConfig ¶
func NewTracerConfig(serviceName, endpoint string, logger logging.LoggerInterface) *TracerConfig
Click to show internal directories.
Click to hide internal directories.