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) CreateSample ¶ added in v0.4.0
func (p *ProfileBuilder) CreateSample(stacktrace []string, value uint64)
func (*ProfileBuilder) CreateSampleOrAddValue ¶ added in v0.4.0
func (p *ProfileBuilder) CreateSampleOrAddValue(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.