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

Can we add scenarios and name labels to the output #7

Open
kmcrawford opened this issue Sep 28, 2022 · 1 comment
Open

Can we add scenarios and name labels to the output #7

kmcrawford opened this issue Sep 28, 2022 · 1 comment

Comments

@kmcrawford
Copy link

Looking for additional labels to be added.

Example:

k6_http_req_duration{quantile="0.9",method="GET", scenario="test-1", status="200", name="addToCart"}
@zibul444
Copy link

You can use the registration service when starting and stopping tests
https://prometheus.io/docs/prometheus/latest/http_sd/
We did just that, the service gives labels with the name of the test, script, and so on one endpoint per launch of one k6

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

2 participants