We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is it possible to add an instance label to each metric? Prometheus fails to record metrics correctly when multiple k6 write to a single Prometheus.
The text was updated successfully, but these errors were encountered:
Hi @yjuba, can you clarify how you run your multiple k6 instances? Are you running the k6-operator or just k6 in parallel across several machines?
Anyway, you should be able to do it defining a test-wide tag https://k6.io/docs/using-k6/tags-and-groups/#test-wide-tags
Sorry, something went wrong.
Hi @codebien
Are you running the k6-operator or just k6 in parallel across several machines?
I running k6 in parallel across several machines. I am not using the k6-operator.
I was able to add an instance label by executing the following command.
k6 run --tag 'instance=192.0.2.100:6565' -o xk6-prometheus-rw script.js
Thank you for your prompt and accurate reply.
No branches or pull requests
Is it possible to add an instance label to each metric?
Prometheus fails to record metrics correctly when multiple k6 write to a single Prometheus.
The text was updated successfully, but these errors were encountered: