Versions in this module Expand all Collapse all v2 v2.0.4 Jun 16, 2026 Changes in this version + const Name + var Labels = pyroscope.Labels + func TagWrapper(ctx context.Context, labels LabelSet, cb func(context.Context)) + type Client struct + func New(p Param) *Client + func (c *Client) Enabled() bool + func (c *Client) Flush(wait bool) + func (c *Client) Profiler() *pyroscope.Profiler + type Config struct + ApplicationName string + BasicAuthPassword string + BasicAuthUser string + DisableGCRuns bool + DisableLog bool + Enabled bool + ProfileTypes []string + ServerAddress string + Tags map[string]string + TenantID string + UploadRate time.Duration + func DefaultConfig() *Config + type LabelSet = pyroscope.LabelSet + type Param struct + Cfg *Config + Lc lifecycle.Lifecycle + Logger log.Logger