Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProfilerName ¶ added in v0.20.0
Types ¶
type Cache ¶ added in v0.20.0
type Cache[K comparable, V any] interface { Add(key K, value V) Get(key K) (V, bool) Peek(key K) (V, bool) Purge() }
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager is responsible for aggregating, mutating, and serving process labels.
func NewManager ¶
func NewManager( logger log.Logger, tracer trace.Tracer, reg prometheus.Registerer, providers []metadata.Provider, relabelConfigs []*relabel.Config, cacheDisabled bool, profilingDuration time.Duration, ) *Manager
New returns an initialized Manager.
func (*Manager) ApplyConfig ¶
ApplyConfig updates the Manager's config.
func (*Manager) Fetch ¶ added in v0.20.0
Fetch fetches process specific labels to the profile. This method is intended to be used by process info manager to fetch certain labels as early as possible. It bypasses relabeling and top-level caching.
Click to show internal directories.
Click to hide internal directories.