Skip to content

Commit 026c956

Browse files
feat; document when http-metric timestamps happen (#1150)
Fixes #1051 Co-authored-by: Mihail Stoykov <[email protected]>
1 parent a889ced commit 026c956

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/data/markdown/translated-guides/en/02 Using k6/02 Metrics.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,14 @@ k6 always collects the following built-in metrics:
9292
9393
These metrics are generated only when the test makes HTTP requests.
9494
95+
<Blockquote mod="note" title="">
96+
97+
For all `http_req_*` metrics, **the timestamp is emitted the end of the request.**
98+
In other words, the timestamp happens when k6 receives the end of the response body, or the request times out.
99+
100+
</Blockquote>
101+
102+
95103
| Metric Name | Type | Description |
96104
|--------------------------|---------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
97105
| http_reqs | Counter | How many total HTTP requests k6 generated. |

0 commit comments

Comments
 (0)