# Functions
Bool creates a BOOL Value.
EmptySpanContext is meant for internal use to return invalid span context during error conditions.
Float32 creates a FLOAT32 Value.
Float64 creates a FLOAT64 Value.
Int creates either an INT32 or an INT64 Value, depending on whether the int type is 32 or 64 bits wide.
Int32 creates an INT32 Value.
Int64 creates an INT64 Value.
NewFloat64Number creates a floating point Number.
NewInt64Number creates an integral Number.
NewNumberFromRaw creates a new Number from a raw value.
NewInt64Number creates an integral Number.
SpanIDFromHex returns a SpanID from a hex string if it is compliant with the w3c trace-context specification.
String creates a STRING Value.
TraceIDFromHex returns a TraceID from a hex string if it is compliant with the w3c trace-context specification.
Uint creates either a UINT32 or a UINT64 Value, depending on whether the uint type is 32 or 64 bits wide.
Uint32 creates a UINT32 Value.
Uint64 creates a UINT64 Value.
# Constants
Boolean value, use AsBool() to get it.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
32 bit floating point value, use AsFloat32() to get it.
64 bit floating point value, use AsFloat64() to get it.
Float64NumberKind means that the Number stores float64.
32 bit signed integral value, use AsInt32() to get it.
64 bit signed integral value, use AsInt64() to get it.
Int64NumberKind means that the Number stores int64.
No value.
String value, use AsString() to get it.
TraceFlagsSampled is a byte with sampled bit set.
No description provided by the author
32 bit unsigned integral value, use AsUint32() to get it.
64 bit unsigned integral value, use AsUint64() to get it.
Uint64NumberKind means that the Number stores uint64.
# Structs
KeyValue holds a key and value pair.
SpanContext contains basic information about the span - its trace ID, span ID and trace flags.
Value represents the value part in key-value pairs.
# Type aliases
Key represents the key part in key-value pairs.
Number represents either an integral or a floating point value.
NumberKind describes the data type of the Number.
SpanID is a unique identify of a span in a trace.
TraceID is a unique identity of a trace.
ValueType describes the type of the data Value holds.