Documentation ¶
Overview ¶
Package v1 is a generated protocol buffer package.
It is generated from these files:
opentelemetry/proto/resource/v1/resource.proto
It has these top-level messages:
Resource
Index ¶
- Variables
- type Resource
- func (*Resource) Descriptor() ([]byte, []int)
- func (m *Resource) GetAttributes() []*opentelemetry_proto_common_v1.AttributeKeyValue
- func (m *Resource) GetDroppedAttributesCount() uint32
- func (m *Resource) Marshal() (dAtA []byte, err error)
- func (m *Resource) MarshalTo(dAtA []byte) (int, error)
- func (*Resource) ProtoMessage()
- func (m *Resource) Reset()
- func (m *Resource) Size() (n int)
- func (m *Resource) String() string
- func (m *Resource) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthResource = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowResource = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type Resource ¶
type Resource struct { // Set of labels that describe the resource. Attributes []*opentelemetry_proto_common_v1.AttributeKeyValue `protobuf:"bytes,1,rep,name=attributes" json:"attributes,omitempty"` // dropped_attributes_count is the number of dropped attributes. If the value is 0, then // no attributes were dropped. DroppedAttributesCount uint32 `` /* 130-byte string literal not displayed */ }
Resource information.
func (*Resource) Descriptor ¶
func (*Resource) GetAttributes ¶
func (m *Resource) GetAttributes() []*opentelemetry_proto_common_v1.AttributeKeyValue
func (*Resource) GetDroppedAttributesCount ¶
func (*Resource) ProtoMessage ¶
func (*Resource) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.