Documentation ¶
Index ¶
- Variables
- type Context
- func (*Context) Descriptor() ([]byte, []int)deprecated
- func (x *Context) GetLabels() map[int64]int64
- func (m *Context) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Context) MarshalToVT(dAtA []byte) (int, error)
- func (m *Context) MarshalVT() (dAtA []byte, err error)
- func (*Context) ProtoMessage()
- func (x *Context) ProtoReflect() protoreflect.Message
- func (x *Context) Reset()
- func (m *Context) SizeVT() (n int)
- func (x *Context) String() string
- func (m *Context) UnmarshalVT(dAtA []byte) error
- type ExternalFunctionID
- type ExternalLocationID
- type Labels
- type LabelsSnapshot
- func (*LabelsSnapshot) Descriptor() ([]byte, []int)deprecated
- func (x *LabelsSnapshot) GetContexts() map[int64]*Context
- func (x *LabelsSnapshot) GetStrings() map[int64]string
- func (m *LabelsSnapshot) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LabelsSnapshot) MarshalToVT(dAtA []byte) (int, error)
- func (m *LabelsSnapshot) MarshalVT() (dAtA []byte, err error)
- func (*LabelsSnapshot) ProtoMessage()
- func (x *LabelsSnapshot) ProtoReflect() protoreflect.Message
- func (x *LabelsSnapshot) Reset()
- func (m *LabelsSnapshot) SizeVT() (n int)
- func (x *LabelsSnapshot) String() string
- func (m *LabelsSnapshot) UnmarshalVT(dAtA []byte) error
- type PPROFFunctionID
- type PPROFLocationID
- type ParseInput
- type Profile
- type ProfileBuilder
- func (m *ProfileBuilder) AddExternalFunction(frame string, id ExternalFunctionID) PPROFFunctionID
- func (m *ProfileBuilder) AddExternalLocation(id ExternalLocationID, pprofFunctionID PPROFFunctionID) PPROFLocationID
- func (m *ProfileBuilder) AddExternalSample(locs []uint64, values []int64, externalSampleID uint32)
- func (m *ProfileBuilder) AddExternalSampleWithLabels(locs []uint64, values []int64, labelsCtx *Context, ...)
- func (m *ProfileBuilder) AddSampleType(typ, unit string)
- func (m *ProfileBuilder) FindExternalSample(externalSampleID uint32) *profilev1.Sample
- func (m *ProfileBuilder) FindExternalSampleWithLabels(locationsID, labelsID uint64) *profilev1.Sample
- func (m *ProfileBuilder) FindFunctionByExternalID(externalFunctionID ExternalFunctionID) (PPROFFunctionID, bool)
- func (m *ProfileBuilder) FindLocationByExternalID(externalLocationID ExternalLocationID) (PPROFLocationID, bool)
- func (m *ProfileBuilder) MetricName(name string)
- func (m *ProfileBuilder) PeriodType(periodType string, periodUnit string)
- type Profiles
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") )
View Source
var File_og_convert_jfr_jfr_labels_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { Labels map[int64]int64 `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Context) Descriptor
deprecated
func (*Context) MarshalToSizedBufferVT ¶
func (*Context) ProtoMessage ¶
func (*Context) ProtoMessage()
func (*Context) ProtoReflect ¶
func (x *Context) ProtoReflect() protoreflect.Message
func (*Context) UnmarshalVT ¶
type ExternalFunctionID ¶
type ExternalFunctionID uint32
type ExternalLocationID ¶
type ExternalLocationID struct { ExternalFunctionID ExternalFunctionID Line uint32 }
type LabelsSnapshot ¶
type LabelsSnapshot struct { Contexts map[int64]*Context `` /* 158-byte string literal not displayed */ Strings map[int64]string `` /* 156-byte string literal not displayed */ // contains filtered or unexported fields }
func (*LabelsSnapshot) Descriptor
deprecated
func (*LabelsSnapshot) Descriptor() ([]byte, []int)
Deprecated: Use LabelsSnapshot.ProtoReflect.Descriptor instead.
func (*LabelsSnapshot) GetContexts ¶
func (x *LabelsSnapshot) GetContexts() map[int64]*Context
func (*LabelsSnapshot) GetStrings ¶
func (x *LabelsSnapshot) GetStrings() map[int64]string
func (*LabelsSnapshot) MarshalToSizedBufferVT ¶
func (m *LabelsSnapshot) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LabelsSnapshot) MarshalToVT ¶
func (m *LabelsSnapshot) MarshalToVT(dAtA []byte) (int, error)
func (*LabelsSnapshot) MarshalVT ¶
func (m *LabelsSnapshot) MarshalVT() (dAtA []byte, err error)
func (*LabelsSnapshot) ProtoMessage ¶
func (*LabelsSnapshot) ProtoMessage()
func (*LabelsSnapshot) ProtoReflect ¶
func (x *LabelsSnapshot) ProtoReflect() protoreflect.Message
func (*LabelsSnapshot) Reset ¶
func (x *LabelsSnapshot) Reset()
func (*LabelsSnapshot) SizeVT ¶
func (m *LabelsSnapshot) SizeVT() (n int)
func (*LabelsSnapshot) String ¶
func (x *LabelsSnapshot) String() string
func (*LabelsSnapshot) UnmarshalVT ¶
func (m *LabelsSnapshot) UnmarshalVT(dAtA []byte) error
type PPROFFunctionID ¶
type PPROFFunctionID uint64
type PPROFLocationID ¶
type PPROFLocationID uint64
type ProfileBuilder ¶
func NewProfileBuilderWithLabels ¶
func NewProfileBuilderWithLabels(ts int64) *ProfileBuilder
NewProfileBuilderWithLabels creates a new ProfileBuilder with the given nanoseconds timestamp and labels.
func (*ProfileBuilder) AddExternalFunction ¶
func (m *ProfileBuilder) AddExternalFunction(frame string, id ExternalFunctionID) PPROFFunctionID
func (*ProfileBuilder) AddExternalLocation ¶
func (m *ProfileBuilder) AddExternalLocation(id ExternalLocationID, pprofFunctionID PPROFFunctionID) PPROFLocationID
func (*ProfileBuilder) AddExternalSample ¶
func (m *ProfileBuilder) AddExternalSample(locs []uint64, values []int64, externalSampleID uint32)
func (*ProfileBuilder) AddExternalSampleWithLabels ¶
func (m *ProfileBuilder) AddExternalSampleWithLabels(locs []uint64, values []int64, labelsCtx *Context, labelsSnapshot *LabelsSnapshot, locationsID, labelsID uint64)
func (*ProfileBuilder) AddSampleType ¶
func (m *ProfileBuilder) AddSampleType(typ, unit string)
func (*ProfileBuilder) FindExternalSample ¶
func (m *ProfileBuilder) FindExternalSample(externalSampleID uint32) *profilev1.Sample
func (*ProfileBuilder) FindExternalSampleWithLabels ¶
func (m *ProfileBuilder) FindExternalSampleWithLabels(locationsID, labelsID uint64) *profilev1.Sample
func (*ProfileBuilder) FindFunctionByExternalID ¶
func (m *ProfileBuilder) FindFunctionByExternalID(externalFunctionID ExternalFunctionID) (PPROFFunctionID, bool)
func (*ProfileBuilder) FindLocationByExternalID ¶
func (m *ProfileBuilder) FindLocationByExternalID(externalLocationID ExternalLocationID) (PPROFLocationID, bool)
func (*ProfileBuilder) MetricName ¶
func (m *ProfileBuilder) MetricName(name string)
func (*ProfileBuilder) PeriodType ¶
func (m *ProfileBuilder) PeriodType(periodType string, periodUnit string)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.