Documentation
¶
Index ¶
- Constants
- type ProfileSeries
- func (req *ProfileSeries) Clone() *ProfileSeries
- func (req *ProfileSeries) GetLanguage() string
- func (req *ProfileSeries) MarkSampledRequest(source *sampling.Source) error
- func (req *ProfileSeries) MarkThrottledTenant(l *ingestlimits.Config) error
- func (req *ProfileSeries) MarkThrottledUsageGroup(l *ingestlimits.Config, usageGroup string) error
- type PushRequest
- type RawProfileType
Constants ¶
View Source
const RawProfileTypeJFR = RawProfileType("jfr")
View Source
const RawProfileTypeOTEL = RawProfileType("otel")
View Source
const RawProfileTypePPROF = RawProfileType("pprof")
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProfileSeries ¶
type ProfileSeries struct {
// Caller provided, modified during processing
Labels []*v1.LabelPair
Profile *pprof.Profile
RawProfile []byte // may be nil if the Profile is composed not from pprof ( e.g. jfr)
ID string
// todo split
// Transient state
TenantID string
Language string
Annotations []*v1.ProfileAnnotation
// always 1 todo delete
TotalProfiles int64
TotalBytesUncompressed int64
DiscardedProfilesRelabeling int64
DiscardedBytesRelabeling int64
}
todo better name
func (*ProfileSeries) Clone ¶ added in v1.15.0
func (req *ProfileSeries) Clone() *ProfileSeries
func (*ProfileSeries) GetLanguage ¶ added in v1.2.1
func (req *ProfileSeries) GetLanguage() string
func (*ProfileSeries) MarkSampledRequest ¶ added in v1.15.0
func (req *ProfileSeries) MarkSampledRequest(source *sampling.Source) error
func (*ProfileSeries) MarkThrottledTenant ¶ added in v1.15.0
func (req *ProfileSeries) MarkThrottledTenant(l *ingestlimits.Config) error
func (*ProfileSeries) MarkThrottledUsageGroup ¶ added in v1.15.0
func (req *ProfileSeries) MarkThrottledUsageGroup(l *ingestlimits.Config, usageGroup string) error
type PushRequest ¶
type PushRequest struct {
Series []*ProfileSeries
ReceivedCompressedProfileSize int
RawProfileType RawProfileType
}
type RawProfileType ¶
type RawProfileType string
Click to show internal directories.
Click to hide internal directories.