jfr

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2023 License: AGPL-3.0 Imports: 27 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Context.ProtoReflect.Descriptor instead.

func (*Context) GetLabels

func (x *Context) GetLabels() map[int64]int64

func (*Context) MarshalToSizedBufferVT

func (m *Context) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Context) MarshalToVT

func (m *Context) MarshalToVT(dAtA []byte) (int, error)

func (*Context) MarshalVT

func (m *Context) MarshalVT() (dAtA []byte, err error)

func (*Context) ProtoMessage

func (*Context) ProtoMessage()

func (*Context) ProtoReflect

func (x *Context) ProtoReflect() protoreflect.Message

func (*Context) Reset

func (x *Context) Reset()

func (*Context) SizeVT

func (m *Context) SizeVT() (n int)

func (*Context) String

func (x *Context) String() string

func (*Context) UnmarshalVT

func (m *Context) UnmarshalVT(dAtA []byte) error

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

type RawProfile struct {
	FormDataContentType string
	RawData             []byte
}

func (*RawProfile) Bytes

func (p *RawProfile) Bytes() ([]byte, error)

func (*RawProfile) ContentType

func (p *RawProfile) ContentType() string

func (*RawProfile) Parse

func (*RawProfile) ParseToPprof added in v1.1.0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL