package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Functions

MessageToJSONString converts a protocol message into a JSON string.
RecordingTypeFromCarrierValue decodes a recording type carried by a carrier.
RecordingTypeFromProto converts from the proto values to the corresponding enum.

# Constants

AnonymousTagGroupName is the name of the anonymous tag group.
LogMessageField is the field name used for the log message in a LogRecord.
RecordingOff means that the Span discards events passed in.
RecordingStructured means that the Span discards events passed in through Recordf(), but collects events passed in through RecordStructured(), as well as information about child spans (their name, start and stop time).
RecordingVerbose means that the Span collects events passed in through Recordf() in its recording.

# Structs

OperationAndMetadata contains information about a tracing span operation and its corresponding metadata.
TraceCollection is the format accepted by the Jaegar upload feature, as per https://github.com/jaegertracing/jaeger-ui/issues/381#issuecomment-494150826.

# Type aliases

Recording represents a group of RecordedSpans rooted at a fixed root span, as returned by GetRecording.
RecordingType is the type of recording that a Span might be performing.
SpanID is a probabilistically-unique span id.
TraceID is a probabilistically-unique id, shared by all spans in a trace.