Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenTracer ¶
type OpenTracer interface { Tracer() opentracing.Tracer Close() error }
type ServiceTracer ¶
type ServiceTracer struct {
// contains filtered or unexported fields
}
func NewServiceTracer ¶
func NewServiceTracer(config config.OpenTracingConfig, tracer OpenTracer) *ServiceTracer
func (*ServiceTracer) Close ¶
func (tracer *ServiceTracer) Close() error
func (*ServiceTracer) TraceClient ¶
func (tracer *ServiceTracer) TraceClient(operationName string, tags map[string]interface{}) (*TraceRecord, error)
func (*ServiceTracer) TraceServer ¶
func (tracer *ServiceTracer) TraceServer(operationName string, carrier opentracing.TextMapCarrier, tags map[string]interface{}) (*TraceRecord, error)
type TraceRecord ¶
type TraceRecord struct {
// contains filtered or unexported fields
}
func (*TraceRecord) Carrier ¶
func (record *TraceRecord) Carrier() opentracing.TextMapCarrier
func (*TraceRecord) Finish ¶
func (record *TraceRecord) Finish()
Click to show internal directories.
Click to hide internal directories.