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§
- Goose
Error Metric - For tracking and counting requests made during a load test.
- Goose
Error Metric Aggregate - For tracking and counting errors detected during a load test.
- Goose
Metrics - All metrics optionally collected during a Goose load test.
- Goose
RawRequest - For tracking and logging requests made during a load test.
- Goose
Request Metric - How many milliseconds the load test has been running. For tracking and counting requests made during a load test.
- Goose
Request Metric Aggregate - Metrics collected about a method-path pair, (for example
GET /index
). - Goose
Request Metric Timing Data - Collects per-request timing metrics.
- Scenario
Metric - The per-scenario metrics collected each time a scenario is run.
- Scenario
Metric Aggregate - Aggregated per-scenario metrics updated each time a scenario is run.
- Transaction
Detail - Transaction
Metric - The per-transaction metrics collected each time a transaction is invoked.
- Transaction
Metric Aggregate - Aggregated per-transaction metrics updated each time a transaction is invoked.
Enums§
- Goose
Coordinated Omission Mitigation - THIS IS AN EXPERIMENTAL FEATURE, DISABLED BY DEFAULT. Optionally mitigate the loss of data (coordinated omission) due to stalls on the upstream server.
- Goose
Metric - Used to send metrics from
GooseUser
threads to the parent Goose process.
Type Aliases§
- Goose
Error Metrics - All errors detected during a load test.
- Goose
Request Metrics - All requests made during a load test.
- Scenario
Metrics - All scenarios executed during a load test.
- Transaction
Metrics - All transactions executed during a load test.