Documentation
¶
Overview ¶
Package qan contains business logic of working with QAN and qan-agent on PMM Server node.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) AddMySQL ¶
func (svc *Service) AddMySQL(ctx context.Context, nodeName string, mySQLService *models.MySQLService, qanAgent *models.QanAgent) error
AddMySQL adds MySQL instance to QAN, configuring and enabling it. It sets MySQL instance UUID to qanAgent.QANDBInstanceUUID.
func (*Service) EnsureAgentRuns ¶ added in v1.6.1
EnsureAgentRuns checks qan-agent process status and starts it if it is not configured or down.
Source Files
¶
- qan.go
- url.go
- utils.go
Click to show internal directories.
Click to hide internal directories.