Module swanling::metrics[][src]

Expand description

Optional metrics collected and aggregated during load tests.

By default, Swanling collects a large number of metrics while performing a load test. When SwanlingAttack::execute() completes it returns a SwanlingMetrics object.

When the SwanlingMetrics object is viewed with std::fmt::Display, the contained SwanlingTaskMetrics, SwanlingRequestMetrics, and SwanlingErrorMetrics are displayed in tables.

Structs

For tracking and counting requests made during a load test.

For tracking and counting errors detected during a load test.

All metrics optionally collected during a Swanling load test.

For tracking and counting requests made during a load test.

Metrics collected about a method-path pair, (for example GET /index).

Collects per-request timing metrics.

The per-task metrics collected each time a task is invoked.

Aggregated per-task metrics updated each time a task is invoked.

Enums

THIS IS IN EXPERIMENTAL FEATURE, DISABLED BY DEFAULT. Optionally mitigate the loss of data (coordinated omission) due to stalls on the upstream server.

Used to send metrics from SwanlingUser threads to the parent Swanling process.

Type Definitions

All errors detected during a load test.

All requests made during a load test.

All tasks executed during a load test.