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 int }
func NewProfileBuilders ¶
func NewProfileBuilders(sampleRate int) *ProfileBuilders
func (ProfileBuilders) BuilderForTarget ¶
func (b ProfileBuilders) BuilderForTarget(hash uint64, labels labels.Labels) *ProfileBuilder
Click to show internal directories.
Click to hide internal directories.