Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProfileBuilder ¶
type ProfileBuilder struct {
Profile *profile.Profile
Labels labels.Labels
// contains filtered or unexported fields
}
func (*ProfileBuilder) AddSample ¶
func (p *ProfileBuilder) AddSample(stacktrace []string, value uint64)
type ProfileBuilders ¶
type ProfileBuilders struct {
Builders map[uint64]*ProfileBuilder
SampleRate int64
}
func NewProfileBuilders ¶
func NewProfileBuilders(sampleRate int64) *ProfileBuilders
func (ProfileBuilders) BuilderForTarget ¶
func (b ProfileBuilders) BuilderForTarget(hash uint64, labels labels.Labels) *ProfileBuilder
Click to show internal directories.
Click to hide internal directories.