Documentation ¶
Index ¶
- Variables
- func ParseJFR(body []byte, pi *storage.PutInput, jfrLabels *LabelsSnapshot) (req *phlaremodel.PushRequest, err error)
- 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 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 RawProfile
- func (p *RawProfile) Bytes() ([]byte, error)
- func (p *RawProfile) ContentType() string
- func (p *RawProfile) Parse(ctx context.Context, putter storage.Putter, _ storage.MetricsExporter, ...) error
- func (p *RawProfile) ParseToPprof(_ context.Context, md ingestion.Metadata) (*distributormodel.PushRequest, error)
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 ¶
func ParseJFR ¶
func ParseJFR(body []byte, pi *storage.PutInput, jfrLabels *LabelsSnapshot) (req *phlaremodel.PushRequest, err error)
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 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 RawProfile ¶
func (*RawProfile) Bytes ¶
func (p *RawProfile) Bytes() ([]byte, error)
func (*RawProfile) ContentType ¶
func (p *RawProfile) ContentType() string
func (*RawProfile) Parse ¶
func (p *RawProfile) Parse(ctx context.Context, putter storage.Putter, _ storage.MetricsExporter, md ingestion.Metadata) error
func (*RawProfile) ParseToPprof ¶ added in v1.1.0
func (p *RawProfile) ParseToPprof(_ context.Context, md ingestion.Metadata) (*distributormodel.PushRequest, error)
Click to show internal directories.
Click to hide internal directories.