Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // ClusterConfig defines the load-test agent cluster configuration. ClusterConfig cluster.LoadAgentClusterConfig // MonitorConfig holds the performance monitor configuration. MonitorConfig performance.MonitorConfig // The number of active users to increment at each iteration of the feedback loop. // It should be proportional to the maximum number of users expected to test. NumUsersInc int // The number of users to decrement at each iteration of the feedback loop. // It should be proportional to the maximum number of users expected to test. NumUsersDec int // The number of seconds to wait after a performance degradation alert before // incrementing or decrementing users again. RestTimeSec int LogSettings logger.Settings }
Config holds the necessary information to drive a cluster of load-test agents performing a load-test on a target instance.
func ReadConfig ¶
type Coordinator ¶
type Coordinator struct {
// contains filtered or unexported fields
}
Coordinator is the object used to coordinate a cluster of load-test agents.
func New ¶
func New(config *Config) (*Coordinator, error)
New creates and initializes a new Coordinator for the given config. An error is returned if the initialization fails.
func (*Coordinator) Run ¶
func (c *Coordinator) Run() error
Run starts a cluster of load-test agents.
Click to show internal directories.
Click to hide internal directories.