Module metrics

Source
Expand description

Optional metrics collected and aggregated during load tests.

By default, Goose collects a large number of metrics while performing a load test. When GooseAttack::execute() completes it returns a GooseMetrics object.

When the GooseMetrics object is viewed with std::fmt::Display, the contained TransactionMetrics, GooseRequestMetrics, and GooseErrorMetrics are displayed in tables.

Structs§

GooseErrorMetric
For tracking and counting requests made during a load test.
GooseErrorMetricAggregate
For tracking and counting errors detected during a load test.
GooseMetrics
All metrics optionally collected during a Goose load test.
GooseRawRequest
For tracking and logging requests made during a load test.
GooseRequestMetric
How many milliseconds the load test has been running. For tracking and counting requests made during a load test.
GooseRequestMetricAggregate
Metrics collected about a method-path pair, (for example GET /index).
GooseRequestMetricTimingData
Collects per-request timing metrics.
ScenarioMetric
The per-scenario metrics collected each time a scenario is run.
ScenarioMetricAggregate
Aggregated per-scenario metrics updated each time a scenario is run.
TransactionDetail
TransactionMetric
The per-transaction metrics collected each time a transaction is invoked.
TransactionMetricAggregate
Aggregated per-transaction metrics updated each time a transaction is invoked.

Enums§

GooseCoordinatedOmissionMitigation
THIS IS AN EXPERIMENTAL FEATURE, DISABLED BY DEFAULT. Optionally mitigate the loss of data (coordinated omission) due to stalls on the upstream server.
GooseMetric
Used to send metrics from GooseUser threads to the parent Goose process.

Type Aliases§

GooseErrorMetrics
All errors detected during a load test.
GooseRequestMetrics
All requests made during a load test.
ScenarioMetrics
All scenarios executed during a load test.
TransactionMetrics
All transactions executed during a load test.