Versions in this module Expand all Collapse all v0 v0.6.2 Jan 4, 2021 Changes in this version + func BuildJaegerThrift(span *Span) *j.Span + func Init() + type Config struct + BatchSize int + Endpoint string + type HTTPBasicAuthCredentials struct + type HTTPOption func(c *HTTPTransport) + func HTTPBasicAuth(username string, password string) HTTPOption + func HTTPBatchSize(n int) HTTPOption + func HTTPHeaders(headers map[string]string) HTTPOption + func HTTPRoundTripper(transport http.RoundTripper) HTTPOption + func HTTPTimeout(duration time.Duration) HTTPOption + type HTTPTransport struct + func NewHTTPTransport(url string, options ...HTTPOption) *HTTPTransport + func (c *HTTPTransport) Append(span *Span) (int, error) + func (c *HTTPTransport) Close() error + func (c *HTTPTransport) Flush() (int, error) + type JaegerReporter struct + func (r *JaegerReporter) WriteSpan(raw *trace.Span) (err error) + func (rpt *JaegerReporter) Close() error + type Reference struct + Context SpanContext + Type opentracing.SpanReferenceType + type Span struct + func (s *Span) BaggageItem(key string) string + func (s *Span) Context() opentracing.SpanContext + func (s *Span) Duration() time.Duration + func (s *Span) Finish() + func (s *Span) FinishWithOptions(options opentracing.FinishOptions) + func (s *Span) Log(ld 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) Logs() []opentracing.LogRecord + func (s *Span) OperationName() string + func (s *Span) References() []opentracing.SpanReference + func (s *Span) Release() + func (s *Span) Retain() *Span + func (s *Span) ServiceName() string + func (s *Span) SetBaggageItem(key, 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) SpanContext() SpanContext + func (s *Span) StartTime() time.Time + func (s *Span) String() string + func (s *Span) Tags() opentracing.Tags + func (s *Span) Tracer() opentracing.Tracer + type SpanContext struct + func ContextFromString(value string) (SpanContext, error) + func NewSpanContext(traceID TraceID, spanID, parentID SpanID, sampled bool, ...) SpanContext + func (c *SpanContext) CopyFrom(ctx *SpanContext) + func (c SpanContext) ExtendedSamplingState(key interface{}, initValue func() interface{}) interface{} + func (c SpanContext) Flags() byte + func (c SpanContext) ForeachBaggageItem(handler func(k, v string) bool) + func (c SpanContext) IsDebug() bool + func (c SpanContext) IsFirehose() bool + func (c SpanContext) IsSampled() bool + func (c SpanContext) IsSamplingFinalized() bool + func (c SpanContext) IsValid() bool + func (c SpanContext) ParentID() SpanID + func (c SpanContext) SetFirehose() + func (c SpanContext) SpanID() SpanID + func (c SpanContext) String() string + func (c SpanContext) TraceID() TraceID + func (c SpanContext) WithBaggageItem(key, value string) SpanContext + type SpanID uint64 + func SpanIDFromString(s string) (SpanID, error) + func (s SpanID) String() string + type Tag struct + func NewTag(key string, value interface{}) Tag + type TraceID struct + High uint64 + Low uint64 + func TraceIDFromString(s string) (TraceID, error) + func (t TraceID) IsValid() bool + func (t TraceID) String() string