model

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const RawProfileTypeJFR = RawProfileType("jfr")
View Source
const RawProfileTypePPROF = RawProfileType("pprof")

Variables

This section is empty.

Functions

This section is empty.

Types

type ProfileSample

type ProfileSample struct {
	Profile    *pprof.Profile
	RawProfile []byte // may be nil if the Profile is composed not from pprof ( e.g. jfr)
	ID         string
}

type ProfileSeries

type ProfileSeries struct {
	Labels  []*v1.LabelPair
	Samples []*ProfileSample
}

func (*ProfileSeries) GetLanguage added in v1.2.1

func (p *ProfileSeries) GetLanguage() string

type PushRequest

type PushRequest struct {
	RawProfileSize int
	RawProfileType RawProfileType

	Series []*ProfileSeries

	TotalProfiles          int64
	TotalBytesUncompressed int64
}

type RawProfileType

type RawProfileType string

Jump to

Keyboard shortcuts

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