package v1
import "go.opentelemetry.io/otel/internal/opentelemetry-proto-gen/resource/v1"
Index ¶
- type Resource
- func (*Resource) Descriptor() ([]byte, []int)
- func (m *Resource) GetAttributes() []*v1.KeyValue
- func (m *Resource) GetDroppedAttributesCount() uint32
- func (*Resource) ProtoMessage()
- func (m *Resource) Reset()
- func (m *Resource) String() string
- func (m *Resource) XXX_DiscardUnknown()
- func (m *Resource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Resource) XXX_Merge(src proto.Message)
- func (m *Resource) XXX_Size() int
- func (m *Resource) XXX_Unmarshal(b []byte) error
Types ¶
type Resource ¶
type Resource struct { // Set of labels that describe the resource. Attributes []*v1.KeyValue `protobuf:"bytes,1,rep,name=attributes,proto3" json:"attributes,omitempty"` // dropped_attributes_count is the number of dropped attributes. If the value is 0, then // no attributes were dropped. DroppedAttributesCount uint32 `protobuf:"varint,2,opt,name=dropped_attributes_count,json=droppedAttributesCount,proto3" json:"dropped_attributes_count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Resource information.
func (*Resource) Descriptor ¶
func (*Resource) GetAttributes ¶
func (*Resource) GetDroppedAttributesCount ¶
func (*Resource) ProtoMessage ¶
func (*Resource) ProtoMessage()
func (*Resource) Reset ¶
func (m *Resource) Reset()
func (*Resource) String ¶
func (*Resource) XXX_DiscardUnknown ¶
func (m *Resource) XXX_DiscardUnknown()
func (*Resource) XXX_Marshal ¶
func (*Resource) XXX_Merge ¶
func (*Resource) XXX_Size ¶
func (*Resource) XXX_Unmarshal ¶
Source Files ¶
resource.pb.go
- Version
- v0.10.0
- Published
- Jul 30, 2020
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 53 minutes ago –
Tools for package owners.