Documentation ¶
Index ¶
- Constants
- func Load(opts map[string]interface{}) (*config.ZipkinConfig, error)
- func NewTracer(zip *zipkin.Tracer) *zipkinTracer
- type Span
- func (Span) BaggageItem(restrictedKey string) string
- func (s Span) Context() opentracing.SpanContext
- func (s Span) Finish()
- func (s Span) FinishWithOptions(opts opentracing.FinishOptions)
- func (s Span) Log(data opentracing.LogData)
- func (s Span) LogEvent(event string)
- func (s Span) LogEventWithPayload(event string, payload interface{})
- func (s Span) LogFields(fields ...log.Field)
- func (s Span) LogKV(alternatingKeyValues ...interface{})
- func (s Span) SetBaggageItem(restrictedKey, value string) opentracing.Span
- func (s Span) SetOperationName(operationName string) opentracing.Span
- func (s Span) SetTag(key string, value interface{}) opentracing.Span
- func (s Span) Tracer() opentracing.Tracer
- type Tracer
Constants ¶
View Source
const Name = "zipkin"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Span ¶
type Span struct {
// contains filtered or unexported fields
}
func (Span) BaggageItem ¶
func (Span) Context ¶
func (s Span) Context() opentracing.SpanContext
func (Span) FinishWithOptions ¶
func (s Span) FinishWithOptions(opts opentracing.FinishOptions)
func (Span) Log ¶
func (s Span) Log(data opentracing.LogData)
func (Span) LogEventWithPayload ¶
func (Span) SetBaggageItem ¶
func (s Span) SetBaggageItem(restrictedKey, value string) opentracing.Span
func (Span) SetOperationName ¶
func (s Span) SetOperationName(operationName string) opentracing.Span
func (Span) Tracer ¶
func (s Span) Tracer() opentracing.Tracer
Click to show internal directories.
Click to hide internal directories.