Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Group ¶
type Group struct {
// Targets is a list of targets identified by a label set. Each target is
// uniquely identifiable in the group by its address label.
Targets []model.LabelSet
// Labels is a set of labels that is common across all targets in the group.
Labels model.LabelSet
// Source is an identifier that describes a group of targets.
Source string
}
Group is a set of targets with a common label set(production , test, staging etc.).
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func NewManager( logger log.Logger, reg prometheus.Registerer, writeClient profilestorepb.ProfileStoreServiceClient, debugInfoClient debuginfo.Client, profilingDuration time.Duration, externalLabels model.LabelSet, samplingRatio float64, ) *Manager
func (*Manager) ActiveProfilers ¶
type ProfilerPool ¶
type ProfilerPool struct {
// contains filtered or unexported fields
}
func NewProfilerPool ¶
func NewProfilerPool( logger log.Logger, reg prometheus.Registerer, ksymCache *ksym.Cache, objCache objectfile.Cache, writeClient profilestorepb.ProfileStoreServiceClient, debugInfoClient debuginfo.Client, profilingDuration time.Duration, externalLabels model.LabelSet, samplingRatio float64, ) *ProfilerPool
func (*ProfilerPool) Profilers ¶
func (pp *ProfilerPool) Profilers() []Profiler
Click to show internal directories.
Click to hide internal directories.