Documentation ¶
Index ¶
- Variables
- type AggregationTemporality
- type AttributeUnit
- func (*AttributeUnit) Descriptor() ([]byte, []int)
- func (m *AttributeUnit) GetAttributeKeyStrindex() int32
- func (m *AttributeUnit) GetUnitStrindex() int32
- func (m *AttributeUnit) Marshal() (dAtA []byte, err error)
- func (m *AttributeUnit) MarshalTo(dAtA []byte) (int, error)
- func (m *AttributeUnit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AttributeUnit) ProtoMessage()
- func (m *AttributeUnit) Reset()
- func (m *AttributeUnit) Size() (n int)
- func (m *AttributeUnit) String() string
- func (m *AttributeUnit) Unmarshal(dAtA []byte) error
- func (m *AttributeUnit) XXX_DiscardUnknown()
- func (m *AttributeUnit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AttributeUnit) XXX_Merge(src proto.Message)
- func (m *AttributeUnit) XXX_Size() int
- func (m *AttributeUnit) XXX_Unmarshal(b []byte) error
- type Function
- func (*Function) Descriptor() ([]byte, []int)
- func (m *Function) GetFilenameStrindex() int32
- func (m *Function) GetNameStrindex() int32
- func (m *Function) GetStartLine() int64
- func (m *Function) GetSystemNameStrindex() int32
- func (m *Function) Marshal() (dAtA []byte, err error)
- func (m *Function) MarshalTo(dAtA []byte) (int, error)
- func (m *Function) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Function) ProtoMessage()
- func (m *Function) Reset()
- func (m *Function) Size() (n int)
- func (m *Function) String() string
- func (m *Function) Unmarshal(dAtA []byte) error
- func (m *Function) XXX_DiscardUnknown()
- func (m *Function) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Function) XXX_Merge(src proto.Message)
- func (m *Function) XXX_Size() int
- func (m *Function) XXX_Unmarshal(b []byte) error
- type Label
- func (*Label) Descriptor() ([]byte, []int)
- func (m *Label) GetKeyStrindex() int32
- func (m *Label) GetNum() int64
- func (m *Label) GetNumUnitStrindex() int32
- func (m *Label) GetStrStrindex() int32
- func (m *Label) Marshal() (dAtA []byte, err error)
- func (m *Label) MarshalTo(dAtA []byte) (int, error)
- func (m *Label) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Label) ProtoMessage()
- func (m *Label) Reset()
- func (m *Label) Size() (n int)
- func (m *Label) String() string
- func (m *Label) Unmarshal(dAtA []byte) error
- func (m *Label) XXX_DiscardUnknown()
- func (m *Label) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Label) XXX_Merge(src proto.Message)
- func (m *Label) XXX_Size() int
- func (m *Label) XXX_Unmarshal(b []byte) error
- type Line
- func (*Line) Descriptor() ([]byte, []int)
- func (m *Line) GetColumn() int64
- func (m *Line) GetFunctionIndex() int32
- func (m *Line) GetLine() int64
- func (m *Line) Marshal() (dAtA []byte, err error)
- func (m *Line) MarshalTo(dAtA []byte) (int, error)
- func (m *Line) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Line) ProtoMessage()
- func (m *Line) Reset()
- func (m *Line) Size() (n int)
- func (m *Line) String() string
- func (m *Line) Unmarshal(dAtA []byte) error
- func (m *Line) XXX_DiscardUnknown()
- func (m *Line) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Line) XXX_Merge(src proto.Message)
- func (m *Line) XXX_Size() int
- func (m *Line) XXX_Unmarshal(b []byte) error
- type Link
- func (*Link) Descriptor() ([]byte, []int)
- func (m *Link) Marshal() (dAtA []byte, err error)
- func (m *Link) MarshalTo(dAtA []byte) (int, error)
- func (m *Link) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Link) ProtoMessage()
- func (m *Link) Reset()
- func (m *Link) Size() (n int)
- func (m *Link) String() string
- func (m *Link) Unmarshal(dAtA []byte) error
- func (m *Link) XXX_DiscardUnknown()
- func (m *Link) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Link) XXX_Merge(src proto.Message)
- func (m *Link) XXX_Size() int
- func (m *Link) XXX_Unmarshal(b []byte) error
- type Location
- func (*Location) Descriptor() ([]byte, []int)
- func (m *Location) GetAddress() uint64
- func (m *Location) GetAttributeIndices() []int32
- func (m *Location) GetIsFolded() bool
- func (m *Location) GetLine() []*Line
- func (m *Location) GetMappingIndex() int32
- func (m *Location) GetMappingIndex_() isLocation_MappingIndex_
- func (m *Location) Marshal() (dAtA []byte, err error)
- func (m *Location) MarshalTo(dAtA []byte) (int, error)
- func (m *Location) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Location) ProtoMessage()
- func (m *Location) Reset()
- func (m *Location) Size() (n int)
- func (m *Location) String() string
- func (m *Location) Unmarshal(dAtA []byte) error
- func (m *Location) XXX_DiscardUnknown()
- func (m *Location) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Location) XXX_Merge(src proto.Message)
- func (*Location) XXX_OneofWrappers() []interface{}
- func (m *Location) XXX_Size() int
- func (m *Location) XXX_Unmarshal(b []byte) error
- type Location_MappingIndex
- type Mapping
- func (*Mapping) Descriptor() ([]byte, []int)
- func (m *Mapping) GetAttributeIndices() []int32
- func (m *Mapping) GetFileOffset() uint64
- func (m *Mapping) GetFilenameStrindex() int32
- func (m *Mapping) GetHasFilenames() bool
- func (m *Mapping) GetHasFunctions() bool
- func (m *Mapping) GetHasInlineFrames() bool
- func (m *Mapping) GetHasLineNumbers() bool
- func (m *Mapping) GetMemoryLimit() uint64
- func (m *Mapping) GetMemoryStart() uint64
- func (m *Mapping) Marshal() (dAtA []byte, err error)
- func (m *Mapping) MarshalTo(dAtA []byte) (int, error)
- func (m *Mapping) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Mapping) ProtoMessage()
- func (m *Mapping) Reset()
- func (m *Mapping) Size() (n int)
- func (m *Mapping) String() string
- func (m *Mapping) Unmarshal(dAtA []byte) error
- func (m *Mapping) XXX_DiscardUnknown()
- func (m *Mapping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Mapping) XXX_Merge(src proto.Message)
- func (m *Mapping) XXX_Size() int
- func (m *Mapping) XXX_Unmarshal(b []byte) error
- type Profile
- func (*Profile) Descriptor() ([]byte, []int)
- func (m *Profile) GetAttributeTable() []v11.KeyValue
- func (m *Profile) GetAttributeUnits() []*AttributeUnit
- func (m *Profile) GetAttributes() []v11.KeyValue
- func (m *Profile) GetCommentStrindices() []int32
- func (m *Profile) GetDefaultSampleTypeStrindex() int32
- func (m *Profile) GetDroppedAttributesCount() uint32
- func (m *Profile) GetDurationNanos() int64
- func (m *Profile) GetFunctionTable() []*Function
- func (m *Profile) GetLinkTable() []*Link
- func (m *Profile) GetLocationIndices() []int32
- func (m *Profile) GetLocationTable() []*Location
- func (m *Profile) GetMappingTable() []*Mapping
- func (m *Profile) GetOriginalPayload() []byte
- func (m *Profile) GetOriginalPayloadFormat() string
- func (m *Profile) GetPeriod() int64
- func (m *Profile) GetPeriodType() ValueType
- func (m *Profile) GetSample() []*Sample
- func (m *Profile) GetSampleType() []*ValueType
- func (m *Profile) GetStringTable() []string
- func (m *Profile) GetTimeNanos() int64
- func (m *Profile) Marshal() (dAtA []byte, err error)
- func (m *Profile) MarshalTo(dAtA []byte) (int, error)
- func (m *Profile) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Profile) ProtoMessage()
- func (m *Profile) Reset()
- func (m *Profile) Size() (n int)
- func (m *Profile) String() string
- func (m *Profile) Unmarshal(dAtA []byte) error
- func (m *Profile) XXX_DiscardUnknown()
- func (m *Profile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Profile) XXX_Merge(src proto.Message)
- func (m *Profile) XXX_Size() int
- func (m *Profile) XXX_Unmarshal(b []byte) error
- type ProfilesData
- func (*ProfilesData) Descriptor() ([]byte, []int)
- func (m *ProfilesData) GetResourceProfiles() []*ResourceProfiles
- func (m *ProfilesData) Marshal() (dAtA []byte, err error)
- func (m *ProfilesData) MarshalTo(dAtA []byte) (int, error)
- func (m *ProfilesData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProfilesData) ProtoMessage()
- func (m *ProfilesData) Reset()
- func (m *ProfilesData) Size() (n int)
- func (m *ProfilesData) String() string
- func (m *ProfilesData) Unmarshal(dAtA []byte) error
- func (m *ProfilesData) XXX_DiscardUnknown()
- func (m *ProfilesData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProfilesData) XXX_Merge(src proto.Message)
- func (m *ProfilesData) XXX_Size() int
- func (m *ProfilesData) XXX_Unmarshal(b []byte) error
- type ResourceProfiles
- func (*ResourceProfiles) Descriptor() ([]byte, []int)
- func (m *ResourceProfiles) GetResource() v1.Resource
- func (m *ResourceProfiles) GetSchemaUrl() string
- func (m *ResourceProfiles) GetScopeProfiles() []*ScopeProfiles
- func (m *ResourceProfiles) Marshal() (dAtA []byte, err error)
- func (m *ResourceProfiles) MarshalTo(dAtA []byte) (int, error)
- func (m *ResourceProfiles) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ResourceProfiles) ProtoMessage()
- func (m *ResourceProfiles) Reset()
- func (m *ResourceProfiles) Size() (n int)
- func (m *ResourceProfiles) String() string
- func (m *ResourceProfiles) Unmarshal(dAtA []byte) error
- func (m *ResourceProfiles) XXX_DiscardUnknown()
- func (m *ResourceProfiles) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResourceProfiles) XXX_Merge(src proto.Message)
- func (m *ResourceProfiles) XXX_Size() int
- func (m *ResourceProfiles) XXX_Unmarshal(b []byte) error
- type Sample
- func (*Sample) Descriptor() ([]byte, []int)
- func (m *Sample) GetAttributeIndices() []int32
- func (m *Sample) GetLinkIndex() int32
- func (m *Sample) GetLinkIndex_() isSample_LinkIndex_
- func (m *Sample) GetLocationsLength() int32
- func (m *Sample) GetLocationsStartIndex() int32
- func (m *Sample) GetTimestampsUnixNano() []uint64
- func (m *Sample) GetValue() []int64
- func (m *Sample) Marshal() (dAtA []byte, err error)
- func (m *Sample) MarshalTo(dAtA []byte) (int, error)
- func (m *Sample) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Sample) ProtoMessage()
- func (m *Sample) Reset()
- func (m *Sample) Size() (n int)
- func (m *Sample) String() string
- func (m *Sample) Unmarshal(dAtA []byte) error
- func (m *Sample) XXX_DiscardUnknown()
- func (m *Sample) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Sample) XXX_Merge(src proto.Message)
- func (*Sample) XXX_OneofWrappers() []interface{}
- func (m *Sample) XXX_Size() int
- func (m *Sample) XXX_Unmarshal(b []byte) error
- type Sample_LinkIndex
- type ScopeProfiles
- func (*ScopeProfiles) Descriptor() ([]byte, []int)
- func (m *ScopeProfiles) GetProfiles() []*Profile
- func (m *ScopeProfiles) GetSchemaUrl() string
- func (m *ScopeProfiles) GetScope() v11.InstrumentationScope
- func (m *ScopeProfiles) Marshal() (dAtA []byte, err error)
- func (m *ScopeProfiles) MarshalTo(dAtA []byte) (int, error)
- func (m *ScopeProfiles) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ScopeProfiles) ProtoMessage()
- func (m *ScopeProfiles) Reset()
- func (m *ScopeProfiles) Size() (n int)
- func (m *ScopeProfiles) String() string
- func (m *ScopeProfiles) Unmarshal(dAtA []byte) error
- func (m *ScopeProfiles) XXX_DiscardUnknown()
- func (m *ScopeProfiles) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ScopeProfiles) XXX_Merge(src proto.Message)
- func (m *ScopeProfiles) XXX_Size() int
- func (m *ScopeProfiles) XXX_Unmarshal(b []byte) error
- type ValueType
- func (*ValueType) Descriptor() ([]byte, []int)
- func (m *ValueType) GetAggregationTemporality() AggregationTemporality
- func (m *ValueType) GetTypeStrindex() int32
- func (m *ValueType) GetUnitStrindex() int32
- func (m *ValueType) Marshal() (dAtA []byte, err error)
- func (m *ValueType) MarshalTo(dAtA []byte) (int, error)
- func (m *ValueType) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValueType) ProtoMessage()
- func (m *ValueType) Reset()
- func (m *ValueType) Size() (n int)
- func (m *ValueType) String() string
- func (m *ValueType) Unmarshal(dAtA []byte) error
- func (m *ValueType) XXX_DiscardUnknown()
- func (m *ValueType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValueType) XXX_Merge(src proto.Message)
- func (m *ValueType) XXX_Size() int
- func (m *ValueType) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthProfiles = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowProfiles = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupProfiles = fmt.Errorf("proto: unexpected end of group") )
var AggregationTemporality_name = map[int32]string{
0: "AGGREGATION_TEMPORALITY_UNSPECIFIED",
1: "AGGREGATION_TEMPORALITY_DELTA",
2: "AGGREGATION_TEMPORALITY_CUMULATIVE",
}
var AggregationTemporality_value = map[string]int32{
"AGGREGATION_TEMPORALITY_UNSPECIFIED": 0,
"AGGREGATION_TEMPORALITY_DELTA": 1,
"AGGREGATION_TEMPORALITY_CUMULATIVE": 2,
}
Functions ¶
This section is empty.
Types ¶
type AggregationTemporality ¶
type AggregationTemporality int32
Specifies the method of aggregating metric values, either DELTA (change since last report) or CUMULATIVE (total since a fixed start time).
const ( // UNSPECIFIED is the default AggregationTemporality, it MUST not be used. AggregationTemporality_AGGREGATION_TEMPORALITY_UNSPECIFIED AggregationTemporality = 0 //* DELTA is an AggregationTemporality for a profiler which reports //changes since last report time. Successive metrics contain aggregation of //values from continuous and non-overlapping intervals. // //The values for a DELTA metric are based only on the time interval //associated with one measurement cycle. There is no dependency on //previous measurements like is the case for CUMULATIVE metrics. // //For example, consider a system measuring the number of requests that //it receives and reports the sum of these requests every second as a //DELTA metric: // //1. The system starts receiving at time=t_0. //2. A request is received, the system measures 1 request. //3. A request is received, the system measures 1 request. //4. A request is received, the system measures 1 request. //5. The 1 second collection cycle ends. A metric is exported for the //number of requests received over the interval of time t_0 to //t_0+1 with a value of 3. //6. A request is received, the system measures 1 request. //7. A request is received, the system measures 1 request. //8. The 1 second collection cycle ends. A metric is exported for the //number of requests received over the interval of time t_0+1 to //t_0+2 with a value of 2. AggregationTemporality_AGGREGATION_TEMPORALITY_DELTA AggregationTemporality = 1 //* CUMULATIVE is an AggregationTemporality for a profiler which //reports changes since a fixed start time. This means that current values //of a CUMULATIVE metric depend on all previous measurements since the //start time. Because of this, the sender is required to retain this state //in some form. If this state is lost or invalidated, the CUMULATIVE metric //values MUST be reset and a new fixed start time following the last //reported measurement time sent MUST be used. // //For example, consider a system measuring the number of requests that //it receives and reports the sum of these requests every second as a //CUMULATIVE metric: // //1. The system starts receiving at time=t_0. //2. A request is received, the system measures 1 request. //3. A request is received, the system measures 1 request. //4. A request is received, the system measures 1 request. //5. The 1 second collection cycle ends. A metric is exported for the //number of requests received over the interval of time t_0 to //t_0+1 with a value of 3. //6. A request is received, the system measures 1 request. //7. A request is received, the system measures 1 request. //8. The 1 second collection cycle ends. A metric is exported for the //number of requests received over the interval of time t_0 to //t_0+2 with a value of 5. //9. The system experiences a fault and loses state. //10. The system recovers and resumes receiving at time=t_1. //11. A request is received, the system measures 1 request. //12. The 1 second collection cycle ends. A metric is exported for the //number of requests received over the interval of time t_1 to //t_1+1 with a value of 1. // //Note: Even though, when reporting changes since last report time, using //CUMULATIVE is valid, it is not recommended. AggregationTemporality_AGGREGATION_TEMPORALITY_CUMULATIVE AggregationTemporality = 2 )
func (AggregationTemporality) EnumDescriptor ¶
func (AggregationTemporality) EnumDescriptor() ([]byte, []int)
func (AggregationTemporality) String ¶
func (x AggregationTemporality) String() string
type AttributeUnit ¶
type AttributeUnit struct { // Index into string table. AttributeKeyStrindex int32 `protobuf:"varint,1,opt,name=attribute_key_strindex,json=attributeKeyStrindex,proto3" json:"attribute_key_strindex,omitempty"` // Index into string table. UnitStrindex int32 `protobuf:"varint,2,opt,name=unit_strindex,json=unitStrindex,proto3" json:"unit_strindex,omitempty"` }
Represents a mapping between Attribute Keys and Units.
func (*AttributeUnit) Descriptor ¶
func (*AttributeUnit) Descriptor() ([]byte, []int)
func (*AttributeUnit) GetAttributeKeyStrindex ¶
func (m *AttributeUnit) GetAttributeKeyStrindex() int32
func (*AttributeUnit) GetUnitStrindex ¶
func (m *AttributeUnit) GetUnitStrindex() int32
func (*AttributeUnit) Marshal ¶
func (m *AttributeUnit) Marshal() (dAtA []byte, err error)
func (*AttributeUnit) MarshalToSizedBuffer ¶
func (m *AttributeUnit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AttributeUnit) ProtoMessage ¶
func (*AttributeUnit) ProtoMessage()
func (*AttributeUnit) Reset ¶
func (m *AttributeUnit) Reset()
func (*AttributeUnit) Size ¶
func (m *AttributeUnit) Size() (n int)
func (*AttributeUnit) String ¶
func (m *AttributeUnit) String() string
func (*AttributeUnit) Unmarshal ¶
func (m *AttributeUnit) Unmarshal(dAtA []byte) error
func (*AttributeUnit) XXX_DiscardUnknown ¶
func (m *AttributeUnit) XXX_DiscardUnknown()
func (*AttributeUnit) XXX_Marshal ¶
func (m *AttributeUnit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AttributeUnit) XXX_Merge ¶
func (m *AttributeUnit) XXX_Merge(src proto.Message)
func (*AttributeUnit) XXX_Size ¶
func (m *AttributeUnit) XXX_Size() int
func (*AttributeUnit) XXX_Unmarshal ¶
func (m *AttributeUnit) XXX_Unmarshal(b []byte) error
type Function ¶
type Function struct { // Name of the function, in human-readable form if available. NameStrindex int32 `protobuf:"varint,1,opt,name=name_strindex,json=nameStrindex,proto3" json:"name_strindex,omitempty"` // Name of the function, as identified by the system. // For instance, it can be a C++ mangled name. SystemNameStrindex int32 `protobuf:"varint,2,opt,name=system_name_strindex,json=systemNameStrindex,proto3" json:"system_name_strindex,omitempty"` // Source file containing the function. FilenameStrindex int32 `protobuf:"varint,3,opt,name=filename_strindex,json=filenameStrindex,proto3" json:"filename_strindex,omitempty"` // Line number in source file. StartLine int64 `protobuf:"varint,4,opt,name=start_line,json=startLine,proto3" json:"start_line,omitempty"` }
Describes a function, including its human-readable name, system name, source file, and starting line number in the source.
func (*Function) Descriptor ¶
func (*Function) GetFilenameStrindex ¶
func (*Function) GetNameStrindex ¶
func (*Function) GetStartLine ¶
func (*Function) GetSystemNameStrindex ¶
func (*Function) MarshalToSizedBuffer ¶
func (*Function) ProtoMessage ¶
func (*Function) ProtoMessage()
func (*Function) XXX_DiscardUnknown ¶
func (m *Function) XXX_DiscardUnknown()
func (*Function) XXX_Marshal ¶
func (*Function) XXX_Unmarshal ¶
type Label ¶
type Label struct { KeyStrindex int32 `protobuf:"varint,1,opt,name=key_strindex,json=keyStrindex,proto3" json:"key_strindex,omitempty"` // At most one of the following must be present StrStrindex int32 `protobuf:"varint,2,opt,name=str_strindex,json=strStrindex,proto3" json:"str_strindex,omitempty"` Num int64 `protobuf:"varint,3,opt,name=num,proto3" json:"num,omitempty"` // Should only be present when num is present. // Specifies the units of num. // Use arbitrary string (for example, "requests") as a custom count unit. // If no unit is specified, consumer may apply heuristic to deduce the unit. // Consumers may also interpret units like "bytes" and "kilobytes" as memory // units and units like "seconds" and "nanoseconds" as time units, // and apply appropriate unit conversions to these. NumUnitStrindex int32 `protobuf:"varint,4,opt,name=num_unit_strindex,json=numUnitStrindex,proto3" json:"num_unit_strindex,omitempty"` }
Provides additional context for a sample, such as thread ID or allocation size, with optional units. [deprecated]
func (*Label) Descriptor ¶
func (*Label) GetKeyStrindex ¶
func (*Label) GetNumUnitStrindex ¶
func (*Label) GetStrStrindex ¶
func (*Label) ProtoMessage ¶
func (*Label) ProtoMessage()
func (*Label) XXX_DiscardUnknown ¶
func (m *Label) XXX_DiscardUnknown()
func (*Label) XXX_Marshal ¶
func (*Label) XXX_Unmarshal ¶
type Line ¶
type Line struct { // Reference to function in Profile.function_table. FunctionIndex int32 `protobuf:"varint,1,opt,name=function_index,json=functionIndex,proto3" json:"function_index,omitempty"` // Line number in source code. Line int64 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"` // Column number in source code. Column int64 `protobuf:"varint,3,opt,name=column,proto3" json:"column,omitempty"` }
Details a specific line in a source code, linked to a function.
func (*Line) Descriptor ¶
func (*Line) GetFunctionIndex ¶
func (*Line) ProtoMessage ¶
func (*Line) ProtoMessage()
func (*Line) XXX_DiscardUnknown ¶
func (m *Line) XXX_DiscardUnknown()
func (*Line) XXX_Unmarshal ¶
type Link ¶
type Link struct { // A unique identifier of a trace that this linked span is part of. The ID is a // 16-byte array. TraceId go_opentelemetry_io_collector_pdata_internal_data.TraceID `` /* 141-byte string literal not displayed */ // A unique identifier for the linked span. The ID is an 8-byte array. SpanId go_opentelemetry_io_collector_pdata_internal_data.SpanID `` /* 137-byte string literal not displayed */ }
A pointer from a profile Sample to a trace Span. Connects a profile sample to a trace span, identified by unique trace and span IDs.
func (*Link) Descriptor ¶
func (*Link) ProtoMessage ¶
func (*Link) ProtoMessage()
func (*Link) XXX_DiscardUnknown ¶
func (m *Link) XXX_DiscardUnknown()
func (*Link) XXX_Unmarshal ¶
type Location ¶
type Location struct { // Reference to mapping in Profile.mapping_table. // It can be unset if the mapping is unknown or not applicable for // this profile type. // // Types that are valid to be assigned to MappingIndex_: // *Location_MappingIndex MappingIndex_ isLocation_MappingIndex_ `protobuf_oneof:"mapping_index_"` // The instruction address for this location, if available. It // should be within [Mapping.memory_start...Mapping.memory_limit] // for the corresponding mapping. A non-leaf address may be in the // middle of a call instruction. It is up to display tools to find // the beginning of the instruction if necessary. Address uint64 `protobuf:"varint,2,opt,name=address,proto3" json:"address,omitempty"` // Multiple line indicates this location has inlined functions, // where the last entry represents the caller into which the // preceding entries were inlined. // // E.g., if memcpy() is inlined into printf: // line[0].function_name == "memcpy" // line[1].function_name == "printf" Line []*Line `protobuf:"bytes,3,rep,name=line,proto3" json:"line,omitempty"` // Provides an indication that multiple symbols map to this location's // address, for example due to identical code folding by the linker. In that // case the line information above represents one of the multiple // symbols. This field must be recomputed when the symbolization state of the // profile changes. IsFolded bool `protobuf:"varint,4,opt,name=is_folded,json=isFolded,proto3" json:"is_folded,omitempty"` // References to attributes in Profile.attribute_table. [optional] AttributeIndices []int32 `protobuf:"varint,5,rep,packed,name=attribute_indices,json=attributeIndices,proto3" json:"attribute_indices,omitempty"` }
Describes function and line table debug information.
func (*Location) Descriptor ¶
func (*Location) GetAddress ¶
func (*Location) GetAttributeIndices ¶
func (*Location) GetIsFolded ¶
func (*Location) GetMappingIndex ¶
func (*Location) GetMappingIndex_ ¶
func (m *Location) GetMappingIndex_() isLocation_MappingIndex_
func (*Location) MarshalToSizedBuffer ¶
func (*Location) ProtoMessage ¶
func (*Location) ProtoMessage()
func (*Location) XXX_DiscardUnknown ¶
func (m *Location) XXX_DiscardUnknown()
func (*Location) XXX_Marshal ¶
func (*Location) XXX_OneofWrappers ¶
func (*Location) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Location) XXX_Unmarshal ¶
type Location_MappingIndex ¶
type Location_MappingIndex struct {
MappingIndex int32 `protobuf:"varint,1,opt,name=mapping_index,json=mappingIndex,proto3,oneof" json:"mapping_index,omitempty"`
}
func (*Location_MappingIndex) MarshalTo ¶
func (m *Location_MappingIndex) MarshalTo(dAtA []byte) (int, error)
func (*Location_MappingIndex) MarshalToSizedBuffer ¶
func (m *Location_MappingIndex) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Location_MappingIndex) Size ¶
func (m *Location_MappingIndex) Size() (n int)
type Mapping ¶
type Mapping struct { // Address at which the binary (or DLL) is loaded into memory. MemoryStart uint64 `protobuf:"varint,1,opt,name=memory_start,json=memoryStart,proto3" json:"memory_start,omitempty"` // The limit of the address range occupied by this mapping. MemoryLimit uint64 `protobuf:"varint,2,opt,name=memory_limit,json=memoryLimit,proto3" json:"memory_limit,omitempty"` // Offset in the binary that corresponds to the first mapped address. FileOffset uint64 `protobuf:"varint,3,opt,name=file_offset,json=fileOffset,proto3" json:"file_offset,omitempty"` // The object this entry is loaded from. This can be a filename on // disk for the main binary and shared libraries, or virtual // abstractions like "[vdso]". FilenameStrindex int32 `protobuf:"varint,4,opt,name=filename_strindex,json=filenameStrindex,proto3" json:"filename_strindex,omitempty"` // References to attributes in Profile.attribute_table. [optional] AttributeIndices []int32 `protobuf:"varint,5,rep,packed,name=attribute_indices,json=attributeIndices,proto3" json:"attribute_indices,omitempty"` // The following fields indicate the resolution of symbolic info. HasFunctions bool `protobuf:"varint,6,opt,name=has_functions,json=hasFunctions,proto3" json:"has_functions,omitempty"` HasFilenames bool `protobuf:"varint,7,opt,name=has_filenames,json=hasFilenames,proto3" json:"has_filenames,omitempty"` HasLineNumbers bool `protobuf:"varint,8,opt,name=has_line_numbers,json=hasLineNumbers,proto3" json:"has_line_numbers,omitempty"` HasInlineFrames bool `protobuf:"varint,9,opt,name=has_inline_frames,json=hasInlineFrames,proto3" json:"has_inline_frames,omitempty"` }
Describes the mapping of a binary in memory, including its address range, file offset, and metadata like build ID
func (*Mapping) Descriptor ¶
func (*Mapping) GetAttributeIndices ¶
func (*Mapping) GetFileOffset ¶
func (*Mapping) GetFilenameStrindex ¶
func (*Mapping) GetHasFilenames ¶
func (*Mapping) GetHasFunctions ¶
func (*Mapping) GetHasInlineFrames ¶
func (*Mapping) GetHasLineNumbers ¶
func (*Mapping) GetMemoryLimit ¶
func (*Mapping) GetMemoryStart ¶
func (*Mapping) MarshalToSizedBuffer ¶
func (*Mapping) ProtoMessage ¶
func (*Mapping) ProtoMessage()
func (*Mapping) XXX_DiscardUnknown ¶
func (m *Mapping) XXX_DiscardUnknown()
func (*Mapping) XXX_Marshal ¶
func (*Mapping) XXX_Unmarshal ¶
type Profile ¶
type Profile struct { // A description of the samples associated with each Sample.value. // For a cpu profile this might be: // [["cpu","nanoseconds"]] or [["wall","seconds"]] or [["syscall","count"]] // For a heap profile, this might be: // [["allocations","count"], ["space","bytes"]], // If one of the values represents the number of events represented // by the sample, by convention it should be at index 0 and use // sample_type.unit == "count". SampleType []*ValueType `protobuf:"bytes,1,rep,name=sample_type,json=sampleType,proto3" json:"sample_type,omitempty"` // The set of samples recorded in this profile. Sample []*Sample `protobuf:"bytes,2,rep,name=sample,proto3" json:"sample,omitempty"` // Mapping from address ranges to the image/binary/library mapped // into that address range. mapping[0] will be the main binary. // If multiple binaries contribute to the Profile and no main // binary can be identified, mapping[0] has no special meaning. MappingTable []*Mapping `protobuf:"bytes,3,rep,name=mapping_table,json=mappingTable,proto3" json:"mapping_table,omitempty"` // Locations referenced by samples via location_indices. LocationTable []*Location `protobuf:"bytes,4,rep,name=location_table,json=locationTable,proto3" json:"location_table,omitempty"` // Array of locations referenced by samples. LocationIndices []int32 `protobuf:"varint,5,rep,packed,name=location_indices,json=locationIndices,proto3" json:"location_indices,omitempty"` // Functions referenced by locations. FunctionTable []*Function `protobuf:"bytes,6,rep,name=function_table,json=functionTable,proto3" json:"function_table,omitempty"` // Lookup table for attributes. AttributeTable []v11.KeyValue `protobuf:"bytes,7,rep,name=attribute_table,json=attributeTable,proto3" json:"attribute_table"` // Represents a mapping between Attribute Keys and Units. AttributeUnits []*AttributeUnit `protobuf:"bytes,8,rep,name=attribute_units,json=attributeUnits,proto3" json:"attribute_units,omitempty"` // Lookup table for links. LinkTable []*Link `protobuf:"bytes,9,rep,name=link_table,json=linkTable,proto3" json:"link_table,omitempty"` // A common table for strings referenced by various messages. // string_table[0] must always be "". StringTable []string `protobuf:"bytes,10,rep,name=string_table,json=stringTable,proto3" json:"string_table,omitempty"` // Time of collection (UTC) represented as nanoseconds past the epoch. TimeNanos int64 `protobuf:"varint,11,opt,name=time_nanos,json=timeNanos,proto3" json:"time_nanos,omitempty"` // Duration of the profile, if a duration makes sense. DurationNanos int64 `protobuf:"varint,12,opt,name=duration_nanos,json=durationNanos,proto3" json:"duration_nanos,omitempty"` // The kind of events between sampled occurrences. // e.g [ "cpu","cycles" ] or [ "heap","bytes" ] PeriodType ValueType `protobuf:"bytes,13,opt,name=period_type,json=periodType,proto3" json:"period_type"` // The number of events between sampled occurrences. Period int64 `protobuf:"varint,14,opt,name=period,proto3" json:"period,omitempty"` // Free-form text associated with the profile. The text is displayed as is // to the user by the tools that read profiles (e.g. by pprof). This field // should not be used to store any machine-readable information, it is only // for human-friendly content. The profile must stay functional if this field // is cleaned. CommentStrindices []int32 `protobuf:"varint,15,rep,packed,name=comment_strindices,json=commentStrindices,proto3" json:"comment_strindices,omitempty"` // Index into the string table of the type of the preferred sample // value. If unset, clients should default to the last sample value. DefaultSampleTypeStrindex int32 `` /* 142-byte string literal not displayed */ // A globally unique identifier for a profile. The ID is a 16-byte array. An ID with // all zeroes is considered invalid. // // This field is required. ProfileId go_opentelemetry_io_collector_pdata_internal_data.ProfileID `` /* 150-byte string literal not displayed */ // attributes is a collection of key/value pairs. Note, global attributes // like server name can be set using the resource API. Examples of attributes: // // "/http/user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36" // "/http/server_latency": 300 // "abc.com/myattribute": true // "abc.com/score": 10.239 // // The OpenTelemetry API specification further restricts the allowed value types: // https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/common/README.md#attribute // Attribute keys MUST be unique (it is not allowed to have more than one // attribute with the same key). Attributes []v11.KeyValue `protobuf:"bytes,18,rep,name=attributes,proto3" json:"attributes"` // dropped_attributes_count is the number of attributes that were discarded. Attributes // can be discarded because their keys are too long or because there are too many // attributes. If this value is 0, then no attributes were dropped. DroppedAttributesCount uint32 `` /* 131-byte string literal not displayed */ // Specifies format of the original payload. Common values are defined in semantic conventions. [required if original_payload is present] OriginalPayloadFormat string `` /* 127-byte string literal not displayed */ // Original payload can be stored in this field. This can be useful for users who want to get the original payload. // Formats such as JFR are highly extensible and can contain more information than what is defined in this spec. // Inclusion of original payload should be configurable by the user. Default behavior should be to not include the original payload. // If the original payload is in pprof format, it SHOULD not be included in this field. // The field is optional, however if it is present then equivalent converted data should be populated in other fields // of this message as far as is practicable. OriginalPayload []byte `protobuf:"bytes,21,opt,name=original_payload,json=originalPayload,proto3" json:"original_payload,omitempty"` }
Represents a complete profile, including sample types, samples, mappings to binaries, locations, functions, string table, and additional metadata. It modifies and annotates pprof Profile with OpenTelemetry specific fields.
Note that whilst fields in this message retain the name and field id from pprof in most cases for ease of understanding data migration, it is not intended that pprof:Profile and OpenTelemetry:Profile encoding be wire compatible.
func (*Profile) Descriptor ¶
func (*Profile) GetAttributeTable ¶
func (*Profile) GetAttributeUnits ¶
func (m *Profile) GetAttributeUnits() []*AttributeUnit
func (*Profile) GetAttributes ¶
func (*Profile) GetCommentStrindices ¶
func (*Profile) GetDefaultSampleTypeStrindex ¶
func (*Profile) GetDroppedAttributesCount ¶
func (*Profile) GetDurationNanos ¶
func (*Profile) GetFunctionTable ¶
func (*Profile) GetLinkTable ¶
func (*Profile) GetLocationIndices ¶
func (*Profile) GetLocationTable ¶
func (*Profile) GetMappingTable ¶
func (*Profile) GetOriginalPayload ¶
func (*Profile) GetOriginalPayloadFormat ¶
func (*Profile) GetPeriodType ¶
func (*Profile) GetSampleType ¶
func (*Profile) GetStringTable ¶
func (*Profile) GetTimeNanos ¶
func (*Profile) MarshalToSizedBuffer ¶
func (*Profile) ProtoMessage ¶
func (*Profile) ProtoMessage()
func (*Profile) XXX_DiscardUnknown ¶
func (m *Profile) XXX_DiscardUnknown()
func (*Profile) XXX_Marshal ¶
func (*Profile) XXX_Unmarshal ¶
type ProfilesData ¶
type ProfilesData struct { // An array of ResourceProfiles. // For data coming from a single resource this array will typically contain // one element. Intermediary nodes that receive data from multiple origins // typically batch the data before forwarding further and in that case this // array will contain multiple elements. ResourceProfiles []*ResourceProfiles `protobuf:"bytes,1,rep,name=resource_profiles,json=resourceProfiles,proto3" json:"resource_profiles,omitempty"` }
ProfilesData represents the profiles data that can be stored in persistent storage, OR can be embedded by other protocols that transfer OTLP profiles data but do not implement the OTLP protocol.
The main difference between this message and collector protocol is that in this message there will not be any "control" or "metadata" specific to OTLP protocol.
When new fields are added into this message, the OTLP request MUST be updated as well.
func (*ProfilesData) Descriptor ¶
func (*ProfilesData) Descriptor() ([]byte, []int)
func (*ProfilesData) GetResourceProfiles ¶
func (m *ProfilesData) GetResourceProfiles() []*ResourceProfiles
func (*ProfilesData) Marshal ¶
func (m *ProfilesData) Marshal() (dAtA []byte, err error)
func (*ProfilesData) MarshalToSizedBuffer ¶
func (m *ProfilesData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProfilesData) ProtoMessage ¶
func (*ProfilesData) ProtoMessage()
func (*ProfilesData) Reset ¶
func (m *ProfilesData) Reset()
func (*ProfilesData) Size ¶
func (m *ProfilesData) Size() (n int)
func (*ProfilesData) String ¶
func (m *ProfilesData) String() string
func (*ProfilesData) Unmarshal ¶
func (m *ProfilesData) Unmarshal(dAtA []byte) error
func (*ProfilesData) XXX_DiscardUnknown ¶
func (m *ProfilesData) XXX_DiscardUnknown()
func (*ProfilesData) XXX_Marshal ¶
func (m *ProfilesData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProfilesData) XXX_Merge ¶
func (m *ProfilesData) XXX_Merge(src proto.Message)
func (*ProfilesData) XXX_Size ¶
func (m *ProfilesData) XXX_Size() int
func (*ProfilesData) XXX_Unmarshal ¶
func (m *ProfilesData) XXX_Unmarshal(b []byte) error
type ResourceProfiles ¶
type ResourceProfiles struct { // The resource for the profiles in this message. // If this field is not set then no resource info is known. Resource v1.Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource"` // A list of ScopeProfiles that originate from a resource. ScopeProfiles []*ScopeProfiles `protobuf:"bytes,2,rep,name=scope_profiles,json=scopeProfiles,proto3" json:"scope_profiles,omitempty"` // The Schema URL, if known. This is the identifier of the Schema that the resource data // is recorded in. To learn more about Schema URL see // https://opentelemetry.io/docs/specs/otel/schemas/#schema-url // This schema_url applies to the data in the "resource" field. It does not apply // to the data in the "scope_profiles" field which have their own schema_url field. SchemaUrl string `protobuf:"bytes,3,opt,name=schema_url,json=schemaUrl,proto3" json:"schema_url,omitempty"` }
A collection of ScopeProfiles from a Resource.
func (*ResourceProfiles) Descriptor ¶
func (*ResourceProfiles) Descriptor() ([]byte, []int)
func (*ResourceProfiles) GetResource ¶
func (m *ResourceProfiles) GetResource() v1.Resource
func (*ResourceProfiles) GetSchemaUrl ¶
func (m *ResourceProfiles) GetSchemaUrl() string
func (*ResourceProfiles) GetScopeProfiles ¶
func (m *ResourceProfiles) GetScopeProfiles() []*ScopeProfiles
func (*ResourceProfiles) Marshal ¶
func (m *ResourceProfiles) Marshal() (dAtA []byte, err error)
func (*ResourceProfiles) MarshalToSizedBuffer ¶
func (m *ResourceProfiles) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ResourceProfiles) ProtoMessage ¶
func (*ResourceProfiles) ProtoMessage()
func (*ResourceProfiles) Reset ¶
func (m *ResourceProfiles) Reset()
func (*ResourceProfiles) Size ¶
func (m *ResourceProfiles) Size() (n int)
func (*ResourceProfiles) String ¶
func (m *ResourceProfiles) String() string
func (*ResourceProfiles) Unmarshal ¶
func (m *ResourceProfiles) Unmarshal(dAtA []byte) error
func (*ResourceProfiles) XXX_DiscardUnknown ¶
func (m *ResourceProfiles) XXX_DiscardUnknown()
func (*ResourceProfiles) XXX_Marshal ¶
func (m *ResourceProfiles) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResourceProfiles) XXX_Merge ¶
func (m *ResourceProfiles) XXX_Merge(src proto.Message)
func (*ResourceProfiles) XXX_Size ¶
func (m *ResourceProfiles) XXX_Size() int
func (*ResourceProfiles) XXX_Unmarshal ¶
func (m *ResourceProfiles) XXX_Unmarshal(b []byte) error
type Sample ¶
type Sample struct { // locations_start_index along with locations_length refers to to a slice of locations in Profile.location_indices. LocationsStartIndex int32 `protobuf:"varint,1,opt,name=locations_start_index,json=locationsStartIndex,proto3" json:"locations_start_index,omitempty"` // locations_length along with locations_start_index refers to a slice of locations in Profile.location_indices. // Supersedes location_index. LocationsLength int32 `protobuf:"varint,2,opt,name=locations_length,json=locationsLength,proto3" json:"locations_length,omitempty"` // The type and unit of each value is defined by the corresponding // entry in Profile.sample_type. All samples must have the same // number of values, the same as the length of Profile.sample_type. // When aggregating multiple samples into a single sample, the // result has a list of values that is the element-wise sum of the // lists of the originals. Value []int64 `protobuf:"varint,3,rep,packed,name=value,proto3" json:"value,omitempty"` // References to attributes in Profile.attribute_table. [optional] AttributeIndices []int32 `protobuf:"varint,4,rep,packed,name=attribute_indices,json=attributeIndices,proto3" json:"attribute_indices,omitempty"` // Reference to link in Profile.link_table. [optional] // // Types that are valid to be assigned to LinkIndex_: // *Sample_LinkIndex LinkIndex_ isSample_LinkIndex_ `protobuf_oneof:"link_index_"` // Timestamps associated with Sample represented in nanoseconds. These timestamps are expected // to fall within the Profile's time range. [optional] TimestampsUnixNano []uint64 `protobuf:"varint,6,rep,packed,name=timestamps_unix_nano,json=timestampsUnixNano,proto3" json:"timestamps_unix_nano,omitempty"` }
Each Sample records values encountered in some program context. The program context is typically a stack trace, perhaps augmented with auxiliary information like the thread-id, some indicator of a higher level request being handled etc.
func (*Sample) Descriptor ¶
func (*Sample) GetAttributeIndices ¶
func (*Sample) GetLinkIndex ¶
func (*Sample) GetLinkIndex_ ¶
func (m *Sample) GetLinkIndex_() isSample_LinkIndex_
func (*Sample) GetLocationsLength ¶
func (*Sample) GetLocationsStartIndex ¶
func (*Sample) GetTimestampsUnixNano ¶
func (*Sample) MarshalToSizedBuffer ¶
func (*Sample) ProtoMessage ¶
func (*Sample) ProtoMessage()
func (*Sample) XXX_DiscardUnknown ¶
func (m *Sample) XXX_DiscardUnknown()
func (*Sample) XXX_Marshal ¶
func (*Sample) XXX_OneofWrappers ¶
func (*Sample) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Sample) XXX_Unmarshal ¶
type Sample_LinkIndex ¶
type Sample_LinkIndex struct {
LinkIndex int32 `protobuf:"varint,5,opt,name=link_index,json=linkIndex,proto3,oneof" json:"link_index,omitempty"`
}
func (*Sample_LinkIndex) MarshalToSizedBuffer ¶
func (m *Sample_LinkIndex) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Sample_LinkIndex) Size ¶
func (m *Sample_LinkIndex) Size() (n int)
type ScopeProfiles ¶
type ScopeProfiles struct { // The instrumentation scope information for the profiles in this message. // Semantically when InstrumentationScope isn't set, it is equivalent with // an empty instrumentation scope name (unknown). Scope v11.InstrumentationScope `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope"` // A list of Profiles that originate from an instrumentation scope. Profiles []*Profile `protobuf:"bytes,2,rep,name=profiles,proto3" json:"profiles,omitempty"` // The Schema URL, if known. This is the identifier of the Schema that the profile data // is recorded in. To learn more about Schema URL see // https://opentelemetry.io/docs/specs/otel/schemas/#schema-url // This schema_url applies to all profiles in the "profiles" field. SchemaUrl string `protobuf:"bytes,3,opt,name=schema_url,json=schemaUrl,proto3" json:"schema_url,omitempty"` }
A collection of Profiles produced by an InstrumentationScope.
func (*ScopeProfiles) Descriptor ¶
func (*ScopeProfiles) Descriptor() ([]byte, []int)
func (*ScopeProfiles) GetProfiles ¶
func (m *ScopeProfiles) GetProfiles() []*Profile
func (*ScopeProfiles) GetSchemaUrl ¶
func (m *ScopeProfiles) GetSchemaUrl() string
func (*ScopeProfiles) GetScope ¶
func (m *ScopeProfiles) GetScope() v11.InstrumentationScope
func (*ScopeProfiles) Marshal ¶
func (m *ScopeProfiles) Marshal() (dAtA []byte, err error)
func (*ScopeProfiles) MarshalToSizedBuffer ¶
func (m *ScopeProfiles) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ScopeProfiles) ProtoMessage ¶
func (*ScopeProfiles) ProtoMessage()
func (*ScopeProfiles) Reset ¶
func (m *ScopeProfiles) Reset()
func (*ScopeProfiles) Size ¶
func (m *ScopeProfiles) Size() (n int)
func (*ScopeProfiles) String ¶
func (m *ScopeProfiles) String() string
func (*ScopeProfiles) Unmarshal ¶
func (m *ScopeProfiles) Unmarshal(dAtA []byte) error
func (*ScopeProfiles) XXX_DiscardUnknown ¶
func (m *ScopeProfiles) XXX_DiscardUnknown()
func (*ScopeProfiles) XXX_Marshal ¶
func (m *ScopeProfiles) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ScopeProfiles) XXX_Merge ¶
func (m *ScopeProfiles) XXX_Merge(src proto.Message)
func (*ScopeProfiles) XXX_Size ¶
func (m *ScopeProfiles) XXX_Size() int
func (*ScopeProfiles) XXX_Unmarshal ¶
func (m *ScopeProfiles) XXX_Unmarshal(b []byte) error
type ValueType ¶
type ValueType struct { TypeStrindex int32 `protobuf:"varint,1,opt,name=type_strindex,json=typeStrindex,proto3" json:"type_strindex,omitempty"` UnitStrindex int32 `protobuf:"varint,2,opt,name=unit_strindex,json=unitStrindex,proto3" json:"unit_strindex,omitempty"` AggregationTemporality AggregationTemporality `` /* 199-byte string literal not displayed */ }
ValueType describes the type and units of a value, with an optional aggregation temporality.
func (*ValueType) Descriptor ¶
func (*ValueType) GetAggregationTemporality ¶
func (m *ValueType) GetAggregationTemporality() AggregationTemporality
func (*ValueType) GetTypeStrindex ¶
func (*ValueType) GetUnitStrindex ¶
func (*ValueType) MarshalToSizedBuffer ¶
func (*ValueType) ProtoMessage ¶
func (*ValueType) ProtoMessage()
func (*ValueType) XXX_DiscardUnknown ¶
func (m *ValueType) XXX_DiscardUnknown()