Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
func Run(ctx context.Context, input models.Input, testName string, stop <-chan struct{}) (models.Report, error)
Run executes a load test work with the given input, prints the results, indexes a performance report, and returns it along any error.
If the context is cancelled, the worker exits with the context's error. If the stop channel is signalled, the worker exits gracefully with no error.
Types ¶
type Result ¶
type Result struct { apm.TracerStats TransportStats Start time.Time End time.Time Flushed time.Time }
Result holds stats captured from a Go agent plus timing information.
func (Result) ElapsedSeconds ¶
func (Result) EventsGenerated ¶
func (Result) EventsSent ¶
type TransportStats ¶
TransportStats are captured by reading apm-server responses.
Click to show internal directories.
Click to hide internal directories.