Documentation ¶
Overview ¶
Package common defines the common types and functions used by the packages logs, metrics and traces.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidKeyMap = errors.New("invalid key map") ErrUnsupportedCborType = errors.New("unsupported cbor type") ErrInvalidTypeConversion = errors.New("invalid type conversion") ErrInvalidSpanIDLength = errors.New("invalid span id length") ErrInvalidTraceIDLength = errors.New("invalid trace id length") ErrNotArraySparseUnion = errors.New("not an arrow array.SparseUnion") ErrNotArrayMap = errors.New("not an arrow array.Map") )
Functions ¶
func Deserialize ¶
Deserialize deserializes the given CBOR byte array into a pcommon.value.
func MixUpArrowRecords ¶
func MixUpArrowRecords(rng *rand.Rand, record arrow.Record, relatedRecords []*record_message.RecordMessage) (bool, arrow.Record, []*record_message.RecordMessage)
Types ¶
type AttributeEntries ¶
type AttributeEntries []AttributeEntry
func (AttributeEntries) Len ¶
func (ae AttributeEntries) Len() int
func (AttributeEntries) Less ¶
func (ae AttributeEntries) Less(i, j int) bool
func (AttributeEntries) Swap ¶
func (ae AttributeEntries) Swap(i, j int)
type AttributeEntry ¶
Directories ¶
Path | Synopsis |
---|---|
Package arrow contains common types and functions used to convert OTLP entities into their Arrow representation.
|
Package arrow contains common types and functions used to convert OTLP entities into their Arrow representation. |
Package otlp contains common types and functions used to convert OTLP Arrow entities into their OTLP representation.
|
Package otlp contains common types and functions used to convert OTLP Arrow entities into their OTLP representation. |
Click to show internal directories.
Click to hide internal directories.