jfr

package
v0.0.0-...-196de0d Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0, Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Deprecated: Use Context.ProtoReflect.Descriptor instead.

func (*Context) GetLabels

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

func (*Context) ProtoMessage

func (*Context) ProtoMessage()

func (*Context) ProtoReflect

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

func (*Context) Reset

func (x *Context) Reset()

func (*Context) String

func (x *Context) String() string

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) ProtoMessage

func (*LabelsSnapshot) ProtoMessage()

func (*LabelsSnapshot) ProtoReflect

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

func (*LabelsSnapshot) Reset

func (x *LabelsSnapshot) Reset()

func (*LabelsSnapshot) String

func (x *LabelsSnapshot) String() string

type RawProfile

type RawProfile struct {
	RawData             []byte
	FormDataContentType string
	// contains filtered or unexported fields
}

func NewRawProfile

func NewRawProfile(data []byte, format string) *RawProfile

func (*RawProfile) Parse

func (r *RawProfile) Parse(ctx context.Context, meta *profile.Meta, tags map[string]string) (logs []*protocol.Log, err error)

func (*RawProfile) ParseJFR

func (r *RawProfile) ParseJFR(ctx context.Context, meta *profile.Meta, body io.Reader, jfrLabels *LabelsSnapshot, cb profile.CallbackFunc) (err error)

Jump to

Keyboard shortcuts

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