Documentation ¶
Index ¶
- Variables
- type AnyValue
- type ArrayValue
- type InstrumentationLibrary
- func (m *InstrumentationLibrary) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *InstrumentationLibrary) MarshalToVT(dAtA []byte) (int, error)
- func (m *InstrumentationLibrary) MarshalVT() (dAtA []byte, err error)
- func (m *InstrumentationLibrary) SizeVT() (n int)
- func (m *InstrumentationLibrary) UnmarshalVT(dAtA []byte) error
- type KeyValue
- type KeyValueList
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type AnyValue ¶
type AnyValue struct {
// contains filtered or unexported fields
}
AnyValue is used to represent any type of attribute value. AnyValue may contain a primitive value such as a string or integer or it may contain an arbitrary nested object containing arrays, key-value lists and primitives.
func (*AnyValue) MarshalToSizedBufferVT ¶
func (*AnyValue) UnmarshalVT ¶
type ArrayValue ¶
type ArrayValue struct {
// contains filtered or unexported fields
}
ArrayValue is a list of AnyValue messages. We need ArrayValue as a message since oneof in AnyValue does not allow repeated fields.
func (*ArrayValue) MarshalToSizedBufferVT ¶
func (m *ArrayValue) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ArrayValue) MarshalToVT ¶
func (m *ArrayValue) MarshalToVT(dAtA []byte) (int, error)
func (*ArrayValue) MarshalVT ¶
func (m *ArrayValue) MarshalVT() (dAtA []byte, err error)
func (*ArrayValue) SizeVT ¶
func (m *ArrayValue) SizeVT() (n int)
func (*ArrayValue) UnmarshalVT ¶
func (m *ArrayValue) UnmarshalVT(dAtA []byte) error
type InstrumentationLibrary ¶
type InstrumentationLibrary struct {
// contains filtered or unexported fields
}
InstrumentationLibrary is a message representing the instrumentation library information such as the fully qualified name and version.
func (*InstrumentationLibrary) MarshalToSizedBufferVT ¶
func (m *InstrumentationLibrary) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*InstrumentationLibrary) MarshalToVT ¶
func (m *InstrumentationLibrary) MarshalToVT(dAtA []byte) (int, error)
func (*InstrumentationLibrary) MarshalVT ¶
func (m *InstrumentationLibrary) MarshalVT() (dAtA []byte, err error)
func (*InstrumentationLibrary) SizeVT ¶
func (m *InstrumentationLibrary) SizeVT() (n int)
func (*InstrumentationLibrary) UnmarshalVT ¶
func (m *InstrumentationLibrary) UnmarshalVT(dAtA []byte) error
type KeyValue ¶
type KeyValue struct {
// contains filtered or unexported fields
}
KeyValue is a key-value pair that is used to store Span attributes, Link attributes, etc.
func (*KeyValue) MarshalToSizedBufferVT ¶
func (*KeyValue) UnmarshalVT ¶
type KeyValueList ¶
type KeyValueList struct {
// contains filtered or unexported fields
}
KeyValueList is a list of KeyValue messages. We need KeyValueList as a message since `oneof` in AnyValue does not allow repeated fields. Everywhere else where we need a list of KeyValue messages (e.g. in Span) we use `repeated KeyValue` directly to avoid unnecessary extra wrapping (which slows down the protocol). The 2 approaches are semantically equivalent.
func (*KeyValueList) MarshalToSizedBufferVT ¶
func (m *KeyValueList) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*KeyValueList) MarshalToVT ¶
func (m *KeyValueList) MarshalToVT(dAtA []byte) (int, error)
func (*KeyValueList) MarshalVT ¶
func (m *KeyValueList) MarshalVT() (dAtA []byte, err error)
func (*KeyValueList) SizeVT ¶
func (m *KeyValueList) SizeVT() (n int)
func (*KeyValueList) UnmarshalVT ¶
func (m *KeyValueList) UnmarshalVT(dAtA []byte) error