Documentation
¶
Index ¶
- func Module() fx.Option
- func RegisterHooks(lc fx.Lifecycle, svc *Service)
- type Service
- func (s *Service) Debugf(format string, args ...interface{})
- func (s *Service) Errorf(format string, args ...interface{})
- func (s *Service) Infof(format string, args ...interface{})
- func (s *Service) IsEnabled() bool
- func (s *Service) TagWrapper(ctx context.Context, labels map[string]string, fn func(context.Context))
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterHooks ¶
RegisterHooks registers lifecycle hooks for Pyroscope
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewPyroscopeService ¶
func NewPyroscopeService(cfg *config.Configuration, logger *logger.Logger) *Service
NewPyroscopeService creates a new Pyroscope service
Click to show internal directories.
Click to hide internal directories.