Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP metrics enhancements #1424

Open
ppcano opened this issue Nov 22, 2023 · 0 comments
Open

HTTP metrics enhancements #1424

ppcano opened this issue Nov 22, 2023 · 0 comments

Comments

@ppcano
Copy link
Collaborator

ppcano commented Nov 22, 2023

https://grafana.com/docs/k6/latest/using-k6/metrics/reference/#http

http_req_duration, the primary metric, is equal to sending+waiting+receiving times(metrics) and excludes connection times.

We could enhance the docs in this area. Excluding connection times might not be the expected behaviour, and the current documentation briefly explains this.

Some suggestions:

(1) add a diagram showing the order of the various HTTP metrics and where http_req_duration lands.

(2) refer http_req_duration as Response time like the Cloud App does. Typically, Request duration refers to the time the server takes to process the request, and Response time to the total round-trip.

(3) By default, k6 reuses TCP connections due to the default values of noVUConnectionReuse and noConnectionReuse. Each VU connects once and then reuses the connection during the entire test, so connection times are often close to 0. We should explain this in more detail as the default behaviour might not be expected.

Here is an issue providing further details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant