Module goose::metrics [−][src]
Optionally collects and aggregates metrics during a load test.
By default, Goose collects a large number of metrics while performing a load test. The metrics collected and the display of these metrics are defined in this file.
Structs
GooseMetrics | Metrics collected during a Goose load test. |
GooseRawTask | The per-task metrics collected each time a task is invoked. |
GooseTaskMetric | Aggregated per-task metrics updated each time a task is invoked. |
Enums
GooseMetric | Each GooseUser thread pushes these metrics to the parent for aggregation. |
Functions
calculate_response_time_percentile | Get the response time that a certain number of percent of the requests finished within. |
format_number | Format large number in locale appropriate style. |
merge_times | A helper function that merges together times. |
per_second_calculations | Helper to calculate requests and fails per seconds. |
prepare_status_codes | Helper to count and aggregate seen status codes. |
update_max_time | A helper function to update the global maximum time based on local time. |
update_min_time | A helper function to update the global minimum time based on local time. |
Type Definitions
GooseRequestMetrics | Goose optionally tracks metrics about requests made during a load test. |
GooseTaskMetrics | Goose optionally tracks metrics about tasks run during a load test. |