Documentation ¶
Index ¶
- Constants
- type Config
- type Manager
- type Module
- func (m *Module) Config() module.ConfigInterface
- func (m *Module) Name() string
- func (m *Module) NotifyStartSuccess()
- func (m *Module) RequiredModules() []string
- func (m *Module) Shutdown(ctx context.Context, mgr *module.Manager) error
- func (m *Module) Start(ctx context.Context, mgr *module.Manager) error
Constants ¶
View Source
const ModuleName = "profiling"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { module.Config `mapstructure:",squash"` CheckInterval string `mapstructure:"check_interval"` // Check the profiling task interval FlushInterval string `mapstructure:"flush_interval"` // Flush profiling data interval TaskConfig *taskBase.TaskConfig `mapstructure:"task"` // Profiling task config ContinuousConfig *continuousBase.ContinuousConfig `mapstructure:"continuous"` // Continuous profiling config }
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager the profiling task, receive them from the backend side
func NewManager ¶
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
func (*Module) Config ¶
func (m *Module) Config() module.ConfigInterface
func (*Module) NotifyStartSuccess ¶
func (m *Module) NotifyStartSuccess()
func (*Module) RequiredModules ¶
Click to show internal directories.
Click to hide internal directories.