Documentation ¶
Index ¶
- Variables
- type AttributeKeyValue
- func (*AttributeKeyValue) Descriptor() ([]byte, []int)
- func (m *AttributeKeyValue) GetBoolValue() bool
- func (m *AttributeKeyValue) GetDoubleValue() float64
- func (m *AttributeKeyValue) GetIntValue() int64
- func (m *AttributeKeyValue) GetKey() string
- func (m *AttributeKeyValue) GetStringValue() string
- func (m *AttributeKeyValue) GetType() AttributeKeyValue_ValueType
- func (*AttributeKeyValue) ProtoMessage()
- func (m *AttributeKeyValue) Reset()
- func (m *AttributeKeyValue) String() string
- func (m *AttributeKeyValue) XXX_DiscardUnknown()
- func (m *AttributeKeyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AttributeKeyValue) XXX_Merge(src proto.Message)
- func (m *AttributeKeyValue) XXX_Size() int
- func (m *AttributeKeyValue) XXX_Unmarshal(b []byte) error
- type AttributeKeyValue_ValueType
- type InstrumentationLibrary
- func (*InstrumentationLibrary) Descriptor() ([]byte, []int)
- func (m *InstrumentationLibrary) GetName() string
- func (m *InstrumentationLibrary) GetVersion() string
- func (*InstrumentationLibrary) ProtoMessage()
- func (m *InstrumentationLibrary) Reset()
- func (m *InstrumentationLibrary) String() string
- func (m *InstrumentationLibrary) XXX_DiscardUnknown()
- func (m *InstrumentationLibrary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InstrumentationLibrary) XXX_Merge(src proto.Message)
- func (m *InstrumentationLibrary) XXX_Size() int
- func (m *InstrumentationLibrary) XXX_Unmarshal(b []byte) error
- type StringKeyValue
- func (*StringKeyValue) Descriptor() ([]byte, []int)
- func (m *StringKeyValue) GetKey() string
- func (m *StringKeyValue) GetValue() string
- func (*StringKeyValue) ProtoMessage()
- func (m *StringKeyValue) Reset()
- func (m *StringKeyValue) String() string
- func (m *StringKeyValue) XXX_DiscardUnknown()
- func (m *StringKeyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StringKeyValue) XXX_Merge(src proto.Message)
- func (m *StringKeyValue) XXX_Size() int
- func (m *StringKeyValue) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var AttributeKeyValue_ValueType_name = map[int32]string{
0: "STRING",
1: "INT",
2: "DOUBLE",
3: "BOOL",
}
View Source
var AttributeKeyValue_ValueType_value = map[string]int32{
"STRING": 0,
"INT": 1,
"DOUBLE": 2,
"BOOL": 3,
}
Functions ¶
This section is empty.
Types ¶
type AttributeKeyValue ¶
type AttributeKeyValue struct { // key part of the key-value pair. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // type of the value. Type AttributeKeyValue_ValueType `protobuf:"varint,2,opt,name=type,proto3,enum=opentelemetry.proto.common.v1.AttributeKeyValue_ValueType" json:"type,omitempty"` StringValue string `protobuf:"bytes,3,opt,name=string_value,json=stringValue,proto3" json:"string_value,omitempty"` IntValue int64 `protobuf:"varint,4,opt,name=int_value,json=intValue,proto3" json:"int_value,omitempty"` DoubleValue float64 `protobuf:"fixed64,5,opt,name=double_value,json=doubleValue,proto3" json:"double_value,omitempty"` BoolValue bool `protobuf:"varint,6,opt,name=bool_value,json=boolValue,proto3" json:"bool_value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
AttributeKeyValue is a key-value pair that is used to store Span attributes, Link attributes, etc.
func (*AttributeKeyValue) Descriptor ¶
func (*AttributeKeyValue) Descriptor() ([]byte, []int)
func (*AttributeKeyValue) GetBoolValue ¶
func (m *AttributeKeyValue) GetBoolValue() bool
func (*AttributeKeyValue) GetDoubleValue ¶
func (m *AttributeKeyValue) GetDoubleValue() float64
func (*AttributeKeyValue) GetIntValue ¶
func (m *AttributeKeyValue) GetIntValue() int64
func (*AttributeKeyValue) GetKey ¶
func (m *AttributeKeyValue) GetKey() string
func (*AttributeKeyValue) GetStringValue ¶
func (m *AttributeKeyValue) GetStringValue() string
func (*AttributeKeyValue) GetType ¶
func (m *AttributeKeyValue) GetType() AttributeKeyValue_ValueType
func (*AttributeKeyValue) ProtoMessage ¶
func (*AttributeKeyValue) ProtoMessage()
func (*AttributeKeyValue) Reset ¶
func (m *AttributeKeyValue) Reset()
func (*AttributeKeyValue) String ¶
func (m *AttributeKeyValue) String() string
func (*AttributeKeyValue) XXX_DiscardUnknown ¶
func (m *AttributeKeyValue) XXX_DiscardUnknown()
func (*AttributeKeyValue) XXX_Marshal ¶
func (m *AttributeKeyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AttributeKeyValue) XXX_Merge ¶
func (m *AttributeKeyValue) XXX_Merge(src proto.Message)
func (*AttributeKeyValue) XXX_Size ¶
func (m *AttributeKeyValue) XXX_Size() int
func (*AttributeKeyValue) XXX_Unmarshal ¶
func (m *AttributeKeyValue) XXX_Unmarshal(b []byte) error
type AttributeKeyValue_ValueType ¶
type AttributeKeyValue_ValueType int32
ValueType is the enumeration of possible types that value can have.
const ( AttributeKeyValue_STRING AttributeKeyValue_ValueType = 0 AttributeKeyValue_INT AttributeKeyValue_ValueType = 1 AttributeKeyValue_DOUBLE AttributeKeyValue_ValueType = 2 AttributeKeyValue_BOOL AttributeKeyValue_ValueType = 3 )
func (AttributeKeyValue_ValueType) EnumDescriptor ¶
func (AttributeKeyValue_ValueType) EnumDescriptor() ([]byte, []int)
func (AttributeKeyValue_ValueType) String ¶
func (x AttributeKeyValue_ValueType) String() string
type InstrumentationLibrary ¶
type InstrumentationLibrary struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
InstrumentationLibrary is a message representing the instrumentation library information such as the fully qualified name and version.
func (*InstrumentationLibrary) Descriptor ¶
func (*InstrumentationLibrary) Descriptor() ([]byte, []int)
func (*InstrumentationLibrary) GetName ¶
func (m *InstrumentationLibrary) GetName() string
func (*InstrumentationLibrary) GetVersion ¶
func (m *InstrumentationLibrary) GetVersion() string
func (*InstrumentationLibrary) ProtoMessage ¶
func (*InstrumentationLibrary) ProtoMessage()
func (*InstrumentationLibrary) Reset ¶
func (m *InstrumentationLibrary) Reset()
func (*InstrumentationLibrary) String ¶
func (m *InstrumentationLibrary) String() string
func (*InstrumentationLibrary) XXX_DiscardUnknown ¶
func (m *InstrumentationLibrary) XXX_DiscardUnknown()
func (*InstrumentationLibrary) XXX_Marshal ¶
func (m *InstrumentationLibrary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InstrumentationLibrary) XXX_Merge ¶
func (m *InstrumentationLibrary) XXX_Merge(src proto.Message)
func (*InstrumentationLibrary) XXX_Size ¶
func (m *InstrumentationLibrary) XXX_Size() int
func (*InstrumentationLibrary) XXX_Unmarshal ¶
func (m *InstrumentationLibrary) XXX_Unmarshal(b []byte) error
type StringKeyValue ¶
type StringKeyValue struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
StringKeyValue is a pair of key/value strings. This is the simpler (and faster) version of AttributeKeyValue that only supports string values.
func (*StringKeyValue) Descriptor ¶
func (*StringKeyValue) Descriptor() ([]byte, []int)
func (*StringKeyValue) GetKey ¶
func (m *StringKeyValue) GetKey() string
func (*StringKeyValue) GetValue ¶
func (m *StringKeyValue) GetValue() string
func (*StringKeyValue) ProtoMessage ¶
func (*StringKeyValue) ProtoMessage()
func (*StringKeyValue) Reset ¶
func (m *StringKeyValue) Reset()
func (*StringKeyValue) String ¶
func (m *StringKeyValue) String() string
func (*StringKeyValue) XXX_DiscardUnknown ¶
func (m *StringKeyValue) XXX_DiscardUnknown()
func (*StringKeyValue) XXX_Marshal ¶
func (m *StringKeyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StringKeyValue) XXX_Merge ¶
func (m *StringKeyValue) XXX_Merge(src proto.Message)
func (*StringKeyValue) XXX_Size ¶
func (m *StringKeyValue) XXX_Size() int
func (*StringKeyValue) XXX_Unmarshal ¶
func (m *StringKeyValue) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.