package
2.3.0+incompatible
Repository: https://github.com/jaegertracing/jaeger.git
Documentation: pkg.go.dev

# Packages

Package adjuster contains various adjusters for model.Trace.
Package converter contains various utilities for converting model.Trace to/from other data modes, like Thrift, or UI JSON.
Package json defines the external JSON representation for Jaeger traces.

# Constants

These constants are kept mostly for backwards compatibility.
These constants are kept mostly for backwards compatibility.
ChildOf span reference type describes a reference to a parent span that depends on the response from the current (child) span.
DebugFlag is the bit set in Flags in order to define a span as a debug span.
FirehoseFlag is the bit in Flags in order to define a span as a firehose span.
These constants are kept mostly for backwards compatibility.
FollowsFrom span reference type describes a reference to a "parent" span that does not depend on the response from the current (child) span.
These constants are kept mostly for backwards compatibility.
JaegerDependencyLinkSource describes a dependency diagram that was generated from Jaeger traces.
SampledFlag is the bit set in Flags in order to define a span as a sampled span.
These constants are kept mostly for backwards compatibility.
These constants are kept mostly for backwards compatibility.
These constants are kept mostly for backwards compatibility.
These constants are kept mostly for backwards compatibility.

# Variables

Binary creates a Binary-typed KeyValue.
Bool creates a Bool-typed KeyValue.
DurationAsMicroseconds converts time.Duration to microseconds, which is the format the Duration field is stored in the Span.
EpochMicrosecondsAsTime converts microseconds since epoch to time.Time value.
Float64 creates a Float64-typed KeyValue.
HashCode calculates a FNV-1a hash code for a Hashable object.
Int64 creates a Int64-typed KeyValue.
MaybeAddParentSpanID adds non-zero parentSpanID to refs as a child-of reference.
MicrosecondsAsDuration converts duration in microseconds to time.Duration value.
NewChildOfRef creates a new child-of span reference.
NewFollowsFromRef creates a new follows-from span reference.
NewProcess creates a new Process for given serviceName and tags.
NewSpanID creates a new SpanID from a 64bit unsigned int.
NewTraceID creates a new TraceID from two 64bit unsigned ints.
SortSpan deep sorts a span: this sorts its tags, logs by timestamp, tags in logs, and tags in process.
SortTrace deep sorts a trace's spans by SpanID.
SortTraceIDs sorts a list of TraceIDs.
SortTraces deep sorts a list of traces by TraceID.
SpanIDFromBytes creates a SpandID from list of bytes.
SpanIDFromString creates a SpanID from a hexadecimal string.
String creates a String-typed KeyValue.
TimeAsEpochMicroseconds converts time.Time to microseconds since epoch, which is the format the StartTime field is stored in the Span.
TraceIDFromBytes creates a TraceID from list of bytes.
TraceIDFromString creates a TraceID from a hexadecimal string.

# Type aliases

Note that both Span and Batch may contain a Process.
Flags is a bit map of flags for a span.
Hashable interface is for type that can participate in a hash computation by writing their data into io.Writer, which is usually an instance of hash.Hash.
KeyValues is a type alias that exposes convenience functions like Sort, FindByKey.
SpanID is a random 64bit identifier for a span.
TraceID is a random 128bit identifier for a trace.